From 98cd1a632ac35f6b7a8433215f3620b669a67506 Mon Sep 17 00:00:00 2001 From: Define101 Date: Sat, 10 Aug 2024 19:04:12 +0100 Subject: [PATCH] add avalanche bitcoin --- projects/avalance-btc/index.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 projects/avalance-btc/index.js diff --git a/projects/avalance-btc/index.js b/projects/avalance-btc/index.js new file mode 100644 index 000000000000..9ccfdf9a1a76 --- /dev/null +++ b/projects/avalance-btc/index.js @@ -0,0 +1,16 @@ +const sdk = require('@defillama/sdk'); +const { sumTokensExport } = require('../helper/sumTokens'); + +//https://support.avax.network/en/articles/6349640-how-does-the-avalanche-bridge-work +const owners = [ +'bc1q2f0tczgrukdxjrhhadpft2fehzpcrwrz549u90', // https://prnt.sc/unrBvLvw3z1t +] + +module.exports = { + methodology: 'BTC wallets on bc1q2f0tczgrukdxjrhhadpft2fehzpcrwrz549u90', + bitcoin: { + tvl: sdk.util.sumChainTvls([ + sumTokensExport({ owners }), + ]), + }, +};