Skip to content

Commit

Permalink
feat(sbtc): display sbtc balance market data
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Nov 28, 2024
1 parent 2fb0203 commit 9a6fd5f
Show file tree
Hide file tree
Showing 11 changed files with 1,128 additions and 924 deletions.
14 changes: 13 additions & 1 deletion config/wallet-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,17 @@
"recoverUninscribedTaprootUtxosFeatureEnabled": true,
"runesEnabled": true,
"swapsEnabled": true,
"sbtc": {
"enabled": true,
"contracts": {
"mainnet": {
"address": "currently-unknown"
},
"testnet": {
"address": "SNGWPN3XDAQE673MXYXF81016M50NHF5X5PWWM70.sbtc-token::sbtc-token"
}
}
},
"tokensEnabledByDefault": [
"DOGGOTOTHEMOON",
"RSICGENESISRUNE",
Expand All @@ -108,6 +119,7 @@
"SM26NBC8SFHNW4P1Y4DFH27974P56WN86C92HPEHH.token-lqstx::lqstx",
"SP1Y5YSTAHZ88XYK1VPDH24GY0HPX5J4JECTMY4A1.velar-token::velar",
"SP4SZE494VC2YC5JYG7AYFQ44F5Q4PYV7DVMDPBG.ststx-token::ststx",
"SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.arkadiko-token::diko"
"SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.arkadiko-token::diko",
"SNGWPN3XDAQE673MXYXF81016M50NHF5X5PWWM70.sbtc-token::sbtc-token"
]
}
33 changes: 33 additions & 0 deletions config/wallet-config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,39 @@
"swapsEnabled": {
"type": "boolean",
"description": "Determines whether or not the swaps feature is enabled"
},
"sbtc": {
"type": "object",
"description": "Configuration for SBTC",
"properties": {
"enabled": {
"type": "boolean",
"description": "Determines whether or not SBTC is enabled"
},
"contracts": {
"type": "object",
"properties": {
"mainnet": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Mainnet contract address"
}
}
},
"testnet": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Testnet contract address"
}
}
}
}
}
}
}
},
"$defs": {
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,15 @@
"@hirosystems/token-metadata-api-client": "1.2.0",
"@hookform/resolvers": "3.9.1",
"@leather.io/analytics": "2.0.1",
"@leather.io/bitcoin": "0.16.5",
"@leather.io/constants": "0.13.3",
"@leather.io/crypto": "1.6.12",
"@leather.io/models": "0.21.0",
"@leather.io/query": "2.23.0",
"@leather.io/stacks": "1.3.5",
"@leather.io/bitcoin": "0.17.0",
"@leather.io/constants": "0.13.5",
"@leather.io/crypto": "1.6.14",
"@leather.io/models": "0.22.0",
"@leather.io/query": "2.23.3",
"@leather.io/stacks": "1.4.0",
"@leather.io/tokens": "0.12.1",
"@leather.io/ui": "1.37.0",
"@leather.io/utils": "0.19.1",
"@leather.io/ui": "1.39.0",
"@leather.io/utils": "0.20.0",
"@ledgerhq/hw-transport-webusb": "6.27.19",
"@noble/hashes": "1.5.0",
"@noble/secp256k1": "2.1.0",
Expand Down Expand Up @@ -268,9 +268,9 @@
"@btckit/types": "0.0.19",
"@chromatic-com/storybook": "3.2.2",
"@leather.io/eslint-config": "0.7.0",
"@leather.io/panda-preset": "0.5.2",
"@leather.io/panda-preset": "0.5.3",
"@leather.io/prettier-config": "0.6.0",
"@leather.io/rpc": "2.1.18",
"@leather.io/rpc": "2.1.20",
"@ls-lint/ls-lint": "2.2.3",
"@mdx-js/loader": "3.0.0",
"@pandacss/dev": "0.46.1",
Expand Down
Loading

0 comments on commit 9a6fd5f

Please sign in to comment.