update custom dashboard configs
42
frontend/custom-strategy-config.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
45
frontend/src/index.mempool.strategy.html
Normal 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>
|
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 56 KiB |
BIN
frontend/src/resources/strategy/favicons/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
frontend/src/resources/strategy/favicons/favicon-16x16.png
Normal file
After Width: | Height: | Size: 678 B |
BIN
frontend/src/resources/strategy/favicons/favicon-32x32.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
frontend/src/resources/strategy/favicons/favicon.ico
Normal file
After Width: | Height: | Size: 15 KiB |
@@ -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/strategy/strategy-preview.png
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
frontend/src/resources/strategylogo.png
Normal file
After Width: | Height: | Size: 7.3 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)
|
||||
frontends=(mainnet liquid onbtc bitb meta river strategy)
|
||||
backends=(mainnet testnet testnet4 signet liquid liquidtestnet onbtc bitb)
|
||||
frontend_repos=()
|
||||
backend_repos=()
|
||||
|
19
production/mempool-frontend-config.strategy.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-strategy-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;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'
|
||||
|
17
production/unfurler-config.strategy.json
Normal 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
|
||||
}
|
||||
}
|
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|