more dashboards
48
frontend/custom-xxi-config.json
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"theme": "wiz",
|
||||
"enterprise": "xxi",
|
||||
"branding": {
|
||||
"name": "xxi",
|
||||
"title": "Twenty One",
|
||||
"site_id": 23,
|
||||
"header_img": "/resources/xxi/xxilogo.png",
|
||||
"footer_img": "/resources/xxi/xxilogo.png"
|
||||
},
|
||||
"dashboard": {
|
||||
"widgets": [
|
||||
{
|
||||
"component": "fees",
|
||||
"mobileOrder": 4
|
||||
},
|
||||
{
|
||||
"component": "walletBalance",
|
||||
"mobileOrder": 1,
|
||||
"props": {
|
||||
"wallet": "xxi"
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": "goggles",
|
||||
"mobileOrder": 5
|
||||
},
|
||||
{
|
||||
"component": "wallet",
|
||||
"mobileOrder": 2,
|
||||
"props": {
|
||||
"wallet": "xxi",
|
||||
"period": "all"
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": "blocks"
|
||||
},
|
||||
{
|
||||
"component": "walletTransactions",
|
||||
"mobileOrder": 3,
|
||||
"props": {
|
||||
"wallet": "xxi"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
45
frontend/src/index.mempool.xxi.html
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Twenty One</title>
|
||||
<script src="/resources/config.js"></script>
|
||||
<script src="/resources/customize.js"></script>
|
||||
<base href="/">
|
||||
|
||||
<meta name="description" content="The Institutional Standard for Bitcoin" />
|
||||
<meta property="og:image" content="https://mempool.space/resources/xxi/xxi-preview.png" />
|
||||
<meta property="og:image:type" content="image/jpeg" />
|
||||
<meta property="og:image:width" content="2000" />
|
||||
<meta property="og:image:height" content="1000" />
|
||||
<meta property="og:description" content="The Institutional Standard for Bitcoin" />
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@mempool">
|
||||
<meta name="twitter:creator" content="@mempool">
|
||||
<meta name="twitter:title" content="Twenty One">
|
||||
<meta name="twitter:description" content="The Institutional Standard for Bitcoin" />
|
||||
<meta name="twitter:image" content="https://mempool.space/resources/xxi/xxi-preview.png" />
|
||||
<meta name="twitter:domain" content="xxi.mempool.space">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/resources/xxi/favicons/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/resources/xxi/favicons/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/resources/xxi/favicons/favicon-16x16.png">
|
||||
<link rel="manifest" href="/resources/xxi/favicons/site.webmanifest">
|
||||
<link rel="shortcut icon" href="/resources/xxi/favicons/favicon.ico">
|
||||
<link id="canonical" rel="canonical" href="https://xxi.mempool.space">
|
||||
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="msapplication-TileColor" content="#000000">
|
||||
<meta name="msapplication-config" content="/resources/favicons/browserconfig.xml">
|
||||
<meta name="theme-color" content="#1d1f31">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
BIN
frontend/src/resources/xxi/favicons/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
frontend/src/resources/xxi/favicons/android-chrome-512x512.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
frontend/src/resources/xxi/favicons/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
frontend/src/resources/xxi/favicons/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 222 B |
BIN
frontend/src/resources/xxi/favicons/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 382 B |
BIN
frontend/src/resources/xxi/favicons/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
1
frontend/src/resources/xxi/favicons/site.webmanifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
|
||||
BIN
frontend/src/resources/xxi/xxi-preview.jpg
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
frontend/src/resources/xxi/xxilogo.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
|
@ -131,7 +131,7 @@ export NVM_DIR="${HOME}/.nvm"
|
|||
source "${NVM_DIR}/nvm.sh"
|
||||
|
||||
# what to look for
|
||||
frontends=(mainnet liquid onbtc bitb meta river strategy)
|
||||
frontends=(mainnet liquid onbtc bitb meta river strategy xxi)
|
||||
backends=(mainnet testnet testnet4 signet liquid liquidtestnet onbtc bitb)
|
||||
frontend_repos=()
|
||||
backend_repos=()
|
||||
|
|
|
|||
19
production/mempool-frontend-config.xxi.json
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"OFFICIAL_MEMPOOL_SPACE": true,
|
||||
"TESTNET_ENABLED": true,
|
||||
"TESTNET4_ENABLED": true,
|
||||
"LIQUID_ENABLED": true,
|
||||
"LIQUID_TESTNET_ENABLED": true,
|
||||
"BISQ_ENABLED": true,
|
||||
"BISQ_SEPARATE_BACKEND": true,
|
||||
"SIGNET_ENABLED": true,
|
||||
"MEMPOOL_WEBSITE_URL": "https://mempool.space",
|
||||
"LIQUID_WEBSITE_URL": "https://liquid.network",
|
||||
"BISQ_WEBSITE_URL": "https://bisq.markets",
|
||||
"ITEMS_PER_PAGE": 25,
|
||||
"LIGHTNING": true,
|
||||
"ACCELERATOR": true,
|
||||
"PUBLIC_ACCELERATIONS": true,
|
||||
"AUDIT": true,
|
||||
"CUSTOMIZATION": "custom-xxi-config.json"
|
||||
}
|
||||
|
|
@ -16,7 +16,7 @@ screen -dmS x startx
|
|||
sleep 3
|
||||
|
||||
# start unfurlers for each frontend
|
||||
for site in mainnet liquid onbtc bitb meta river strategy;do
|
||||
for site in mainnet liquid onbtc bitb meta river strategy xxi;do
|
||||
cd "$HOME/${site}/unfurler" && \
|
||||
echo "starting mempool unfurler: ${site}" && \
|
||||
screen -dmS "unfurler-${site}" sh -c 'while true;do npm run unfurler;sleep 2;done'
|
||||
|
|
|
|||
17
production/unfurler-config.xxi.json
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"SERVER": {
|
||||
"HOST": "https://xxi.tk7.mempool.space",
|
||||
"HTTP_PORT": 8009
|
||||
},
|
||||
"MEMPOOL": {
|
||||
"HTTP_HOST": "http://127.0.0.1",
|
||||
"HTTP_PORT": 89,
|
||||
"NETWORK": "xxi"
|
||||
},
|
||||
"PUPPETEER": {
|
||||
"CLUSTER_SIZE": 2,
|
||||
"EXEC_PATH": "/usr/local/bin/chrome",
|
||||
"MAX_PAGE_AGE": 86400,
|
||||
"RENDER_TIMEOUT": 3000
|
||||
}
|
||||
}
|
||||
|
|
@ -377,6 +377,28 @@ export const networks = {
|
|||
routes: routes.lightning.routes,
|
||||
}
|
||||
}
|
||||
},
|
||||
xxi: {
|
||||
networkName: 'XXI',
|
||||
title: 'Twenty One | The Institutional Standard for Bitcoin',
|
||||
description: 'The Institutional Standard for Bitcoin',
|
||||
fallbackImg: '/resources/xxi/xxi-preview.png',
|
||||
routes: { // only dynamic routes supported
|
||||
block: routes.block,
|
||||
address: routes.address,
|
||||
wallet: routes.wallet,
|
||||
tx: routes.tx,
|
||||
mining: {
|
||||
title: "Mining",
|
||||
routes: {
|
||||
pool: routes.mining.routes.pool,
|
||||
}
|
||||
},
|
||||
lightning: {
|
||||
title: "Lightning",
|
||||
routes: routes.lightning.routes,
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||