Skip to content

Commit

Permalink
feat: continue sbtc integration
Browse files Browse the repository at this point in the history
  • Loading branch information
fbwoolf committed Dec 17, 2024
1 parent 46dbf21 commit 7229768
Show file tree
Hide file tree
Showing 62 changed files with 1,287 additions and 640 deletions.
8 changes: 5 additions & 3 deletions config/wallet-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,18 @@
"runesEnabled": true,
"swapsEnabled": true,
"sbtc": {
"enabled": false,
"enabled": true,
"swapsEnabled": false,
"emilyApiUrl": "https://dev.sbtc-emily-dev.com",
"showPromoLinkOnNetworks": ["testnet", "sbtcTestnet"],
"contracts": {
"mainnet": {
"address": "SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token::sbtc-token"
},
"testnet": {
"address": "SNGWPN3XDAQE673MXYXF81016M50NHF5X5PWWM70.sbtc-token::sbtc-token"
}
},
"showPromoLinkOnNetworks": ["testnet", "sbtcTestnet"]
}
},
"tokensEnabledByDefault": [
"DOGGOTOTHEMOON",
Expand Down
8 changes: 8 additions & 0 deletions config/wallet-config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@
"type": "boolean",
"description": "Determines whether or not SBTC is enabled"
},
"swapsEnabled": {
"type": "boolean",
"description": "Determines whether or not the stacks swaps feature is enabled for sBTC"
},
"emilyApiUrl": {
"type": "string",
"description": "URL for the Emily API"
},
"showPromoLinkOnNetworks": {
"type": "array",
"description": "Networks on which the promo link should be shown",
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@
"@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/query": "2.26.1",
"@leather.io/stacks": "1.4.0",
"@leather.io/tokens": "0.12.1",
"@leather.io/ui": "1.39.0",
"@leather.io/utils": "0.20.0",
"@leather.io/utils": "0.21.1",
"@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": "7.0.2",
"@stacks/transactions": "6.17.0",
"@stacks/wallet-sdk": "6.15.0",
"@stitches/react": "1.2.8",
"@storybook/addon-styling-webpack": "1.0.1",
Expand All @@ -193,7 +193,6 @@
"@types/lodash.uniqby": "4.7.7",
"@typescript-eslint/eslint-plugin": "7.5.0",
"@zondax/ledger-stacks": "1.0.4",
"alex-sdk": "2.1.4",
"are-passive-events-supported": "1.1.1",
"argon2-browser": "1.18.0",
"assert": "2.1.0",
Expand Down Expand Up @@ -249,7 +248,7 @@
"redux-persist": "6.0.0",
"remark-gfm": "4.0.0",
"rxjs": "7.8.1",
"sbtc": "0.1.9",
"sbtc": "0.3.1",
"style-loader": "3.3.4",
"ts-debounce": "4.0.0",
"url": "0.11.3",
Expand Down
Loading

0 comments on commit 7229768

Please sign in to comment.