Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(sbtc): display sbtc balance market data #5991

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion config/wallet-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@
"recoverUninscribedTaprootUtxosFeatureEnabled": true,
"runesEnabled": true,
"swapsEnabled": true,
"sbtc": {
"enabled": true,
"contracts": {
"mainnet": {
"address": "currently-unknown"
},
"testnet": {
"address": "SNGWPN3XDAQE673MXYXF81016M50NHF5X5PWWM70.sbtc-token::sbtc-token"
}
},
"showPromoLinkOnNetworks": ["testnet", "sbtcTestnet"]
},
"tokensEnabledByDefault": [
"DOGGOTOTHEMOON",
"RSICGENESISRUNE",
Expand All @@ -108,6 +120,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"
]
}
40 changes: 40 additions & 0 deletions config/wallet-config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,46 @@
"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"
},
"showPromoLinkOnNetworks": {
"type": "array",
"description": "Networks on which the promo link should be shown",
"items": {
"type": "string"
}
},
"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
23 changes: 12 additions & 11 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 All @@ -181,7 +181,7 @@
"@stacks/profile": "6.15.0",
"@stacks/rpc-client": "1.0.3",
"@stacks/storage": "6.15.0",
"@stacks/transactions": "6.17.0",
"@stacks/transactions": "7.0.2",
fbwoolf marked this conversation as resolved.
Show resolved Hide resolved
"@stacks/wallet-sdk": "6.15.0",
"@stitches/react": "1.2.8",
"@storybook/addon-styling-webpack": "1.0.1",
Expand Down Expand Up @@ -249,6 +249,7 @@
"redux-persist": "6.0.0",
"remark-gfm": "4.0.0",
"rxjs": "7.8.1",
"sbtc": "0.1.9",
"style-loader": "3.3.4",
"ts-debounce": "4.0.0",
"url": "0.11.3",
Expand All @@ -268,9 +269,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
Loading