Merge pull request #5679 from mempool/nymkappa/cherry-pick-lol

update unfurler and build config
This commit is contained in:
wiz 2024-12-10 13:18:03 +09:00 committed by GitHub
commit f57eb047f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 40 additions and 3 deletions

View File

@ -131,8 +131,8 @@ export NVM_DIR="${HOME}/.nvm"
source "${NVM_DIR}/nvm.sh" source "${NVM_DIR}/nvm.sh"
# what to look for # what to look for
frontends=(mainnet liquid onbtc meta) frontends=(mainnet liquid onbtc bitb meta)
backends=(mainnet testnet testnet4 signet liquid liquidtestnet onbtc) backends=(mainnet testnet testnet4 signet liquid liquidtestnet onbtc bitb)
frontend_repos=() frontend_repos=()
backend_repos=() backend_repos=()

View File

@ -15,7 +15,7 @@ screen -dmS x startx
sleep 3 sleep 3
# start unfurlers for each frontend # start unfurlers for each frontend
for site in mainnet liquid onbtc meta;do for site in mainnet liquid onbtc bitb meta;do
cd "$HOME/${site}/unfurler" && \ cd "$HOME/${site}/unfurler" && \
echo "starting mempool unfurler: ${site}" && \ echo "starting mempool unfurler: ${site}" && \
screen -dmS "unfurler-${site}" sh -c 'while true;do npm run unfurler;sleep 2;done' screen -dmS "unfurler-${site}" sh -c 'while true;do npm run unfurler;sleep 2;done'

View File

@ -0,0 +1,17 @@
{
"SERVER": {
"HOST": "https://bitb.tk7.mempool.space",
"HTTP_PORT": 8006
},
"MEMPOOL": {
"HTTP_HOST": "http://127.0.0.1",
"HTTP_PORT": 86,
"NETWORK": "bitb"
},
"PUPPETEER": {
"CLUSTER_SIZE": 8,
"EXEC_PATH": "/usr/local/bin/chrome",
"MAX_PAGE_AGE": 86400,
"RENDER_TIMEOUT": 3000
}
}

View File

@ -282,6 +282,26 @@ export const networks = {
} }
} }
}, },
bitb: {
title: 'BITB | Bitwise Bitcoin ETF',
description: 'BITB provides low-cost access to bitcoin through a professionally managed fund',
fallbackImg: '/resources/bitb/bitb-preview.jpg',
routes: { // only dynamic routes supported
block: routes.block,
address: routes.address,
tx: routes.tx,
mining: {
title: "Mining",
routes: {
pool: routes.mining.routes.pool,
}
},
lightning: {
title: "Lightning",
routes: routes.lightning.routes,
}
}
},
meta: { meta: {
title: 'Metaplanet Inc.', title: 'Metaplanet Inc.',
description: 'Secure the Future with Bitcoin', description: 'Secure the Future with Bitcoin',