more dashboards

This commit is contained in:
Mononaut 2025-06-12 00:34:12 +00:00
parent 721a647564
commit a7156b24b2
No known key found for this signature in database
GPG key ID: A3F058E41374C04E
16 changed files with 154 additions and 2 deletions

View 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"
}
}
]
}
}

View 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View 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"}

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -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=()

View 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"
}

View file

@ -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'

View 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
}
}

View file

@ -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,
}
}
}
};