update custom dashboard configs

This commit is contained in:
Mononaut
2025-04-29 14:05:09 +00:00
parent e9bb9c3755
commit 69f9aa6b34
16 changed files with 148 additions and 2 deletions

View File

@@ -0,0 +1,42 @@
{
"theme": "wiz",
"enterprise": "strategy",
"branding": {
"name": "strategy",
"title": "strategy",
"site_id": 22,
"header_img": "/resources/strategylogo.svg",
"footer_img": "/resources/strategylogo.svg"
},
"dashboard": {
"widgets": [
{
"component": "fees",
"mobileOrder": 1
},
{
"component": "difficulty",
"mobileOrder": 4
},
{
"component": "twitter",
"mobileOrder": 2,
"props": {
"handle": "MicroStrategy"
}
},
{
"component": "goggles",
"mobileOrder": 3
},
{
"component": "blocks",
"mobileOrder": 5
},
{
"component": "transactions",
"mobileOrder": 6
}
]
}
}

View File

@@ -0,0 +1,45 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Strategy | The world's first and largest Bitcoin Treasury Company</title>
<script src="/resources/config.js"></script>
<script src="/resources/customize.js"></script>
<base href="/">
<meta name="description" content="The world's first and largest Bitcoin Treasury Company" />
<meta property="og:image" content="https://mempool.space/resources/strategy/strategy-preview.jpg" />
<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 world's first and largest Bitcoin Treasury Company" />
<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="Strategy | The world's first and largest Bitcoin Treasury Company">
<meta name="twitter:description" content="The world's first and largest Bitcoin Treasury Company" />
<meta name="twitter:image" content="https://mempool.space/resources/strategy/strategy-preview.jpg" />
<meta name="twitter:domain" content="strategy.mempool.space">
<link rel="apple-touch-icon" sizes="180x180" href="/resources/strategy/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/resources/strategy/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/resources/strategy/favicons/favicon-16x16.png">
<link rel="manifest" href="/resources/strategy/favicons/site.webmanifest">
<link rel="shortcut icon" href="/resources/strategy/favicons/favicon.ico">
<link id="canonical" rel="canonical" href="https://strategy.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: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 678 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 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)
frontends=(mainnet liquid onbtc bitb meta river strategy)
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-strategy-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;do
for site in mainnet liquid onbtc bitb meta river strategy;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://strategy.tk7.mempool.space",
"HTTP_PORT": 8008
},
"MEMPOOL": {
"HTTP_HOST": "http://127.0.0.1",
"HTTP_PORT": 88,
"NETWORK": "strategy"
},
"PUPPETEER": {
"CLUSTER_SIZE": 8,
"EXEC_PATH": "/usr/local/bin/chrome",
"MAX_PAGE_AGE": 86400,
"RENDER_TIMEOUT": 3000
}
}

View File

@@ -355,6 +355,28 @@ export const networks = {
routes: routes.lightning.routes,
}
}
},
strategy: {
networkName: 'Strategy',
title: 'Strategy | The world\'s first and largest Bitcoin Treasury Company',
description: 'The world\'s first and largest Bitcoin Treasury Company',
fallbackImg: '/resources/strategy/strategy-preview.jpg',
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,
}
}
}
};