From 79e2883ebe5ff02e7f1cf759ef3fb56e640bdb21 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Fri, 26 Jul 2024 14:14:00 +0000 Subject: [PATCH] update unfurler and build config --- production/mempool-build-all | 4 ++-- production/mempool-start-all | 2 +- unfurler/src/routes.ts | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/production/mempool-build-all b/production/mempool-build-all index 601f15b9a..9bc11255b 100755 --- a/production/mempool-build-all +++ b/production/mempool-build-all @@ -131,8 +131,8 @@ export NVM_DIR="${HOME}/.nvm" source "${NVM_DIR}/nvm.sh" # what to look for -frontends=(mainnet liquid onbtc) -backends=(mainnet testnet testnet4 signet liquid liquidtestnet onbtc) +frontends=(mainnet liquid onbtc bitb) +backends=(mainnet testnet testnet4 signet liquid liquidtestnet onbtc bitb) frontend_repos=() backend_repos=() diff --git a/production/mempool-start-all b/production/mempool-start-all index c08f1ec07..44933f4b4 100755 --- a/production/mempool-start-all +++ b/production/mempool-start-all @@ -15,7 +15,7 @@ screen -dmS x startx sleep 3 # start unfurlers for each frontend -for site in mainnet liquid onbtc;do +for site in mainnet liquid onbtc bitb;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' diff --git a/unfurler/src/routes.ts b/unfurler/src/routes.ts index 8d6f6fe1d..75e136a0e 100644 --- a/unfurler/src/routes.ts +++ b/unfurler/src/routes.ts @@ -281,6 +281,26 @@ export const networks = { routes: routes.lightning.routes, } } + }, + 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, + } + } } };