From 6a2302a6ce9edf7c04ff063fe63210aa8de9cb0c Mon Sep 17 00:00:00 2001 From: NeOMakinG <14963751+NeOMakinG@users.noreply.github.com> Date: Mon, 22 Dec 2025 13:16:43 +0100 Subject: [PATCH 01/44] chore: version packages to 1.62.32-starknet.0 --- examples/sandbox/package.json | 38 ++--- integration/package.json | 22 +-- lerna.json | 9 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-core/src/index.ts | 1 + packages/hdwallet-core/src/starknet.ts | 68 +++++++++ packages/hdwallet-core/src/utils.ts | 1 + packages/hdwallet-core/src/wallet.ts | 9 ++ packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +- packages/hdwallet-keepkey-tcp/package.json | 6 +- packages/hdwallet-keepkey-webusb/package.json | 6 +- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +- packages/hdwallet-ledger-webusb/package.json | 6 +- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 6 +- .../src/crypto/isolation/adapters/index.ts | 3 +- .../src/crypto/isolation/adapters/starknet.ts | 46 ++++++ .../crypto/isolation/engines/default/bip32.ts | 15 ++ packages/hdwallet-native/src/native.ts | 42 ++++-- packages/hdwallet-native/src/starknet.ts | 52 +++++++ packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- yarn.lock | 134 +++++++++++++++++- 37 files changed, 446 insertions(+), 104 deletions(-) create mode 100644 packages/hdwallet-core/src/starknet.ts create mode 100644 packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts create mode 100644 packages/hdwallet-native/src/starknet.ts diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index b1e1a4f40..d39dab9bd 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,24 +12,24 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "1.62.31", - "@shapeshiftoss/hdwallet-core": "1.62.31", - "@shapeshiftoss/hdwallet-keepkey": "1.62.31", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.62.31", - "@shapeshiftoss/hdwallet-keepkey-webusb": "1.62.31", - "@shapeshiftoss/hdwallet-keplr": "1.62.31", - "@shapeshiftoss/hdwallet-ledger": "1.62.31", - "@shapeshiftoss/hdwallet-ledger-webhid": "1.62.31", - "@shapeshiftoss/hdwallet-ledger-webusb": "1.62.31", - "@shapeshiftoss/hdwallet-metamask-multichain": "1.62.31", - "@shapeshiftoss/hdwallet-native": "1.62.31", - "@shapeshiftoss/hdwallet-phantom": "1.62.31", - "@shapeshiftoss/hdwallet-portis": "1.62.31", - "@shapeshiftoss/hdwallet-trezor": "1.62.31", - "@shapeshiftoss/hdwallet-trezor-connect": "1.62.31", - "@shapeshiftoss/hdwallet-vultisig": "1.62.31", - "@shapeshiftoss/hdwallet-walletconnect": "1.62.31", - "@shapeshiftoss/hdwallet-walletconnectv2": "1.62.31", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keplr": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-ledger": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-native": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-phantom": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-portis": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-trezor": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.32-starknet.0", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index 2ae957f35..9f8c437e0 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "1.62.31", - "@shapeshiftoss/hdwallet-keepkey": "1.62.31", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.62.31", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.62.31", - "@shapeshiftoss/hdwallet-ledger": "1.62.31", - "@shapeshiftoss/hdwallet-metamask-multichain": "1.62.31", - "@shapeshiftoss/hdwallet-native": "1.62.31", - "@shapeshiftoss/hdwallet-portis": "1.62.31", - "@shapeshiftoss/hdwallet-trezor": "1.62.31", - "@shapeshiftoss/hdwallet-vultisig": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-ledger": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-native": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-portis": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-trezor": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.32-starknet.0", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index bc255cf5b..ac8671320 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "npmClient": "yarn", "useWorkspaces": true, "command": { @@ -8,5 +8,10 @@ "message": "chore(release): publish %v" } }, - "ignoreChanges": ["**/__fixtures__/**", "**/__tests__/**", "**/*.md", "**/.env"] + "ignoreChanges": [ + "**/__fixtures__/**", + "**/__tests__/**", + "**/*.md", + "**/.env" + ] } diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 72f5800fe..c0e177a57 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index b63a0f30c..4b4a40c70 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-core/src/index.ts b/packages/hdwallet-core/src/index.ts index 706b7b199..b87836bc2 100644 --- a/packages/hdwallet-core/src/index.ts +++ b/packages/hdwallet-core/src/index.ts @@ -17,6 +17,7 @@ export * from "./secret"; export * from "./terra"; export * from "./thorchain"; export * from "./solana"; +export * from "./starknet"; export * from "./sui"; export * from "./transport"; export * from "./tron"; diff --git a/packages/hdwallet-core/src/starknet.ts b/packages/hdwallet-core/src/starknet.ts new file mode 100644 index 000000000..7c660c22d --- /dev/null +++ b/packages/hdwallet-core/src/starknet.ts @@ -0,0 +1,68 @@ +import { addressNListToBIP32, slip44ByCoin } from "./utils"; +import { BIP32Path, HDWallet, HDWalletInfo, PathDescription } from "./wallet"; + +export interface StarknetGetAddress { + addressNList: BIP32Path; + showDisplay?: boolean; +} + +export interface StarknetSignTx { + addressNList: BIP32Path; + txHash: string; +} + +export interface StarknetSignedTx { + signature: string[]; +} + +export interface StarknetGetAccountPaths { + accountIdx: number; +} + +export interface StarknetAccountPath { + addressNList: BIP32Path; +} + +export interface StarknetWalletInfo extends HDWalletInfo { + readonly _supportsStarknetInfo: boolean; + + starknetGetAccountPaths(msg: StarknetGetAccountPaths): Array; + starknetNextAccountPath(msg: StarknetAccountPath): StarknetAccountPath | undefined; +} + +export interface StarknetWallet extends StarknetWalletInfo, HDWallet { + readonly _supportsStarknet: boolean; + + starknetGetAddress(msg: StarknetGetAddress): Promise; + starknetSignTx(msg: StarknetSignTx): Promise; +} + +export function starknetDescribePath(path: BIP32Path): PathDescription { + const pathStr = addressNListToBIP32(path); + const unknown: PathDescription = { + verbose: pathStr, + coin: "Starknet", + isKnown: false, + }; + + if (path.length != 5) return unknown; + if (path[0] != 0x80000000 + 44) return unknown; + if (path[1] != 0x80000000 + slip44ByCoin("Starknet")) return unknown; + if ((path[2] & 0x80000000) >>> 0 !== 0x80000000) return unknown; + if (path[3] !== 0) return unknown; + if (path[4] !== 0) return unknown; + + const index = path[2] & 0x7fffffff; + return { + verbose: `Starknet Account #${index}`, + accountIdx: index, + wholeAccount: true, + coin: "Starknet", + isKnown: true, + }; +} + +export function starknetGetAccountPaths(msg: StarknetGetAccountPaths): Array { + const slip44 = slip44ByCoin("Starknet"); + return [{ addressNList: [0x80000000 + 44, 0x80000000 + slip44, 0x80000000 + msg.accountIdx, 0, 0] }]; +} diff --git a/packages/hdwallet-core/src/utils.ts b/packages/hdwallet-core/src/utils.ts index 08ecc2a48..6d4516507 100644 --- a/packages/hdwallet-core/src/utils.ts +++ b/packages/hdwallet-core/src/utils.ts @@ -157,6 +157,7 @@ export const slip44Table = Object.freeze({ Terra: 330, Kava: 459, Solana: 501, + Starknet: 9004, Tron: 195, Sui: 784, // EVM chains all use the same SLIP44 diff --git a/packages/hdwallet-core/src/wallet.ts b/packages/hdwallet-core/src/wallet.ts index 677ee32dc..f5fc66056 100644 --- a/packages/hdwallet-core/src/wallet.ts +++ b/packages/hdwallet-core/src/wallet.ts @@ -13,6 +13,7 @@ import { OsmosisWallet, OsmosisWalletInfo } from "./osmosis"; import { RippleWallet, RippleWalletInfo } from "./ripple"; import { SecretWallet, SecretWalletInfo } from "./secret"; import { SolanaWallet, SolanaWalletInfo } from "./solana"; +import { StarknetWallet, StarknetWalletInfo } from "./starknet"; import { SuiWallet, SuiWalletInfo } from "./sui"; import { TerraWallet, TerraWalletInfo } from "./terra"; import { ThorchainWallet, ThorchainWalletInfo } from "./thorchain"; @@ -271,6 +272,14 @@ export function infoSolana(info: HDWalletInfo): info is SolanaWalletInfo { return isObject(info) && (info as any)._supportsSolanaInfo; } +export function supportsStarknet(wallet: HDWallet): wallet is StarknetWallet { + return isObject(wallet) && (wallet as any)._supportsStarknet; +} + +export function infoStarknet(info: HDWalletInfo): info is StarknetWalletInfo { + return isObject(info) && (info as any)._supportsStarknetInfo; +} + export function supportsTron(wallet: HDWallet): wallet is TronWallet { return isObject(wallet) && (wallet as any)._supportsTron; } diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 41e266e2c..c55890f51 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 9f161e319..e3d673bbb 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.31", - "@shapeshiftoss/hdwallet-keepkey": "1.62.31" + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32-starknet.0" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index f8c0f6c74..b0b41b62e 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.62.31", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32-starknet.0", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index e5c9bbe04..10368590d 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.62.31" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32-starknet.0" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index cf0a97b6b..ab3742a5c 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.31", - "@shapeshiftoss/hdwallet-keepkey": "1.62.31" + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32-starknet.0" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 7f953f09f..817d3e904 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.31", - "@shapeshiftoss/hdwallet-keepkey": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32-starknet.0", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 10973b83e..96881a034 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.31", - "@shapeshiftoss/hdwallet-keepkey": "1.62.31" + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32-starknet.0" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 09b2a7f11..819783cdd 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index bb7dc397a..563a16803 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index b2106d302..fc1ba4e63 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "1.62.31", - "@shapeshiftoss/hdwallet-ledger": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-ledger": "^1.62.32-starknet.0", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 3f07f1f69..fd73ed770 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "1.62.31", - "@shapeshiftoss/hdwallet-ledger": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-ledger": "^1.62.32-starknet.0", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 8d6c70e1f..b4f76a793 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 18f6142d3..2e69ea3b6 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index dd1fbb5ca..cb0e005e0 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "1.62.31", + "@shapeshiftoss/hdwallet-native": "^1.62.32-starknet.0", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 6ec9ae97c..ddeab49a4 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -16,8 +16,9 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@noble/curves": "^1.4.0", + "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", @@ -38,6 +39,7 @@ "node-fetch": "^2.6.1", "p-lazy": "^3.1.0", "scrypt-js": "^3.0.1", + "starknet": "^6.11.0", "tendermint-tx-builder": "1.0.16" }, "devDependencies": { diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/index.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/index.ts index 0858fdedc..eb153f2ac 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/index.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/index.ts @@ -6,5 +6,6 @@ export { default as Binance } from "./binance"; export { default as Cosmos } from "./cosmos"; export { default as CosmosDirect } from "./cosmosDirect"; export { default as Solana } from "./solana"; -export { default as Tron } from "./tron"; +export { default as Starknet } from "./starknet"; export { default as Sui } from "./sui"; +export { default as Tron } from "./tron"; diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts new file mode 100644 index 000000000..aa9bd9246 --- /dev/null +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts @@ -0,0 +1,46 @@ +import * as core from "@shapeshiftoss/hdwallet-core"; + +import { Isolation } from "../.."; + +export class StarknetAdapter { + protected readonly nodeAdapter: Isolation.Adapters.BIP32; + + constructor(nodeAdapter: Isolation.Adapters.BIP32) { + this.nodeAdapter = nodeAdapter; + } + + /** + * Get Starknet address from BIP32 path + * For Starknet, we derive the private key and compute the corresponding public key. + * The address is computed as a contract address using the public key. + */ + async getAddress(addressNList: core.BIP32Path): Promise { + const nodeAdapter = await this.nodeAdapter.derivePath(core.addressNListToBIP32(addressNList)); + + // Use the node's Starknet-specific method to get the public key + // The node handles key grinding internally while keeping the private key isolated + const publicKey = await (nodeAdapter.node as any).starknetGetPublicKey(); + + // For now, return the public key as the address identifier + // In practice, the actual address depends on the account contract deployment + // This will be the "pre-computed" or "counterfactual" address + return publicKey; + } + + /** + * Sign Starknet transaction + * Starknet uses ECDSA on the STARK curve for transaction signing + */ + async signTransaction(txHash: string, addressNList: core.BIP32Path): Promise { + const nodeAdapter = await this.nodeAdapter.derivePath(core.addressNListToBIP32(addressNList)); + + // Use the node's Starknet-specific signing method + // The node handles key grinding and signing internally while keeping the private key isolated + const signature = await (nodeAdapter.node as any).starknetSign(txHash); + + // Return signature as array of hex strings [r, s] + return [signature.r, signature.s]; + } +} + +export default StarknetAdapter; diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts index 6d967019b..a73f32b30 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts @@ -1,5 +1,6 @@ import ecc from "@bitcoinerlab/secp256k1"; import * as bip32crypto from "bip32/src/crypto"; +import * as starknet from "@scure/starknet"; import { Core } from "../../../isolation"; import { assertType, ByteArray, checkType, safeBufferFrom, Uint32 } from "../../types"; @@ -148,6 +149,20 @@ export class Node if (digestAlgorithm !== undefined) out = Core.Digest.Algorithms[digestAlgorithm](out); return out; } + + async starknetGetPublicKey(): Promise { + const groundPrivateKey = starknet.grindKey(this.#privateKey); + return starknet.getStarkKey(groundPrivateKey); + } + + async starknetSign(txHash: string): Promise<{ r: string; s: string }> { + const groundPrivateKey = starknet.grindKey(this.#privateKey); + const signature = starknet.sign(txHash, groundPrivateKey); + return { + r: signature.r.toString(16), + s: signature.s.toString(16), + }; + } } // https://github.com/satoshilabs/slips/blob/master/slip-0010.md diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index 165701bcb..b0d021265 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -16,6 +16,7 @@ import { MixinNativeMayachainWallet, MixinNativeMayachainWalletInfo } from "./ma import { MixinNativeOsmosisWallet, MixinNativeOsmosisWalletInfo } from "./osmosis"; import { MixinNativeSecretWallet, MixinNativeSecretWalletInfo } from "./secret"; import { MixinNativeSolanaWallet, MixinNativeSolanaWalletInfo } from "./solana"; +import { MixinNativeStarknetWallet, MixinNativeStarknetWalletInfo } from "./starknet"; import { MixinNativeSuiWallet, MixinNativeSuiWalletInfo } from "./sui"; import { MixinNativeTerraWallet, MixinNativeTerraWalletInfo } from "./terra"; import { MixinNativeThorchainWallet, MixinNativeThorchainWalletInfo } from "./thorchain"; @@ -128,14 +129,16 @@ class NativeHDWalletInfo MixinNativeCosmosWalletInfo( MixinNativeBinanceWalletInfo( MixinNativeSolanaWalletInfo( - MixinNativeTronWalletInfo( - MixinNativeSuiWalletInfo( - MixinNativeThorchainWalletInfo( - MixinNativeMayachainWalletInfo( - MixinNativeSecretWalletInfo( - MixinNativeTerraWalletInfo( - MixinNativeKavaWalletInfo( - MixinNativeArkeoWalletInfo(MixinNativeOsmosisWalletInfo(NativeHDWalletBase)) + MixinNativeStarknetWalletInfo( + MixinNativeTronWalletInfo( + MixinNativeSuiWalletInfo( + MixinNativeThorchainWalletInfo( + MixinNativeMayachainWalletInfo( + MixinNativeSecretWalletInfo( + MixinNativeTerraWalletInfo( + MixinNativeKavaWalletInfo( + MixinNativeArkeoWalletInfo(MixinNativeOsmosisWalletInfo(NativeHDWalletBase)) + ) ) ) ) @@ -155,6 +158,7 @@ class NativeHDWalletInfo core.CosmosWalletInfo, core.BinanceWalletInfo, core.SolanaWalletInfo, + core.StarknetWalletInfo, core.TronWalletInfo, core.SuiWalletInfo, core.ThorchainWalletInfo, @@ -213,6 +217,9 @@ class NativeHDWalletInfo return core.osmosisDescribePath(msg.path); case "arkeo": return core.arkeoDescribePath(msg.path); + case "starknet": + case "strk": + return core.starknetDescribePath(msg.path); case "tron": case "trx": return core.tronDescribePath(msg.path); @@ -228,13 +235,15 @@ export class NativeHDWallet MixinNativeCosmosWallet( MixinNativeBinanceWallet( MixinNativeSolanaWallet( - MixinNativeTronWallet( - MixinNativeSuiWallet( - MixinNativeThorchainWallet( - MixinNativeMayachainWallet( - MixinNativeSecretWallet( - MixinNativeTerraWallet( - MixinNativeKavaWallet(MixinNativeOsmosisWallet(MixinNativeArkeoWallet(NativeHDWalletInfo))) + MixinNativeStarknetWallet( + MixinNativeTronWallet( + MixinNativeSuiWallet( + MixinNativeThorchainWallet( + MixinNativeMayachainWallet( + MixinNativeSecretWallet( + MixinNativeTerraWallet( + MixinNativeKavaWallet(MixinNativeOsmosisWallet(MixinNativeArkeoWallet(NativeHDWalletInfo))) + ) ) ) ) @@ -253,6 +262,7 @@ export class NativeHDWallet core.CosmosWallet, core.BinanceWallet, core.SolanaWallet, + core.StarknetWallet, core.TronWallet, core.SuiWallet, core.ThorchainWallet, @@ -378,6 +388,7 @@ export class NativeHDWallet super.cosmosInitializeWallet(secp256k1MasterKey), super.osmosisInitializeWallet(secp256k1MasterKey), super.binanceInitializeWallet(secp256k1MasterKey), + super.starknetInitializeWallet(secp256k1MasterKey), super.tronInitializeWallet(secp256k1MasterKey), super.thorchainInitializeWallet(secp256k1MasterKey), super.mayachainInitializeWallet(secp256k1MasterKey), @@ -434,6 +445,7 @@ export class NativeHDWallet super.cosmosWipe(); super.osmosisWipe(); super.binanceWipe(); + super.starknetWipe(); super.tronWipe(); super.thorchainWipe(); super.mayachainWipe(); diff --git a/packages/hdwallet-native/src/starknet.ts b/packages/hdwallet-native/src/starknet.ts new file mode 100644 index 000000000..55eff1712 --- /dev/null +++ b/packages/hdwallet-native/src/starknet.ts @@ -0,0 +1,52 @@ +import * as core from "@shapeshiftoss/hdwallet-core"; + +import { Isolation } from "./crypto"; +import { StarknetAdapter } from "./crypto/isolation/adapters/starknet"; +import { NativeHDWalletBase } from "./native"; + +export function MixinNativeStarknetWalletInfo>(Base: TBase) { + return class MixinNativeStarknetWalletInfo extends Base implements core.StarknetWalletInfo { + readonly _supportsStarknetInfo = true; + + starknetGetAccountPaths(msg: core.StarknetGetAccountPaths): Array { + return core.starknetGetAccountPaths(msg); + } + + starknetNextAccountPath(msg: core.StarknetAccountPath): core.StarknetAccountPath | undefined { + throw new Error("Method not implemented"); + } + }; +} + +export function MixinNativeStarknetWallet>(Base: TBase) { + return class MixinNativeStarknetWallet extends Base { + readonly _supportsStarknet = true; + + starknetAdapter: StarknetAdapter | undefined; + + async starknetInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise { + const nodeAdapter = await Isolation.Adapters.BIP32.create(masterKey); + this.starknetAdapter = new StarknetAdapter(nodeAdapter); + } + + starknetWipe() { + this.starknetAdapter = undefined; + } + + async starknetGetAddress(msg: core.StarknetGetAddress): Promise { + return this.needsMnemonic(!!this.starknetAdapter, () => { + return this.starknetAdapter!.getAddress(msg.addressNList); + }); + } + + async starknetSignTx(msg: core.StarknetSignTx): Promise { + return this.needsMnemonic(!!this.starknetAdapter, async () => { + const signature = await this.starknetAdapter!.signTransaction(msg.txHash, msg.addressNList); + + return { + signature, + }; + }); + } + }; +} diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 9196c962d..d966bb7b1 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 3153ee9c2..c1fe63e05 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 8a2c0d7e2..8d1f9c271 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.31", - "@shapeshiftoss/hdwallet-trezor": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", + "@shapeshiftoss/hdwallet-trezor": "^1.62.32-starknet.0", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 77dd4e309..880fe2c8b 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 0bfc3b70f..e424f168d 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 2b0d076a5..6f789c7a7 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index 4dd8bf424..8e245fd2a 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.31", + "version": "1.62.32-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.31", + "@shapeshiftoss/hdwallet-core": "^1.62.32-starknet.0", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" diff --git a/yarn.lock b/yarn.lock index fa5b1aa66..7f5865ac0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3172,6 +3172,13 @@ dependencies: "@noble/hashes" "1.4.0" +"@noble/curves@1.7.0", "@noble/curves@~1.7.0": + version "1.7.0" + resolved "http://127.0.0.1:4873/@noble/curves/-/curves-1.7.0.tgz#0512360622439256df892f21d25b388f52505e45" + integrity sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw== + dependencies: + "@noble/hashes" "1.6.0" + "@noble/curves@1.8.0": version "1.8.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.8.0.tgz#fe035a23959e6aeadf695851b51a87465b5ba8f7" @@ -3241,6 +3248,11 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.5.0.tgz#abadc5ca20332db2b1b2aa3e496e9af1213570b0" integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA== +"@noble/hashes@1.6.0": + version "1.6.0" + resolved "http://127.0.0.1:4873/@noble/hashes/-/hashes-1.6.0.tgz#d4bfb516ad6e7b5111c216a5cc7075f4cf19e6c5" + integrity sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ== + "@noble/hashes@1.7.0": version "1.7.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.7.0.tgz#5d9e33af2c7d04fee35de1519b80c958b2e35e39" @@ -3266,6 +3278,11 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== +"@noble/hashes@~1.6.0": + version "1.6.1" + resolved "http://127.0.0.1:4873/@noble/hashes/-/hashes-1.6.1.tgz#df6e5943edcea504bac61395926d6fd67869a0d5" + integrity sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w== + "@noble/secp256k1@1.6.3": version "1.6.3" resolved "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.6.3.tgz#7eed12d9f4404b416999d0c87686836c4c5c9b94" @@ -4040,6 +4057,11 @@ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.2.tgz#e4291e3c1bc637083f87936c333cdbcad22af63b" integrity sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA== +"@scure/base@1.2.1": + version "1.2.1" + resolved "http://127.0.0.1:4873/@scure/base/-/base-1.2.1.tgz#dd0b2a533063ca612c17aa9ad26424a2ff5aa865" + integrity sha512-DGmGtC8Tt63J5GfHgfl5CuAXh96VF/LD8K9Hr/Gv0J2lAoRGlPOMpqMpMbCTOoOJMZCk2Xt+DskdDyn6dEFdzQ== + "@scure/base@^1.0.0", "@scure/base@^1.1.1", "@scure/base@^1.1.3", "@scure/base@~1.1.3", "@scure/base@~1.1.6": version "1.1.8" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.8.tgz#8f23646c352f020c83bca750a82789e246d42b50" @@ -4101,6 +4123,22 @@ "@noble/hashes" "~1.8.0" "@scure/base" "~1.2.5" +"@scure/starknet@1.1.0": + version "1.1.0" + resolved "http://127.0.0.1:4873/@scure/starknet/-/starknet-1.1.0.tgz#d1902e053d98196e161b9b2c3996b20999094e7a" + integrity sha512-83g3M6Ix2qRsPN4wqLDqiRZ2GBNbjVWfboJE/9UjfG+MHr6oDSu/CWgy8hsBSJejr09DkkL+l0Ze4KVrlCIdtQ== + dependencies: + "@noble/curves" "~1.7.0" + "@noble/hashes" "~1.6.0" + +"@scure/starknet@^1.0.0": + version "1.1.2" + resolved "http://127.0.0.1:4873/@scure/starknet/-/starknet-1.1.2.tgz#3b9492d83e773092158a240fb1e2a437933d2a7e" + integrity sha512-Qo2uNQJC/1IwfXC0f2BnDjtXnY1cVyfmK1WcGNFzfnktvlNmmmbjYeUNdYe3DBiDYyMzp1MhRUFllFW5moBaMg== + dependencies: + "@noble/curves" "~1.9.0" + "@noble/hashes" "~1.8.0" + "@shapeshiftoss/bitcoinjs-lib@7.0.0-shapeshift.0": version "7.0.0-shapeshift.0" resolved "https://registry.yarnpkg.com/@shapeshiftoss/bitcoinjs-lib/-/bitcoinjs-lib-7.0.0-shapeshift.0.tgz#00a4cd26916037b843d3083a42d7cd265958f4df" @@ -6369,6 +6407,16 @@ abbrev@1, abbrev@^1.0.0: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== +abi-wan-kanabi@^2.2.3: + version "2.2.4" + resolved "http://127.0.0.1:4873/abi-wan-kanabi/-/abi-wan-kanabi-2.2.4.tgz#47ebbafbb7f8df81773efbdcca60cdda8008c821" + integrity sha512-0aA81FScmJCPX+8UvkXLki3X1+yPQuWxEkqXBVKltgPAK79J+NB+Lp5DouMXa7L6f+zcRlIA/6XO7BN/q9fnvg== + dependencies: + ansicolors "^0.3.2" + cardinal "^2.1.1" + fs-extra "^10.0.0" + yargs "^17.7.2" + abitype@1.0.8, abitype@^1.0.6: version "1.0.8" resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.8.tgz#3554f28b2e9d6e9f35eb59878193eabd1b9f46ba" @@ -6574,6 +6622,11 @@ ansi-styles@^6.1.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== +ansicolors@^0.3.2, ansicolors@~0.3.2: + version "0.3.2" + resolved "http://127.0.0.1:4873/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" + integrity sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg== + anymatch@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" @@ -7932,6 +7985,14 @@ capture-exit@^2.0.0: dependencies: rsvp "^4.8.4" +cardinal@^2.1.1: + version "2.1.1" + resolved "http://127.0.0.1:4873/cardinal/-/cardinal-2.1.1.tgz#7cc1055d822d212954d07b085dea251cc7bc5505" + integrity sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw== + dependencies: + ansicolors "~0.3.2" + redeyed "~2.1.0" + caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -9885,7 +9946,7 @@ espree@^9.6.0, espree@^9.6.1: acorn-jsx "^5.3.2" eslint-visitor-keys "^3.4.1" -esprima@^4.0.0, esprima@^4.0.1: +esprima@^4.0.0, esprima@^4.0.1, esprima@~4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== @@ -10727,6 +10788,14 @@ feaxios@^0.0.23: dependencies: is-retry-allowed "^3.0.0" +fetch-cookie@~3.0.0: + version "3.0.1" + resolved "http://127.0.0.1:4873/fetch-cookie/-/fetch-cookie-3.0.1.tgz#6a77f7495e1a639ae019db916a234db8c85d5963" + integrity sha512-ZGXe8Y5Z/1FWqQ9q/CrJhkUD73DyBU9VF0hBQmEO/wPHe4A9PKTjplFDLeFX8aOsYypZUcX5Ji/eByn3VCVO3Q== + dependencies: + set-cookie-parser "^2.4.8" + tough-cookie "^4.0.0" + figures@3.2.0, figures@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -10958,6 +11027,15 @@ fs-constants@^1.0.0: resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== +fs-extra@^10.0.0: + version "10.1.0" + resolved "http://127.0.0.1:4873/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" + integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + fs-extra@^11.1.0: version "11.2.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" @@ -12484,6 +12562,14 @@ isobject@^3.0.0, isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== +isomorphic-fetch@~3.0.0: + version "3.0.0" + resolved "http://127.0.0.1:4873/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz#0267b005049046d2421207215d45d6a262b8b8b4" + integrity sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA== + dependencies: + node-fetch "^2.6.1" + whatwg-fetch "^3.4.1" + isomorphic-timers-promises@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/isomorphic-timers-promises/-/isomorphic-timers-promises-1.0.1.tgz#e4137c24dbc54892de8abae3a4b5c1ffff381598" @@ -13755,6 +13841,11 @@ loose-envify@^1.0.0, loose-envify@^1.1.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +lossless-json@^4.0.1: + version "4.3.0" + resolved "http://127.0.0.1:4873/lossless-json/-/lossless-json-4.3.0.tgz#7d26864820ecf08aee800213fc193666e794802a" + integrity sha512-ToxOC+SsduRmdSuoLZLYAr5zy1Qu7l5XhmPWM3zefCZ5IcrzW/h108qbJUKfOlDlhvhjUK84+8PSVX0kxnit0g== + lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" @@ -15310,6 +15401,11 @@ pacote@^13.0.3, pacote@^13.6.1: ssri "^9.0.0" tar "^6.1.11" +pako@^2.0.4: + version "2.1.0" + resolved "http://127.0.0.1:4873/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" + integrity sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug== + pako@~1.0.5: version "1.0.11" resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" @@ -16294,6 +16390,13 @@ redent@^3.0.0: indent-string "^4.0.0" strip-indent "^3.0.0" +redeyed@~2.1.0: + version "2.1.1" + resolved "http://127.0.0.1:4873/redeyed/-/redeyed-2.1.1.tgz#8984b5815d99cb220469c99eeeffe38913e6cc0b" + integrity sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ== + dependencies: + esprima "~4.0.0" + reflect-metadata@^0.1.13: version "0.1.14" resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.14.tgz#24cf721fe60677146bb77eeb0e1f9dece3d65859" @@ -16953,6 +17056,11 @@ set-cookie-parser@^2.4.6: resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.7.0.tgz#ef5552b56dc01baae102acb5fc9fb8cd060c30f9" integrity sha512-lXLOiqpkUumhRdFF3k1osNXCy9akgx/dyPZ5p8qAg9seJzXr5ZrlqZuWIMuY6ejOsVLE6flJ5/h3lsn57fQ/PQ== +set-cookie-parser@^2.4.8: + version "2.7.2" + resolved "http://127.0.0.1:4873/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz#ccd08673a9ae5d2e44ea2a2de25089e67c7edf68" + integrity sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw== + set-function-length@^1.2.1, set-function-length@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" @@ -17395,6 +17503,28 @@ stack-utils@^2.0.2: dependencies: escape-string-regexp "^2.0.0" +"starknet-types-07@npm:@starknet-io/types-js@^0.7.10": + version "0.7.10" + resolved "http://127.0.0.1:4873/@starknet-io/types-js/-/types-js-0.7.10.tgz#d21dc973d0cd04d7b6293ce461f2f06a5873c760" + integrity sha512-1VtCqX4AHWJlRRSYGSn+4X1mqolI1Tdq62IwzoU2vUuEE72S1OlEeGhpvd6XsdqXcfHmVzYfj8k1XtKBQqwo9w== + +starknet@^6.11.0: + version "6.24.1" + resolved "http://127.0.0.1:4873/starknet/-/starknet-6.24.1.tgz#87333339795038e93ef32a20726b5272ddb78fe1" + integrity sha512-g7tiCt73berhcNi41otlN3T3kxZnIvZhMi8WdC21Y6GC6zoQgbI2z1t7JAZF9c4xZiomlanwVnurcpyfEdyMpg== + dependencies: + "@noble/curves" "1.7.0" + "@noble/hashes" "1.6.0" + "@scure/base" "1.2.1" + "@scure/starknet" "1.1.0" + abi-wan-kanabi "^2.2.3" + fetch-cookie "~3.0.0" + isomorphic-fetch "~3.0.0" + lossless-json "^4.0.1" + pako "^2.0.4" + starknet-types-07 "npm:@starknet-io/types-js@^0.7.10" + ts-mixer "^6.0.3" + static-extend@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" @@ -19243,7 +19373,7 @@ whatwg-fetch@^2.0.4: resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f" integrity sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng== -whatwg-fetch@^3.6.2: +whatwg-fetch@^3.4.1, whatwg-fetch@^3.6.2: version "3.6.20" resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz#580ce6d791facec91d37c72890995a0b48d31c70" integrity sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg== From 1917f2960f066171d8e299cbebfa7fbd467aab67 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 16:01:19 +0100 Subject: [PATCH 02/44] fix: restore starknet dependencies to hdwallet-native --- packages/hdwallet-native/package.json | 2 + yarn.lock | 134 +++++++++++++++++++++++++- 2 files changed, 134 insertions(+), 2 deletions(-) diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 59ab6c3ad..dd29322f1 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -16,6 +16,7 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@noble/curves": "^1.4.0", + "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", @@ -38,6 +39,7 @@ "node-fetch": "^2.6.1", "p-lazy": "^3.1.0", "scrypt-js": "^3.0.1", + "starknet": "^6.11.0", "tendermint-tx-builder": "1.0.16" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index fa5b1aa66..c95dc0564 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3172,6 +3172,13 @@ dependencies: "@noble/hashes" "1.4.0" +"@noble/curves@1.7.0", "@noble/curves@~1.7.0": + version "1.7.0" + resolved "https://registry.npmjs.org/@noble/curves/-/curves-1.7.0.tgz#0512360622439256df892f21d25b388f52505e45" + integrity sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw== + dependencies: + "@noble/hashes" "1.6.0" + "@noble/curves@1.8.0": version "1.8.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.8.0.tgz#fe035a23959e6aeadf695851b51a87465b5ba8f7" @@ -3241,6 +3248,11 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.5.0.tgz#abadc5ca20332db2b1b2aa3e496e9af1213570b0" integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA== +"@noble/hashes@1.6.0": + version "1.6.0" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.0.tgz#d4bfb516ad6e7b5111c216a5cc7075f4cf19e6c5" + integrity sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ== + "@noble/hashes@1.7.0": version "1.7.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.7.0.tgz#5d9e33af2c7d04fee35de1519b80c958b2e35e39" @@ -3266,6 +3278,11 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== +"@noble/hashes@~1.6.0": + version "1.6.1" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.1.tgz#df6e5943edcea504bac61395926d6fd67869a0d5" + integrity sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w== + "@noble/secp256k1@1.6.3": version "1.6.3" resolved "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.6.3.tgz#7eed12d9f4404b416999d0c87686836c4c5c9b94" @@ -4040,6 +4057,11 @@ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.2.tgz#e4291e3c1bc637083f87936c333cdbcad22af63b" integrity sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA== +"@scure/base@1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@scure/base/-/base-1.2.1.tgz#dd0b2a533063ca612c17aa9ad26424a2ff5aa865" + integrity sha512-DGmGtC8Tt63J5GfHgfl5CuAXh96VF/LD8K9Hr/Gv0J2lAoRGlPOMpqMpMbCTOoOJMZCk2Xt+DskdDyn6dEFdzQ== + "@scure/base@^1.0.0", "@scure/base@^1.1.1", "@scure/base@^1.1.3", "@scure/base@~1.1.3", "@scure/base@~1.1.6": version "1.1.8" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.8.tgz#8f23646c352f020c83bca750a82789e246d42b50" @@ -4101,6 +4123,22 @@ "@noble/hashes" "~1.8.0" "@scure/base" "~1.2.5" +"@scure/starknet@1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@scure/starknet/-/starknet-1.1.0.tgz#d1902e053d98196e161b9b2c3996b20999094e7a" + integrity sha512-83g3M6Ix2qRsPN4wqLDqiRZ2GBNbjVWfboJE/9UjfG+MHr6oDSu/CWgy8hsBSJejr09DkkL+l0Ze4KVrlCIdtQ== + dependencies: + "@noble/curves" "~1.7.0" + "@noble/hashes" "~1.6.0" + +"@scure/starknet@^1.0.0": + version "1.1.2" + resolved "https://registry.npmjs.org/@scure/starknet/-/starknet-1.1.2.tgz#3b9492d83e773092158a240fb1e2a437933d2a7e" + integrity sha512-Qo2uNQJC/1IwfXC0f2BnDjtXnY1cVyfmK1WcGNFzfnktvlNmmmbjYeUNdYe3DBiDYyMzp1MhRUFllFW5moBaMg== + dependencies: + "@noble/curves" "~1.9.0" + "@noble/hashes" "~1.8.0" + "@shapeshiftoss/bitcoinjs-lib@7.0.0-shapeshift.0": version "7.0.0-shapeshift.0" resolved "https://registry.yarnpkg.com/@shapeshiftoss/bitcoinjs-lib/-/bitcoinjs-lib-7.0.0-shapeshift.0.tgz#00a4cd26916037b843d3083a42d7cd265958f4df" @@ -6369,6 +6407,16 @@ abbrev@1, abbrev@^1.0.0: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== +abi-wan-kanabi@^2.2.3: + version "2.2.4" + resolved "https://registry.npmjs.org/abi-wan-kanabi/-/abi-wan-kanabi-2.2.4.tgz#47ebbafbb7f8df81773efbdcca60cdda8008c821" + integrity sha512-0aA81FScmJCPX+8UvkXLki3X1+yPQuWxEkqXBVKltgPAK79J+NB+Lp5DouMXa7L6f+zcRlIA/6XO7BN/q9fnvg== + dependencies: + ansicolors "^0.3.2" + cardinal "^2.1.1" + fs-extra "^10.0.0" + yargs "^17.7.2" + abitype@1.0.8, abitype@^1.0.6: version "1.0.8" resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.8.tgz#3554f28b2e9d6e9f35eb59878193eabd1b9f46ba" @@ -6574,6 +6622,11 @@ ansi-styles@^6.1.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== +ansicolors@^0.3.2, ansicolors@~0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" + integrity sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg== + anymatch@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" @@ -7932,6 +7985,14 @@ capture-exit@^2.0.0: dependencies: rsvp "^4.8.4" +cardinal@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz#7cc1055d822d212954d07b085dea251cc7bc5505" + integrity sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw== + dependencies: + ansicolors "~0.3.2" + redeyed "~2.1.0" + caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -9885,7 +9946,7 @@ espree@^9.6.0, espree@^9.6.1: acorn-jsx "^5.3.2" eslint-visitor-keys "^3.4.1" -esprima@^4.0.0, esprima@^4.0.1: +esprima@^4.0.0, esprima@^4.0.1, esprima@~4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== @@ -10727,6 +10788,14 @@ feaxios@^0.0.23: dependencies: is-retry-allowed "^3.0.0" +fetch-cookie@~3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-3.0.1.tgz#6a77f7495e1a639ae019db916a234db8c85d5963" + integrity sha512-ZGXe8Y5Z/1FWqQ9q/CrJhkUD73DyBU9VF0hBQmEO/wPHe4A9PKTjplFDLeFX8aOsYypZUcX5Ji/eByn3VCVO3Q== + dependencies: + set-cookie-parser "^2.4.8" + tough-cookie "^4.0.0" + figures@3.2.0, figures@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -10958,6 +11027,15 @@ fs-constants@^1.0.0: resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== +fs-extra@^10.0.0: + version "10.1.0" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" + integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + fs-extra@^11.1.0: version "11.2.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" @@ -12484,6 +12562,14 @@ isobject@^3.0.0, isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== +isomorphic-fetch@~3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz#0267b005049046d2421207215d45d6a262b8b8b4" + integrity sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA== + dependencies: + node-fetch "^2.6.1" + whatwg-fetch "^3.4.1" + isomorphic-timers-promises@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/isomorphic-timers-promises/-/isomorphic-timers-promises-1.0.1.tgz#e4137c24dbc54892de8abae3a4b5c1ffff381598" @@ -13755,6 +13841,11 @@ loose-envify@^1.0.0, loose-envify@^1.1.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +lossless-json@^4.0.1: + version "4.3.0" + resolved "https://registry.npmjs.org/lossless-json/-/lossless-json-4.3.0.tgz#7d26864820ecf08aee800213fc193666e794802a" + integrity sha512-ToxOC+SsduRmdSuoLZLYAr5zy1Qu7l5XhmPWM3zefCZ5IcrzW/h108qbJUKfOlDlhvhjUK84+8PSVX0kxnit0g== + lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" @@ -15310,6 +15401,11 @@ pacote@^13.0.3, pacote@^13.6.1: ssri "^9.0.0" tar "^6.1.11" +pako@^2.0.4: + version "2.1.0" + resolved "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" + integrity sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug== + pako@~1.0.5: version "1.0.11" resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" @@ -16294,6 +16390,13 @@ redent@^3.0.0: indent-string "^4.0.0" strip-indent "^3.0.0" +redeyed@~2.1.0: + version "2.1.1" + resolved "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz#8984b5815d99cb220469c99eeeffe38913e6cc0b" + integrity sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ== + dependencies: + esprima "~4.0.0" + reflect-metadata@^0.1.13: version "0.1.14" resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.14.tgz#24cf721fe60677146bb77eeb0e1f9dece3d65859" @@ -16953,6 +17056,11 @@ set-cookie-parser@^2.4.6: resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.7.0.tgz#ef5552b56dc01baae102acb5fc9fb8cd060c30f9" integrity sha512-lXLOiqpkUumhRdFF3k1osNXCy9akgx/dyPZ5p8qAg9seJzXr5ZrlqZuWIMuY6ejOsVLE6flJ5/h3lsn57fQ/PQ== +set-cookie-parser@^2.4.8: + version "2.7.2" + resolved "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz#ccd08673a9ae5d2e44ea2a2de25089e67c7edf68" + integrity sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw== + set-function-length@^1.2.1, set-function-length@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" @@ -17395,6 +17503,28 @@ stack-utils@^2.0.2: dependencies: escape-string-regexp "^2.0.0" +"starknet-types-07@npm:@starknet-io/types-js@^0.7.10": + version "0.7.10" + resolved "https://registry.npmjs.org/@starknet-io/types-js/-/types-js-0.7.10.tgz#d21dc973d0cd04d7b6293ce461f2f06a5873c760" + integrity sha512-1VtCqX4AHWJlRRSYGSn+4X1mqolI1Tdq62IwzoU2vUuEE72S1OlEeGhpvd6XsdqXcfHmVzYfj8k1XtKBQqwo9w== + +starknet@^6.11.0: + version "6.24.1" + resolved "https://registry.npmjs.org/starknet/-/starknet-6.24.1.tgz#87333339795038e93ef32a20726b5272ddb78fe1" + integrity sha512-g7tiCt73berhcNi41otlN3T3kxZnIvZhMi8WdC21Y6GC6zoQgbI2z1t7JAZF9c4xZiomlanwVnurcpyfEdyMpg== + dependencies: + "@noble/curves" "1.7.0" + "@noble/hashes" "1.6.0" + "@scure/base" "1.2.1" + "@scure/starknet" "1.1.0" + abi-wan-kanabi "^2.2.3" + fetch-cookie "~3.0.0" + isomorphic-fetch "~3.0.0" + lossless-json "^4.0.1" + pako "^2.0.4" + starknet-types-07 "npm:@starknet-io/types-js@^0.7.10" + ts-mixer "^6.0.3" + static-extend@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" @@ -19243,7 +19373,7 @@ whatwg-fetch@^2.0.4: resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f" integrity sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng== -whatwg-fetch@^3.6.2: +whatwg-fetch@^3.4.1, whatwg-fetch@^3.6.2: version "3.6.20" resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz#580ce6d791facec91d37c72890995a0b48d31c70" integrity sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg== From 6c6b329b194bb11f26a60e34f093981a19f0f6c8 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 16:06:25 +0100 Subject: [PATCH 03/44] chore: version packages to 1.62.33-starknet.0 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 9 ++++- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 92 insertions(+), 87 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 39d58fcb8..cc3d897eb 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "1.62.32", - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-gridplus": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey-webusb": "1.62.32", - "@shapeshiftoss/hdwallet-keplr": "1.62.32", - "@shapeshiftoss/hdwallet-ledger": "1.62.32", - "@shapeshiftoss/hdwallet-ledger-webhid": "1.62.32", - "@shapeshiftoss/hdwallet-ledger-webusb": "1.62.32", - "@shapeshiftoss/hdwallet-metamask-multichain": "1.62.32", - "@shapeshiftoss/hdwallet-native": "1.62.32", - "@shapeshiftoss/hdwallet-phantom": "1.62.32", - "@shapeshiftoss/hdwallet-portis": "1.62.32", - "@shapeshiftoss/hdwallet-trezor": "1.62.32", - "@shapeshiftoss/hdwallet-trezor-connect": "1.62.32", - "@shapeshiftoss/hdwallet-vultisig": "1.62.32", - "@shapeshiftoss/hdwallet-walletconnect": "1.62.32", - "@shapeshiftoss/hdwallet-walletconnectv2": "1.62.32", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.0", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index c8a4fa42b..19d6dd5e2 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.62.32", - "@shapeshiftoss/hdwallet-ledger": "1.62.32", - "@shapeshiftoss/hdwallet-metamask-multichain": "1.62.32", - "@shapeshiftoss/hdwallet-native": "1.62.32", - "@shapeshiftoss/hdwallet-portis": "1.62.32", - "@shapeshiftoss/hdwallet-trezor": "1.62.32", - "@shapeshiftoss/hdwallet-vultisig": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.0", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index aeb48107e..8169c41e5 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "npmClient": "yarn", "useWorkspaces": true, "command": { @@ -8,5 +8,10 @@ "message": "chore(release): publish %v" } }, - "ignoreChanges": ["**/__fixtures__/**", "**/__tests__/**", "**/*.md", "**/.env"] + "ignoreChanges": [ + "**/__fixtures__/**", + "**/__tests__/**", + "**/*.md", + "**/.env" + ] } diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 13f68ca69..937c509f0 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 40ec47a78..b8534dc12 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index ede6140d8..6399926e5 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 142436cd6..050700036 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 18b382225..6333afd98 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 83c67c24e..646becdac 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.62.32" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 297edba22..b3d7ad16b 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 743bfc49d..78c836796 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 90cae6d05..f14ef5053 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index a0d6dab14..7f2d0d49f 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 7a8b2a51b..c56c923d9 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index ce9b77f42..cecbc9c3e 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-ledger": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.0", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 3f04547d8..4ba8245ad 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-ledger": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.0", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 8024e48c3..93d8fe1b7 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 814f5b66f..bb9c610e2 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 89b5ca9df..0d4330e21 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "1.62.32", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.0", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index dd29322f1..1d1600132 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index d8b127f0b..00b452a8f 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index f163f5bb4..8e69d42d0 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 140b998b2..59f806ae8 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-trezor": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.0", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 501212184..9ab33f8ee 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 9a748d0f8..c0a26752d 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 262b87294..e65289f62 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index d7e43de05..6d0d6ebc9 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.32", + "version": "1.62.33-starknet.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 45b049380c36e90c64d3f9a1a49b017f496819e9 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 16:11:27 +0100 Subject: [PATCH 04/44] fix: ci --- .../src/crypto/isolation/engines/default/bip32.ts | 2 +- packages/hdwallet-native/src/starknet.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts index a73f32b30..757cc16c0 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts @@ -1,6 +1,6 @@ import ecc from "@bitcoinerlab/secp256k1"; -import * as bip32crypto from "bip32/src/crypto"; import * as starknet from "@scure/starknet"; +import * as bip32crypto from "bip32/src/crypto"; import { Core } from "../../../isolation"; import { assertType, ByteArray, checkType, safeBufferFrom, Uint32 } from "../../types"; diff --git a/packages/hdwallet-native/src/starknet.ts b/packages/hdwallet-native/src/starknet.ts index 55eff1712..388507ed4 100644 --- a/packages/hdwallet-native/src/starknet.ts +++ b/packages/hdwallet-native/src/starknet.ts @@ -5,21 +5,21 @@ import { StarknetAdapter } from "./crypto/isolation/adapters/starknet"; import { NativeHDWalletBase } from "./native"; export function MixinNativeStarknetWalletInfo>(Base: TBase) { - return class MixinNativeStarknetWalletInfo extends Base implements core.StarknetWalletInfo { + return class MixinNativeStarknetWalletInfoClass extends Base implements core.StarknetWalletInfo { readonly _supportsStarknetInfo = true; starknetGetAccountPaths(msg: core.StarknetGetAccountPaths): Array { return core.starknetGetAccountPaths(msg); } - starknetNextAccountPath(msg: core.StarknetAccountPath): core.StarknetAccountPath | undefined { + starknetNextAccountPath(): core.StarknetAccountPath | undefined { throw new Error("Method not implemented"); } }; } export function MixinNativeStarknetWallet>(Base: TBase) { - return class MixinNativeStarknetWallet extends Base { + return class MixinNativeStarknetWalletClass extends Base { readonly _supportsStarknet = true; starknetAdapter: StarknetAdapter | undefined; From deb8f8e63ee81ba3d2c33d86cfbe6925cfa23f2b Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 16:14:46 +0100 Subject: [PATCH 05/44] [skip ci] wip: skip ci From 87270a845fe9451063e0614dc6a2641cb547f21f Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 16:24:01 +0100 Subject: [PATCH 06/44] fix: ci --- packages/hdwallet-core/src/starknet.ts | 5 +++++ .../src/crypto/isolation/adapters/starknet.ts | 13 +++++++++++++ packages/hdwallet-native/src/starknet.ts | 6 ++++++ 3 files changed, 24 insertions(+) diff --git a/packages/hdwallet-core/src/starknet.ts b/packages/hdwallet-core/src/starknet.ts index 7c660c22d..519b841c1 100644 --- a/packages/hdwallet-core/src/starknet.ts +++ b/packages/hdwallet-core/src/starknet.ts @@ -6,6 +6,10 @@ export interface StarknetGetAddress { showDisplay?: boolean; } +export interface StarknetGetPublicKey { + addressNList: BIP32Path; +} + export interface StarknetSignTx { addressNList: BIP32Path; txHash: string; @@ -34,6 +38,7 @@ export interface StarknetWallet extends StarknetWalletInfo, HDWallet { readonly _supportsStarknet: boolean; starknetGetAddress(msg: StarknetGetAddress): Promise; + starknetGetPublicKey(msg: StarknetGetPublicKey): Promise; starknetSignTx(msg: StarknetSignTx): Promise; } diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts index aa9bd9246..e8d1a4d7c 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts @@ -9,6 +9,19 @@ export class StarknetAdapter { this.nodeAdapter = nodeAdapter; } + /** + * Get Starknet public key from BIP32 path + */ + async getPublicKey(addressNList: core.BIP32Path): Promise { + const nodeAdapter = await this.nodeAdapter.derivePath(core.addressNListToBIP32(addressNList)); + + // Use the node's Starknet-specific method to get the public key + // The node handles key grinding internally while keeping the private key isolated + const publicKey = await (nodeAdapter.node as any).starknetGetPublicKey(); + + return publicKey; + } + /** * Get Starknet address from BIP32 path * For Starknet, we derive the private key and compute the corresponding public key. diff --git a/packages/hdwallet-native/src/starknet.ts b/packages/hdwallet-native/src/starknet.ts index 388507ed4..410c87d28 100644 --- a/packages/hdwallet-native/src/starknet.ts +++ b/packages/hdwallet-native/src/starknet.ts @@ -39,6 +39,12 @@ export function MixinNativeStarknetWallet { + return this.needsMnemonic(!!this.starknetAdapter, () => { + return this.starknetAdapter!.getPublicKey(msg.addressNList); + }); + } + async starknetSignTx(msg: core.StarknetSignTx): Promise { return this.needsMnemonic(!!this.starknetAdapter, async () => { const signature = await this.starknetAdapter!.signTransaction(msg.txHash, msg.addressNList); From a2ce8d813d2697ce58ffca05aa8747738592dfdb Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 16:24:14 +0100 Subject: [PATCH 07/44] chore: version packages to 1.62.33-starknet.1 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index cc3d897eb..5640917d3 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.1", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index 19d6dd5e2..2f23ca2e5 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.1", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index 8169c41e5..a779417f5 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 937c509f0..92813e7b6 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index b8534dc12..7318738a3 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 6399926e5..4d52f62a3 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 050700036..387cd4b11 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 6333afd98..717353612 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 646becdac..eec8ce0c0 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index b3d7ad16b..5153b0d38 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 78c836796..59b2009cb 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index f14ef5053..2899cb1cf 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.0" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 7f2d0d49f..49eb2af60 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index c56c923d9..9ee1c998e 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index cecbc9c3e..882811a62 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.1", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 4ba8245ad..4aa86626f 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.1", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 93d8fe1b7..80b62d999 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index bb9c610e2..4c8415a3e 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 0d4330e21..590947ec7 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.1", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 1d1600132..2c6912201 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 00b452a8f..678975076 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 8e69d42d0..f54d88287 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 59f806ae8..e2c917d3f 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.1", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 9ab33f8ee..3508b5837 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index c0a26752d..d68517c51 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index e65289f62..b6f569acd 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index 6d0d6ebc9..d7521363f 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.0", + "version": "1.62.33-starknet.1", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.0", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 9522d96aefc4478e83795b1c25594ffab3d56d0d Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 16:27:52 +0100 Subject: [PATCH 08/44] fix: sig length --- .../src/crypto/isolation/adapters/starknet.ts | 9 ++++++--- .../src/crypto/isolation/core/bip32/interfaces.ts | 3 +++ .../src/crypto/isolation/engines/default/bip32.ts | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts index e8d1a4d7c..4826aa7e8 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts @@ -17,7 +17,8 @@ export class StarknetAdapter { // Use the node's Starknet-specific method to get the public key // The node handles key grinding internally while keeping the private key isolated - const publicKey = await (nodeAdapter.node as any).starknetGetPublicKey(); + const publicKey = await nodeAdapter.node.starknetGetPublicKey?.(); + if (!publicKey) throw new Error("Starknet methods not available on node"); return publicKey; } @@ -32,7 +33,8 @@ export class StarknetAdapter { // Use the node's Starknet-specific method to get the public key // The node handles key grinding internally while keeping the private key isolated - const publicKey = await (nodeAdapter.node as any).starknetGetPublicKey(); + const publicKey = await nodeAdapter.node.starknetGetPublicKey?.(); + if (!publicKey) throw new Error("Starknet methods not available on node"); // For now, return the public key as the address identifier // In practice, the actual address depends on the account contract deployment @@ -49,7 +51,8 @@ export class StarknetAdapter { // Use the node's Starknet-specific signing method // The node handles key grinding and signing internally while keeping the private key isolated - const signature = await (nodeAdapter.node as any).starknetSign(txHash); + const signature = await nodeAdapter.node.starknetSign?.(txHash); + if (!signature) throw new Error("Starknet methods not available on node"); // Return signature as array of hex strings [r, s] return [signature.r, signature.s]; diff --git a/packages/hdwallet-native/src/crypto/isolation/core/bip32/interfaces.ts b/packages/hdwallet-native/src/crypto/isolation/core/bip32/interfaces.ts index 680df615e..d4fb2c2ec 100644 --- a/packages/hdwallet-native/src/crypto/isolation/core/bip32/interfaces.ts +++ b/packages/hdwallet-native/src/crypto/isolation/core/bip32/interfaces.ts @@ -14,6 +14,9 @@ export interface Node extends Partial, SecP256K1.ECDSAKey, Partial; getChainCode(): Promise; derive(index: number): Promise; + // Starknet-specific methods + starknetGetPublicKey?(): Promise; + starknetSign?(txHash: string): Promise<{ r: string; s: string }>; } export function nodeSupportsECDH(x: T): x is T & SecP256K1.ECDHKey { diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts index 757cc16c0..45fefc23d 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts @@ -159,8 +159,8 @@ export class Node const groundPrivateKey = starknet.grindKey(this.#privateKey); const signature = starknet.sign(txHash, groundPrivateKey); return { - r: signature.r.toString(16), - s: signature.s.toString(16), + r: signature.r.toString(16).padStart(64, '0'), + s: signature.s.toString(16).padStart(64, '0'), }; } } From d2979c0d17c299b84eefc9bffafcd52252fad649 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 16:48:28 +0100 Subject: [PATCH 09/44] feat: don't pollute bip32 node --- .../src/crypto/isolation/adapters/index.ts | 1 + .../src/crypto/isolation/adapters/stark.ts | 30 ++++++ .../src/crypto/isolation/adapters/starknet.ts | 30 +++--- .../crypto/isolation/core/bip32/interfaces.ts | 6 +- .../src/crypto/isolation/core/index.ts | 1 + .../src/crypto/isolation/core/stark/index.ts | 2 + .../crypto/isolation/core/stark/interfaces.ts | 17 ++++ .../crypto/isolation/engines/default/bip32.ts | 27 +++-- .../crypto/isolation/engines/default/index.ts | 1 + .../crypto/isolation/engines/default/stark.ts | 99 +++++++++++++++++++ .../crypto/isolation/engines/dummy/bip32.ts | 4 + packages/hdwallet-native/src/native.ts | 12 ++- packages/hdwallet-native/src/starknet.ts | 4 +- 13 files changed, 196 insertions(+), 38 deletions(-) create mode 100644 packages/hdwallet-native/src/crypto/isolation/adapters/stark.ts create mode 100644 packages/hdwallet-native/src/crypto/isolation/core/stark/index.ts create mode 100644 packages/hdwallet-native/src/crypto/isolation/core/stark/interfaces.ts create mode 100644 packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/index.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/index.ts index eb153f2ac..3ad44c0ed 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/index.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/index.ts @@ -1,6 +1,7 @@ export { default as Bitcoin } from "./bitcoin"; export { default as BIP32 } from "./bip32"; export { default as Ed25519 } from "./ed25519"; +export { default as Stark } from "./stark"; export { default as Ethereum } from "./ethereum"; export { default as Binance } from "./binance"; export { default as Cosmos } from "./cosmos"; diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/stark.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/stark.ts new file mode 100644 index 000000000..fe806cf18 --- /dev/null +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/stark.ts @@ -0,0 +1,30 @@ +import { Stark } from "../core"; + +/** + * Stark curve adapter for Starknet + * + * Simple wrapper around Stark.Node providing derivation utilities. + * The Stark Node handles all Starknet-specific operations (key grinding, + * STARK curve public keys, and ECDSA signing on STARK curve). + */ +export class StarkAdapter { + readonly node: Stark.Node; + + constructor(node: Stark.Node) { + this.node = node; + } + + async getPublicKey(): Promise { + return this.node.getPublicKey(); + } + + async derive(index: number): Promise { + return new StarkAdapter(await this.node.derive(index)) as this; + } + + async derivePath(path: string): Promise { + return Stark.derivePath(this, path); + } +} + +export default StarkAdapter; diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts index 4826aa7e8..48e1d3b36 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts @@ -2,10 +2,16 @@ import * as core from "@shapeshiftoss/hdwallet-core"; import { Isolation } from "../.."; +/** + * Starknet adapter using Stark curve engine + * + * Uses dedicated Stark engine with STARK curve operations instead of + * polluting the generic BIP32 secp256k1 engine with chain-specific code. + */ export class StarknetAdapter { - protected readonly nodeAdapter: Isolation.Adapters.BIP32; + protected readonly nodeAdapter: Isolation.Adapters.Stark; - constructor(nodeAdapter: Isolation.Adapters.BIP32) { + constructor(nodeAdapter: Isolation.Adapters.Stark) { this.nodeAdapter = nodeAdapter; } @@ -15,12 +21,8 @@ export class StarknetAdapter { async getPublicKey(addressNList: core.BIP32Path): Promise { const nodeAdapter = await this.nodeAdapter.derivePath(core.addressNListToBIP32(addressNList)); - // Use the node's Starknet-specific method to get the public key - // The node handles key grinding internally while keeping the private key isolated - const publicKey = await nodeAdapter.node.starknetGetPublicKey?.(); - if (!publicKey) throw new Error("Starknet methods not available on node"); - - return publicKey; + // Stark Node handles key grinding internally while keeping the private key isolated + return await nodeAdapter.getPublicKey(); } /** @@ -31,10 +33,8 @@ export class StarknetAdapter { async getAddress(addressNList: core.BIP32Path): Promise { const nodeAdapter = await this.nodeAdapter.derivePath(core.addressNListToBIP32(addressNList)); - // Use the node's Starknet-specific method to get the public key - // The node handles key grinding internally while keeping the private key isolated - const publicKey = await nodeAdapter.node.starknetGetPublicKey?.(); - if (!publicKey) throw new Error("Starknet methods not available on node"); + // Stark Node handles key grinding internally while keeping the private key isolated + const publicKey = await nodeAdapter.getPublicKey(); // For now, return the public key as the address identifier // In practice, the actual address depends on the account contract deployment @@ -49,10 +49,8 @@ export class StarknetAdapter { async signTransaction(txHash: string, addressNList: core.BIP32Path): Promise { const nodeAdapter = await this.nodeAdapter.derivePath(core.addressNListToBIP32(addressNList)); - // Use the node's Starknet-specific signing method - // The node handles key grinding and signing internally while keeping the private key isolated - const signature = await nodeAdapter.node.starknetSign?.(txHash); - if (!signature) throw new Error("Starknet methods not available on node"); + // Stark Node handles key grinding and signing internally while keeping the private key isolated + const signature = await nodeAdapter.node.sign(txHash); // Return signature as array of hex strings [r, s] return [signature.r, signature.s]; diff --git a/packages/hdwallet-native/src/crypto/isolation/core/bip32/interfaces.ts b/packages/hdwallet-native/src/crypto/isolation/core/bip32/interfaces.ts index d4fb2c2ec..4c5857a50 100644 --- a/packages/hdwallet-native/src/crypto/isolation/core/bip32/interfaces.ts +++ b/packages/hdwallet-native/src/crypto/isolation/core/bip32/interfaces.ts @@ -1,12 +1,13 @@ import * as core from "@shapeshiftoss/hdwallet-core"; -import { BIP32, Ed25519, Revocable } from ".."; +import { BIP32, Ed25519, Revocable, Stark } from ".."; import * as SecP256K1 from "../secp256k1"; import { ChainCode } from "."; export interface Seed extends Partial { toSecp256k1MasterKey(): Promise; toEd25519MasterKey(): Promise; + toStarkMasterKey(): Promise; } export interface Node extends Partial, SecP256K1.ECDSAKey, Partial { @@ -14,9 +15,6 @@ export interface Node extends Partial, SecP256K1.ECDSAKey, Partial; getChainCode(): Promise; derive(index: number): Promise; - // Starknet-specific methods - starknetGetPublicKey?(): Promise; - starknetSign?(txHash: string): Promise<{ r: string; s: string }>; } export function nodeSupportsECDH(x: T): x is T & SecP256K1.ECDHKey { diff --git a/packages/hdwallet-native/src/crypto/isolation/core/index.ts b/packages/hdwallet-native/src/crypto/isolation/core/index.ts index 20cad8086..87f66b738 100644 --- a/packages/hdwallet-native/src/crypto/isolation/core/index.ts +++ b/packages/hdwallet-native/src/crypto/isolation/core/index.ts @@ -3,6 +3,7 @@ export * as BIP39 from "./bip39"; export * as Digest from "./digest"; export * as SecP256K1 from "./secp256k1"; export * as Ed25519 from "./ed25519"; +export * as Stark from "./stark"; export class IsolationError extends Error { constructor(name: string) { diff --git a/packages/hdwallet-native/src/crypto/isolation/core/stark/index.ts b/packages/hdwallet-native/src/crypto/isolation/core/stark/index.ts new file mode 100644 index 000000000..fa928439f --- /dev/null +++ b/packages/hdwallet-native/src/crypto/isolation/core/stark/index.ts @@ -0,0 +1,2 @@ +export { derivePath } from "../bip32"; +export * from "./interfaces"; diff --git a/packages/hdwallet-native/src/crypto/isolation/core/stark/interfaces.ts b/packages/hdwallet-native/src/crypto/isolation/core/stark/interfaces.ts new file mode 100644 index 000000000..8e53177d7 --- /dev/null +++ b/packages/hdwallet-native/src/crypto/isolation/core/stark/interfaces.ts @@ -0,0 +1,17 @@ +import { Revocable } from ".."; +import { ChainCode } from "../bip32"; + +/** + * Stark curve Node interface for Starknet + * + * Similar to BIP32.Node but uses STARK curve for public key and signing operations. + * Derivation follows standard BIP32 with secp256k1 arithmetic (per industry standard), + * then applies Starknet-specific key grinding for final operations. + */ +export interface Node extends Partial { + readonly explicitPath?: string; + getPublicKey(): Promise; + getChainCode(): Promise; + derive(index: number): Promise; + sign(txHash: string): Promise<{ r: string; s: string }>; +} diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts index 45fefc23d..554a8e618 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts @@ -1,10 +1,10 @@ import ecc from "@bitcoinerlab/secp256k1"; -import * as starknet from "@scure/starknet"; import * as bip32crypto from "bip32/src/crypto"; import { Core } from "../../../isolation"; import { assertType, ByteArray, checkType, safeBufferFrom, Uint32 } from "../../types"; import * as Ed25519 from "./ed25519"; +import * as Stark from "./stark"; import { Revocable, revocable } from "./revocable"; export * from "../../core/bip32"; @@ -150,19 +150,6 @@ export class Node return out; } - async starknetGetPublicKey(): Promise { - const groundPrivateKey = starknet.grindKey(this.#privateKey); - return starknet.getStarkKey(groundPrivateKey); - } - - async starknetSign(txHash: string): Promise<{ r: string; s: string }> { - const groundPrivateKey = starknet.grindKey(this.#privateKey); - const signature = starknet.sign(txHash, groundPrivateKey); - return { - r: signature.r.toString(16).padStart(64, '0'), - s: signature.s.toString(16).padStart(64, '0'), - }; - } } // https://github.com/satoshilabs/slips/blob/master/slip-0010.md @@ -199,4 +186,16 @@ export class Seed extends Revocable(class {}) implements Core.BIP32.Seed { this.addRevoker(() => out.revoke?.()); return out; } + + async toStarkMasterKey(): Promise { + // Use "Bitcoin seed" per SLIP-0010 standard for secp256k1-based derivation + // Starknet uses standard BIP32 secp256k1 derivation, then applies grinding + const hmacKey = safeBufferFrom(new TextEncoder().encode("Bitcoin seed")); + const I = safeBufferFrom(bip32crypto.hmacSHA512(safeBufferFrom(hmacKey), this.#seed)); + const IL = I.subarray(0, 32); + const IR = I.subarray(32, 64); + const out = await Stark.Node.create(IL, IR); + this.addRevoker(() => out.revoke?.()); + return out; + } } diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/index.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/index.ts index d949e6862..660e67da0 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/index.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/index.ts @@ -1,4 +1,5 @@ export * as BIP32 from "./bip32"; export * as BIP39 from "./bip39"; export * as ED25519 from "./ed25519"; +export * as Stark from "./stark"; export * from "./revocable"; diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts new file mode 100644 index 000000000..2a269dd31 --- /dev/null +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts @@ -0,0 +1,99 @@ +import ecc from "@bitcoinerlab/secp256k1"; +import * as bip32crypto from "bip32/src/crypto"; +import * as starknet from "@scure/starknet"; + +import { Core } from "../../../isolation"; +import { assertType, ByteArray, checkType, safeBufferFrom, Uint32 } from "../../types"; +import { Revocable, revocable } from "./revocable"; + +export * from "../../core/stark"; + +/** + * Stark curve Node for Starknet + * + * Uses standard BIP32 secp256k1 derivation (same as Bitcoin/Ethereum), + * but applies Starknet-specific key grinding and uses STARK curve for + * public key generation and signing operations. + * + * This matches industry standard implementations (Argent, Ledger) which + * derive using secp256k1 BIP32 math, then apply grinding for Stark operations. + */ +export class Node extends Revocable(class {}) implements Core.Stark.Node { + readonly #privateKey: Buffer & ByteArray<32>; + readonly chainCode: Buffer & Core.BIP32.ChainCode; + readonly explicitPath?: string; + + protected constructor(privateKey: Uint8Array, chainCode: Uint8Array, explicitPath?: string) { + super(); + // We avoid handing the private key to any non-platform code -- including our type-checking machinery. + if (privateKey.length !== 32) throw new Error("bad private key length"); + this.#privateKey = safeBufferFrom(privateKey) as Buffer & ByteArray<32>; + this.addRevoker(() => this.#privateKey.fill(0)); + this.chainCode = safeBufferFrom(checkType(Core.BIP32.ChainCode, chainCode)) as Buffer & Core.BIP32.ChainCode; + this.explicitPath = explicitPath; + } + + static async create(privateKey: Uint8Array, chainCode: Uint8Array, explicitPath?: string): Promise { + const obj = new Node(privateKey, chainCode, explicitPath); + return revocable(obj, (x) => obj.addRevoker(x)); + } + + /** + * Get Stark public key + * Applies Starknet-specific key grinding before deriving public key on STARK curve + */ + async getPublicKey(): Promise { + const groundPrivateKey = starknet.grindKey(this.#privateKey); + return starknet.getStarkKey(groundPrivateKey); + } + + async getChainCode() { + return this.chainCode; + } + + /** + * Sign transaction hash on STARK curve + * Applies key grinding and returns ECDSA signature with proper padding + */ + async sign(txHash: string): Promise<{ r: string; s: string }> { + const groundPrivateKey = starknet.grindKey(this.#privateKey); + const signature = starknet.sign(txHash, groundPrivateKey); + return { + r: signature.r.toString(16).padStart(64, '0'), + s: signature.s.toString(16).padStart(64, '0'), + }; + } + + /** + * Derive child key using standard BIP32 secp256k1 derivation + * + * NOTE: This uses secp256k1 field arithmetic (ecc.privateAdd) per SLIP-0010, + * which is the industry standard for Starknet (matches Argent, Ledger implementations). + * The derived key is then ground for Stark operations in getPublicKey/sign methods. + */ + async derive(index: Uint32): Promise { + Uint32.assert(index); + + const serP = Buffer.alloc(37); + if (index < 0x80000000) { + // Non-hardened derivation: not supported for Starknet (should always use hardened) + // But we include for completeness per BIP32 spec + throw new Error("Starknet derivation requires hardened indices"); + } else { + serP.set(this.#privateKey, 1); + } + serP.writeUInt32BE(index, 33); + + const I = bip32crypto.hmacSHA512(this.chainCode, serP); + const IL = I.slice(0, 32); + const IR = I.slice(32, 64); + + // Use secp256k1 curve arithmetic for derivation (per SLIP-0010 / industry standard) + const ki = ecc.privateAdd(this.#privateKey, IL); + if (ki === null) throw new Error("ki is null; this should be cryptographically impossible"); + + const out = await Node.create(ki, IR); + this.addRevoker(() => out.revoke?.()); + return out as this; + } +} diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/dummy/bip32.ts b/packages/hdwallet-native/src/crypto/isolation/engines/dummy/bip32.ts index 75e75a051..be42af1d0 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/dummy/bip32.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/dummy/bip32.ts @@ -118,4 +118,8 @@ export class Seed implements Core.BIP32.Seed { async toEd25519MasterKey(): Promise { throw new DummyEngineError(); } + + async toStarkMasterKey(): Promise { + throw new DummyEngineError(); + } } diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index b0d021265..690439949 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -279,6 +279,7 @@ export class NativeHDWallet #initialized = false; #secp256k1MasterKey: Promise | undefined = undefined; #ed25519MasterKey: Promise | undefined = undefined; + #starkMasterKey: Promise | undefined = undefined; constructor({ mnemonic, deviceId, secp256k1MasterKey, ed25519MasterKey }: NativeAdapterArgs) { super(); @@ -295,6 +296,12 @@ export class NativeHDWallet const seed = await isolatedMnemonic.toSeed(); return await seed.toEd25519MasterKey(); })(); + this.#starkMasterKey = (async () => { + const isolatedMnemonic = + typeof mnemonic === "string" ? await Isolation.Engines.Default.BIP39.Mnemonic.create(mnemonic) : mnemonic; + const seed = await isolatedMnemonic.toSeed(); + return await seed.toStarkMasterKey(); + })(); } else { if (secp256k1MasterKey) this.#secp256k1MasterKey = Promise.resolve(secp256k1MasterKey); if (ed25519MasterKey) this.#ed25519MasterKey = Promise.resolve(ed25519MasterKey); @@ -377,9 +384,10 @@ export class NativeHDWallet async clearSession(): Promise {} async initialize(): Promise { - return this.needsMnemonic(!!this.#secp256k1MasterKey && !!this.#ed25519MasterKey, async () => { + return this.needsMnemonic(!!this.#secp256k1MasterKey && !!this.#ed25519MasterKey && !!this.#starkMasterKey, async () => { const secp256k1MasterKey = await this.#secp256k1MasterKey!; const ed25519MasterKey = await this.#ed25519MasterKey!; + const starkMasterKey = await this.#starkMasterKey!; try { await Promise.all([ @@ -388,7 +396,7 @@ export class NativeHDWallet super.cosmosInitializeWallet(secp256k1MasterKey), super.osmosisInitializeWallet(secp256k1MasterKey), super.binanceInitializeWallet(secp256k1MasterKey), - super.starknetInitializeWallet(secp256k1MasterKey), + super.starknetInitializeWallet(starkMasterKey), super.tronInitializeWallet(secp256k1MasterKey), super.thorchainInitializeWallet(secp256k1MasterKey), super.mayachainInitializeWallet(secp256k1MasterKey), diff --git a/packages/hdwallet-native/src/starknet.ts b/packages/hdwallet-native/src/starknet.ts index 410c87d28..d63c08580 100644 --- a/packages/hdwallet-native/src/starknet.ts +++ b/packages/hdwallet-native/src/starknet.ts @@ -24,8 +24,8 @@ export function MixinNativeStarknetWallet { - const nodeAdapter = await Isolation.Adapters.BIP32.create(masterKey); + async starknetInitializeWallet(masterKey: Isolation.Core.Stark.Node): Promise { + const nodeAdapter = new Isolation.Adapters.Stark(masterKey); this.starknetAdapter = new StarknetAdapter(nodeAdapter); } From 43949d337bb370baed89b847ece3c66faffdda79 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 16:52:43 +0100 Subject: [PATCH 10/44] chore: version packages to 1.62.33-starknet.2 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 5640917d3..51e96f469 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.2", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index 2f23ca2e5..1888a4593 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.2", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index a779417f5..8a0080b9f 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 92813e7b6..f110b514e 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 7318738a3..10863ab46 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 4d52f62a3..ab48f7844 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 387cd4b11..e8f8f4681 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 717353612..2f0794038 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index eec8ce0c0..ca6116be1 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 5153b0d38..de7456d8b 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 59b2009cb..754bb15bf 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 2899cb1cf..f1ffe8bc1 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.1" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 49eb2af60..91718c819 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 9ee1c998e..56441e262 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 882811a62..36cba237b 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.2", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 4aa86626f..9f529a042 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.2", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 80b62d999..3fd52c90e 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 4c8415a3e..a48f4f249 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 590947ec7..fdab3fb5f 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.2", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 2c6912201..a82b3fb22 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 678975076..128938921 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index f54d88287..346d88ffb 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index e2c917d3f..74313baf4 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.2", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 3508b5837..34737d4fc 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index d68517c51..148303189 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index b6f569acd..346600dc5 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index d7521363f..d35d4d81a 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.1", + "version": "1.62.33-starknet.2", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.1", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 601c369ba2d1b4b66ea273996fe6b58cd52a844a Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 17:05:48 +0100 Subject: [PATCH 11/44] feat: add comprehensive logging for starknet debugging --- .../src/crypto/isolation/adapters/starknet.ts | 34 ++++++++-- .../crypto/isolation/engines/default/bip32.ts | 3 +- .../crypto/isolation/engines/default/stark.ts | 8 +-- packages/hdwallet-native/src/native.ts | 67 ++++++++++--------- packages/hdwallet-native/src/starknet.ts | 24 +++++-- 5 files changed, 88 insertions(+), 48 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts index 48e1d3b36..2dde2963f 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ import * as core from "@shapeshiftoss/hdwallet-core"; import { Isolation } from "../.."; @@ -19,10 +20,18 @@ export class StarknetAdapter { * Get Starknet public key from BIP32 path */ async getPublicKey(addressNList: core.BIP32Path): Promise { - const nodeAdapter = await this.nodeAdapter.derivePath(core.addressNListToBIP32(addressNList)); + console.log("[StarknetAdapter.getPublicKey] Input:", JSON.stringify({ addressNList })); + const bip32Path = core.addressNListToBIP32(addressNList); + console.log("[StarknetAdapter.getPublicKey] BIP32 path:", bip32Path); + + const nodeAdapter = await this.nodeAdapter.derivePath(bip32Path); + console.log("[StarknetAdapter.getPublicKey] Node adapter derived"); // Stark Node handles key grinding internally while keeping the private key isolated - return await nodeAdapter.getPublicKey(); + const publicKey = await nodeAdapter.getPublicKey(); + console.log("[StarknetAdapter.getPublicKey] Public key:", publicKey); + + return publicKey; } /** @@ -31,14 +40,21 @@ export class StarknetAdapter { * The address is computed as a contract address using the public key. */ async getAddress(addressNList: core.BIP32Path): Promise { - const nodeAdapter = await this.nodeAdapter.derivePath(core.addressNListToBIP32(addressNList)); + console.log("[StarknetAdapter.getAddress] Input:", JSON.stringify({ addressNList })); + const bip32Path = core.addressNListToBIP32(addressNList); + console.log("[StarknetAdapter.getAddress] BIP32 path:", bip32Path); + + const nodeAdapter = await this.nodeAdapter.derivePath(bip32Path); + console.log("[StarknetAdapter.getAddress] Node adapter derived"); // Stark Node handles key grinding internally while keeping the private key isolated const publicKey = await nodeAdapter.getPublicKey(); + console.log("[StarknetAdapter.getAddress] Public key:", publicKey); // For now, return the public key as the address identifier // In practice, the actual address depends on the account contract deployment // This will be the "pre-computed" or "counterfactual" address + console.log("[StarknetAdapter.getAddress] Returning public key as address (TODO: compute actual contract address)"); return publicKey; } @@ -47,13 +63,21 @@ export class StarknetAdapter { * Starknet uses ECDSA on the STARK curve for transaction signing */ async signTransaction(txHash: string, addressNList: core.BIP32Path): Promise { - const nodeAdapter = await this.nodeAdapter.derivePath(core.addressNListToBIP32(addressNList)); + console.log("[StarknetAdapter.signTransaction] Input:", JSON.stringify({ txHash, addressNList })); + const bip32Path = core.addressNListToBIP32(addressNList); + console.log("[StarknetAdapter.signTransaction] BIP32 path:", bip32Path); + + const nodeAdapter = await this.nodeAdapter.derivePath(bip32Path); + console.log("[StarknetAdapter.signTransaction] Node adapter derived"); // Stark Node handles key grinding and signing internally while keeping the private key isolated const signature = await nodeAdapter.node.sign(txHash); + console.log("[StarknetAdapter.signTransaction] Signature:", JSON.stringify(signature)); // Return signature as array of hex strings [r, s] - return [signature.r, signature.s]; + const result = [signature.r, signature.s]; + console.log("[StarknetAdapter.signTransaction] Result:", JSON.stringify(result)); + return result; } } diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts index 554a8e618..9e815148a 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts @@ -4,8 +4,8 @@ import * as bip32crypto from "bip32/src/crypto"; import { Core } from "../../../isolation"; import { assertType, ByteArray, checkType, safeBufferFrom, Uint32 } from "../../types"; import * as Ed25519 from "./ed25519"; -import * as Stark from "./stark"; import { Revocable, revocable } from "./revocable"; +import * as Stark from "./stark"; export * from "../../core/bip32"; @@ -149,7 +149,6 @@ export class Node if (digestAlgorithm !== undefined) out = Core.Digest.Algorithms[digestAlgorithm](out); return out; } - } // https://github.com/satoshilabs/slips/blob/master/slip-0010.md diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts index 2a269dd31..e3325da7f 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts @@ -1,9 +1,9 @@ import ecc from "@bitcoinerlab/secp256k1"; -import * as bip32crypto from "bip32/src/crypto"; import * as starknet from "@scure/starknet"; +import * as bip32crypto from "bip32/src/crypto"; import { Core } from "../../../isolation"; -import { assertType, ByteArray, checkType, safeBufferFrom, Uint32 } from "../../types"; +import { ByteArray, checkType, safeBufferFrom, Uint32 } from "../../types"; import { Revocable, revocable } from "./revocable"; export * from "../../core/stark"; @@ -59,8 +59,8 @@ export class Node extends Revocable(class {}) implements Core.Stark.Node { const groundPrivateKey = starknet.grindKey(this.#privateKey); const signature = starknet.sign(txHash, groundPrivateKey); return { - r: signature.r.toString(16).padStart(64, '0'), - s: signature.s.toString(16).padStart(64, '0'), + r: signature.r.toString(16).padStart(64, "0"), + s: signature.s.toString(16).padStart(64, "0"), }; } diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index 690439949..9b5259f30 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -384,39 +384,42 @@ export class NativeHDWallet async clearSession(): Promise {} async initialize(): Promise { - return this.needsMnemonic(!!this.#secp256k1MasterKey && !!this.#ed25519MasterKey && !!this.#starkMasterKey, async () => { - const secp256k1MasterKey = await this.#secp256k1MasterKey!; - const ed25519MasterKey = await this.#ed25519MasterKey!; - const starkMasterKey = await this.#starkMasterKey!; - - try { - await Promise.all([ - super.btcInitializeWallet(secp256k1MasterKey), - super.ethInitializeWallet(secp256k1MasterKey), - super.cosmosInitializeWallet(secp256k1MasterKey), - super.osmosisInitializeWallet(secp256k1MasterKey), - super.binanceInitializeWallet(secp256k1MasterKey), - super.starknetInitializeWallet(starkMasterKey), - super.tronInitializeWallet(secp256k1MasterKey), - super.thorchainInitializeWallet(secp256k1MasterKey), - super.mayachainInitializeWallet(secp256k1MasterKey), - super.secretInitializeWallet(secp256k1MasterKey), - super.terraInitializeWallet(secp256k1MasterKey), - super.kavaInitializeWallet(secp256k1MasterKey), - super.arkeoInitializeWallet(secp256k1MasterKey), - super.solanaInitializeWallet(ed25519MasterKey), - super.suiInitializeWallet(ed25519MasterKey), - ]); - - this.#initialized = true; - } catch (e) { - console.error("NativeHDWallet:initialize:error", e); - this.#initialized = false; - await this.wipe(); - } + return this.needsMnemonic( + !!this.#secp256k1MasterKey && !!this.#ed25519MasterKey && !!this.#starkMasterKey, + async () => { + const secp256k1MasterKey = await this.#secp256k1MasterKey!; + const ed25519MasterKey = await this.#ed25519MasterKey!; + const starkMasterKey = await this.#starkMasterKey!; + + try { + await Promise.all([ + super.btcInitializeWallet(secp256k1MasterKey), + super.ethInitializeWallet(secp256k1MasterKey), + super.cosmosInitializeWallet(secp256k1MasterKey), + super.osmosisInitializeWallet(secp256k1MasterKey), + super.binanceInitializeWallet(secp256k1MasterKey), + super.starknetInitializeWallet(starkMasterKey), + super.tronInitializeWallet(secp256k1MasterKey), + super.thorchainInitializeWallet(secp256k1MasterKey), + super.mayachainInitializeWallet(secp256k1MasterKey), + super.secretInitializeWallet(secp256k1MasterKey), + super.terraInitializeWallet(secp256k1MasterKey), + super.kavaInitializeWallet(secp256k1MasterKey), + super.arkeoInitializeWallet(secp256k1MasterKey), + super.solanaInitializeWallet(ed25519MasterKey), + super.suiInitializeWallet(ed25519MasterKey), + ]); + + this.#initialized = true; + } catch (e) { + console.error("NativeHDWallet:initialize:error", e); + this.#initialized = false; + await this.wipe(); + } - return this.#initialized; - }); + return this.#initialized; + } + ); } async ping(msg: core.Ping): Promise { diff --git a/packages/hdwallet-native/src/starknet.ts b/packages/hdwallet-native/src/starknet.ts index d63c08580..626c180e4 100644 --- a/packages/hdwallet-native/src/starknet.ts +++ b/packages/hdwallet-native/src/starknet.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ import * as core from "@shapeshiftoss/hdwallet-core"; import { Isolation } from "./crypto"; @@ -34,24 +35,37 @@ export function MixinNativeStarknetWallet { - return this.needsMnemonic(!!this.starknetAdapter, () => { - return this.starknetAdapter!.getAddress(msg.addressNList); + console.log("[NativeStarknetWallet.starknetGetAddress] Called with:", JSON.stringify(msg)); + console.log("[NativeStarknetWallet.starknetGetAddress] Adapter exists:", !!this.starknetAdapter); + return this.needsMnemonic(!!this.starknetAdapter, async () => { + const address = await this.starknetAdapter!.getAddress(msg.addressNList); + console.log("[NativeStarknetWallet.starknetGetAddress] Result:", address); + return address; }); } async starknetGetPublicKey(msg: core.StarknetGetPublicKey): Promise { - return this.needsMnemonic(!!this.starknetAdapter, () => { - return this.starknetAdapter!.getPublicKey(msg.addressNList); + console.log("[NativeStarknetWallet.starknetGetPublicKey] Called with:", JSON.stringify(msg)); + console.log("[NativeStarknetWallet.starknetGetPublicKey] Adapter exists:", !!this.starknetAdapter); + return this.needsMnemonic(!!this.starknetAdapter, async () => { + const publicKey = await this.starknetAdapter!.getPublicKey(msg.addressNList); + console.log("[NativeStarknetWallet.starknetGetPublicKey] Result:", publicKey); + return publicKey; }); } async starknetSignTx(msg: core.StarknetSignTx): Promise { + console.log("[NativeStarknetWallet.starknetSignTx] Called with:", JSON.stringify(msg)); + console.log("[NativeStarknetWallet.starknetSignTx] Adapter exists:", !!this.starknetAdapter); return this.needsMnemonic(!!this.starknetAdapter, async () => { const signature = await this.starknetAdapter!.signTransaction(msg.txHash, msg.addressNList); + console.log("[NativeStarknetWallet.starknetSignTx] Signature:", JSON.stringify(signature)); - return { + const result = { signature, }; + console.log("[NativeStarknetWallet.starknetSignTx] Result:", JSON.stringify(result)); + return result; }); } }; From 95aff1c3cc5a1e328fdb9c97e4f463ea07c8a72b Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 17:05:58 +0100 Subject: [PATCH 12/44] chore: version packages to 1.62.33-starknet.3 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 51e96f469..7e7e1c47a 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.3", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index 1888a4593..ebeb342d6 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.3", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index 8a0080b9f..db8438f25 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index f110b514e..623d34659 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 10863ab46..70b17e207 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index ab48f7844..7973ab690 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index e8f8f4681..d759c3527 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 2f0794038..cf6d9699e 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index ca6116be1..1e630fb9c 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index de7456d8b..5a8e11e64 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 754bb15bf..e830dc8ae 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index f1ffe8bc1..5cc0195f6 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.2" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 91718c819..14018091d 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 56441e262..7a2858b59 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 36cba237b..9b045a7e6 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.3", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 9f529a042..71a42adc3 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.3", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 3fd52c90e..04c3a4e72 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index a48f4f249..23345983e 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index fdab3fb5f..dfd8ca6ae 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.3", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index a82b3fb22..58229d016 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 128938921..38b775171 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 346d88ffb..f7065352e 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 74313baf4..16cebedf8 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.3", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 34737d4fc..2aaed76e4 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 148303189..34461b42b 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 346600dc5..39e4f6649 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index d35d4d81a..65b4502be 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.2", + "version": "1.62.33-starknet.3", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.2", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 754eee587e9c13e9536a0fc11cc2a1d1bd2963e6 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 17:19:20 +0100 Subject: [PATCH 13/44] fix: make starkMasterKey optional in initialize --- packages/hdwallet-native/src/native.ts | 70 +++++++++++++------------- 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index 9b5259f30..3c51c8d13 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -384,42 +384,44 @@ export class NativeHDWallet async clearSession(): Promise {} async initialize(): Promise { - return this.needsMnemonic( - !!this.#secp256k1MasterKey && !!this.#ed25519MasterKey && !!this.#starkMasterKey, - async () => { - const secp256k1MasterKey = await this.#secp256k1MasterKey!; - const ed25519MasterKey = await this.#ed25519MasterKey!; - const starkMasterKey = await this.#starkMasterKey!; - - try { - await Promise.all([ - super.btcInitializeWallet(secp256k1MasterKey), - super.ethInitializeWallet(secp256k1MasterKey), - super.cosmosInitializeWallet(secp256k1MasterKey), - super.osmosisInitializeWallet(secp256k1MasterKey), - super.binanceInitializeWallet(secp256k1MasterKey), - super.starknetInitializeWallet(starkMasterKey), - super.tronInitializeWallet(secp256k1MasterKey), - super.thorchainInitializeWallet(secp256k1MasterKey), - super.mayachainInitializeWallet(secp256k1MasterKey), - super.secretInitializeWallet(secp256k1MasterKey), - super.terraInitializeWallet(secp256k1MasterKey), - super.kavaInitializeWallet(secp256k1MasterKey), - super.arkeoInitializeWallet(secp256k1MasterKey), - super.solanaInitializeWallet(ed25519MasterKey), - super.suiInitializeWallet(ed25519MasterKey), - ]); - - this.#initialized = true; - } catch (e) { - console.error("NativeHDWallet:initialize:error", e); - this.#initialized = false; - await this.wipe(); - } + return this.needsMnemonic(!!this.#secp256k1MasterKey && !!this.#ed25519MasterKey, async () => { + const secp256k1MasterKey = await this.#secp256k1MasterKey!; + const ed25519MasterKey = await this.#ed25519MasterKey!; + const starkMasterKey = this.#starkMasterKey ? await this.#starkMasterKey : undefined; + + const initPromises = [ + super.btcInitializeWallet(secp256k1MasterKey), + super.ethInitializeWallet(secp256k1MasterKey), + super.cosmosInitializeWallet(secp256k1MasterKey), + super.osmosisInitializeWallet(secp256k1MasterKey), + super.binanceInitializeWallet(secp256k1MasterKey), + super.tronInitializeWallet(secp256k1MasterKey), + super.thorchainInitializeWallet(secp256k1MasterKey), + super.mayachainInitializeWallet(secp256k1MasterKey), + super.secretInitializeWallet(secp256k1MasterKey), + super.terraInitializeWallet(secp256k1MasterKey), + super.kavaInitializeWallet(secp256k1MasterKey), + super.arkeoInitializeWallet(secp256k1MasterKey), + super.solanaInitializeWallet(ed25519MasterKey), + super.suiInitializeWallet(ed25519MasterKey), + ]; + + if (starkMasterKey) { + initPromises.push(super.starknetInitializeWallet(starkMasterKey)); + } - return this.#initialized; + try { + await Promise.all(initPromises); + + this.#initialized = true; + } catch (e) { + console.error("NativeHDWallet:initialize:error", e); + this.#initialized = false; + await this.wipe(); } - ); + + return this.#initialized; + }); } async ping(msg: core.Ping): Promise { From 9b8ee2b4d0ec03a8eb05ecfa93a1879a5c80ac62 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 17:19:31 +0100 Subject: [PATCH 14/44] chore: version packages to 1.62.33-starknet.4 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 7e7e1c47a..a3505ba17 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.4", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index ebeb342d6..c55ad2963 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.4", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index db8438f25..80e954f3f 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 623d34659..696202aef 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 70b17e207..54ffbb724 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 7973ab690..853df740e 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index d759c3527..a03388925 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index cf6d9699e..29e26041d 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 1e630fb9c..b3ad93891 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 5a8e11e64..f8feb54c8 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index e830dc8ae..ca2fa7cbc 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 5cc0195f6..f350f928b 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.3" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 14018091d..34aab45ff 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 7a2858b59..2ab7efc04 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 9b045a7e6..21487cb81 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.4", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 71a42adc3..9007628cb 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.4", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 04c3a4e72..f869ca55e 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 23345983e..4552500d9 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index dfd8ca6ae..c59696de9 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.4", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 58229d016..fd6576c19 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 38b775171..1a0d15928 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index f7065352e..428f7641e 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 16cebedf8..610f19d14 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.4", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 2aaed76e4..ed8bfd473 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 34461b42b..359c41b1d 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 39e4f6649..badd3e6ff 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index 65b4502be..1c8f40b77 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.3", + "version": "1.62.33-starknet.4", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.3", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 41c6e7aabe12af50172c9358a11de98ccf6b378b Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 17:31:39 +0100 Subject: [PATCH 15/44] feat: add initialization logging --- packages/hdwallet-native/src/native.ts | 28 +++++++++++++++++++++++- packages/hdwallet-native/src/starknet.ts | 3 +++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index 3c51c8d13..361cb7dca 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ import * as core from "@shapeshiftoss/hdwallet-core"; import * as bip39 from "bip39"; import base58 from "bs58"; @@ -383,11 +384,32 @@ export class NativeHDWallet // eslint-disable-next-line @typescript-eslint/no-empty-function async clearSession(): Promise {} + // eslint-disable-next-line no-console async initialize(): Promise { + console.log("[NativeHDWallet.initialize] Starting initialization"); + console.log("[NativeHDWallet.initialize] Master keys exist:", { + secp256k1: !!this.#secp256k1MasterKey, + ed25519: !!this.#ed25519MasterKey, + stark: !!this.#starkMasterKey, + }); + return this.needsMnemonic(!!this.#secp256k1MasterKey && !!this.#ed25519MasterKey, async () => { + console.log("[NativeHDWallet.initialize] Awaiting master keys..."); const secp256k1MasterKey = await this.#secp256k1MasterKey!; const ed25519MasterKey = await this.#ed25519MasterKey!; - const starkMasterKey = this.#starkMasterKey ? await this.#starkMasterKey : undefined; + console.log("[NativeHDWallet.initialize] secp256k1 and ed25519 keys obtained"); + + let starkMasterKey: Isolation.Core.Stark.Node | undefined; + if (this.#starkMasterKey) { + try { + starkMasterKey = await this.#starkMasterKey; + console.log("[NativeHDWallet.initialize] Stark master key obtained"); + } catch (err) { + console.error("[NativeHDWallet.initialize] Error getting stark master key:", err); + } + } else { + console.log("[NativeHDWallet.initialize] No stark master key promise"); + } const initPromises = [ super.btcInitializeWallet(secp256k1MasterKey), @@ -407,10 +429,14 @@ export class NativeHDWallet ]; if (starkMasterKey) { + console.log("[NativeHDWallet.initialize] Adding starknet initialization"); initPromises.push(super.starknetInitializeWallet(starkMasterKey)); + } else { + console.log("[NativeHDWallet.initialize] Skipping starknet initialization - no master key"); } try { + console.log("[NativeHDWallet.initialize] Running Promise.all for wallet initializations..."); await Promise.all(initPromises); this.#initialized = true; diff --git a/packages/hdwallet-native/src/starknet.ts b/packages/hdwallet-native/src/starknet.ts index 626c180e4..2bd5a6e40 100644 --- a/packages/hdwallet-native/src/starknet.ts +++ b/packages/hdwallet-native/src/starknet.ts @@ -26,8 +26,11 @@ export function MixinNativeStarknetWallet { + console.log("[MixinNativeStarknetWallet.starknetInitializeWallet] Called with masterKey:", !!masterKey); const nodeAdapter = new Isolation.Adapters.Stark(masterKey); + console.log("[MixinNativeStarknetWallet.starknetInitializeWallet] Node adapter created"); this.starknetAdapter = new StarknetAdapter(nodeAdapter); + console.log("[MixinNativeStarknetWallet.starknetInitializeWallet] StarknetAdapter created and assigned"); } starknetWipe() { From 1a84c9be5f0dea4135ee3ae212715d2d0dff1ebd Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 17:31:41 +0100 Subject: [PATCH 16/44] chore: version packages to 1.62.33-starknet.5 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index a3505ba17..8ce6d1d4c 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.5", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index c55ad2963..4a98660a3 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.5", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index 80e954f3f..5d110f11e 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 696202aef..c8ea350cb 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 54ffbb724..03f45c2a8 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 853df740e..da0435e88 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index a03388925..0d1c41e61 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 29e26041d..ff5c89b46 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index b3ad93891..a0307b280 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index f8feb54c8..124b6cf06 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index ca2fa7cbc..3375fed88 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index f350f928b..f4a66bef5 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.4" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 34aab45ff..7f4e04589 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 2ab7efc04..7774b22c7 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 21487cb81..a7064a66a 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.5", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 9007628cb..ee3767d09 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.5", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index f869ca55e..b0af011cb 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 4552500d9..49aa23550 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index c59696de9..9fdfd698d 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.5", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index fd6576c19..827e36359 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 1a0d15928..3e585ba28 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 428f7641e..c7a7d52d4 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 610f19d14..d04eb401b 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.5", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index ed8bfd473..3abec0945 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 359c41b1d..37529be0a 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index badd3e6ff..592cbd9d0 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index 1c8f40b77..85d6a7250 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.4", + "version": "1.62.33-starknet.5", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.4", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From e71eaa3afa0eb2b1dd9ab3048d59d42ef496e77e Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 17:44:14 +0100 Subject: [PATCH 17/44] fix: stark master key initialization in constructor --- packages/hdwallet-native/src/adapter.ts | 2 ++ packages/hdwallet-native/src/native.ts | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/hdwallet-native/src/adapter.ts b/packages/hdwallet-native/src/adapter.ts index f3ce19805..76a04d06e 100644 --- a/packages/hdwallet-native/src/adapter.ts +++ b/packages/hdwallet-native/src/adapter.ts @@ -10,11 +10,13 @@ export type NativeAdapterArgs = { mnemonic?: string | Isolation.Core.BIP39.Mnemonic; secp256k1MasterKey?: never; ed25519MasterKey?: never; + starkMasterKey?: never; } | { mnemonic?: never; secp256k1MasterKey?: Isolation.Core.BIP32.Node; ed25519MasterKey?: Isolation.Core.Ed25519.Node; + starkMasterKey?: Isolation.Core.Stark.Node; } ); diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index 361cb7dca..e2ad1659e 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -282,7 +282,7 @@ export class NativeHDWallet #ed25519MasterKey: Promise | undefined = undefined; #starkMasterKey: Promise | undefined = undefined; - constructor({ mnemonic, deviceId, secp256k1MasterKey, ed25519MasterKey }: NativeAdapterArgs) { + constructor({ mnemonic, deviceId, secp256k1MasterKey, ed25519MasterKey, starkMasterKey }: NativeAdapterArgs) { super(); if (mnemonic) { this.#secp256k1MasterKey = (async () => { @@ -306,6 +306,7 @@ export class NativeHDWallet } else { if (secp256k1MasterKey) this.#secp256k1MasterKey = Promise.resolve(secp256k1MasterKey); if (ed25519MasterKey) this.#ed25519MasterKey = Promise.resolve(ed25519MasterKey); + if (starkMasterKey) this.#starkMasterKey = Promise.resolve(starkMasterKey); } this.#deviceId = deviceId; } From 63b360da1ff9eb53c874aa616dff993dcf7249b9 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 17:45:51 +0100 Subject: [PATCH 18/44] chore: version packages to 1.62.33-starknet.6 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 8ce6d1d4c..38c445a0e 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.6", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index 4a98660a3..aaa92fee6 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.6", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index 5d110f11e..ed6c643a0 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index c8ea350cb..4e8121e66 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 03f45c2a8..52a5b7c1f 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index da0435e88..e671dd81f 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 0d1c41e61..94547499e 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index ff5c89b46..a7a6c16c8 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index a0307b280..63f0fc28f 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 124b6cf06..9894c87df 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 3375fed88..49bd12cff 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index f4a66bef5..92eab2aae 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.5" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 7f4e04589..7d113a149 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 7774b22c7..275b5d206 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index a7064a66a..1d4d00a35 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.6", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index ee3767d09..946293ae0 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.6", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index b0af011cb..1a408f954 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 49aa23550..80de0678d 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 9fdfd698d..f222c5073 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.6", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 827e36359..5ad55d1c0 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 3e585ba28..4fa4bf1d1 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index c7a7d52d4..56b3114c2 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index d04eb401b..7e995e263 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.6", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 3abec0945..02ad69cba 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 37529be0a..dc1d61bad 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 592cbd9d0..4ced92734 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index 85d6a7250..06e18dfe5 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.5", + "version": "1.62.33-starknet.6", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.5", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From cd03b7631fef3fd857636013d085658d09f046cd Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 17:47:11 +0100 Subject: [PATCH 19/44] chore: version packages to 1.62.33-starknet.6 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 38c445a0e..723261f9d 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.7", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index aaa92fee6..c7c825f4b 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.7", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index ed6c643a0..0885acc5d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 4e8121e66..4c483b398 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 52a5b7c1f..00efa9f18 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index e671dd81f..814558dde 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 94547499e..351eb8dee 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index a7a6c16c8..a41ee1645 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 63f0fc28f..f44985c0f 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 9894c87df..40648936c 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 49bd12cff..eea5ad739 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 92eab2aae..9a2333703 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.6" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 7d113a149..68ffe63c2 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 275b5d206..71be8c1e3 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 1d4d00a35..a196e1e26 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.7", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 946293ae0..98966eccf 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.7", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 1a408f954..ed9831357 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 80de0678d..0539ea0e7 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index f222c5073..3064d08c7 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.7", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 5ad55d1c0..d10dfd30c 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 4fa4bf1d1..00a56625e 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 56b3114c2..35a337ae1 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 7e995e263..cdea2ea56 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.7", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 02ad69cba..d2ebea126 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index dc1d61bad..4f993fc52 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 4ced92734..0d3d6f344 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index 06e18dfe5..cb905ee9c 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.6", + "version": "1.62.33-starknet.7", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.6", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 2d43148af32eb341fc87bc1b50e4ac2c34b609eb Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 17:59:14 +0100 Subject: [PATCH 20/44] fix: add stark master key to loadDevice --- packages/hdwallet-native/src/native.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index e2ad1659e..3ef891f32 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -40,11 +40,13 @@ type LoadDevice = Omit & { mnemonic: string | Isolation.Core.BIP39.Mnemonic; secp256k1MasterKey?: never; ed25519MasterKey?: never; + starkMasterKey?: never; } | { mnemonic?: never; secp256k1MasterKey: Isolation.Core.BIP32.Node; ed25519MasterKey: Isolation.Core.Ed25519.Node; + starkMasterKey: Isolation.Core.Stark.Node; } ); @@ -549,6 +551,28 @@ export class NativeHDWallet })(msg?.mnemonic, msg?.ed25519MasterKey) ); + this.#starkMasterKey = Promise.resolve( + await (async (mnemonic, starkMasterKey) => { + if (starkMasterKey !== undefined) { + return starkMasterKey; + } else if (mnemonic !== undefined) { + const isolatedMnemonic = await (async () => { + if (isMnemonicInterface(mnemonic)) return mnemonic; + if (typeof mnemonic === "string" && bip39.validateMnemonic(mnemonic)) { + return await Isolation.Engines.Default.BIP39.Mnemonic.create(mnemonic); + } + throw new Error("Required property [mnemonic] is invalid"); + })(); + const seed = await isolatedMnemonic.toSeed(); + seed.addRevoker?.(() => isolatedMnemonic.revoke?.()); + const out = await seed.toStarkMasterKey(); + out.addRevoker?.(() => seed.revoke?.()); + return out; + } + throw new Error("Either [mnemonic] or [starkMasterKey] is required"); + })(msg?.mnemonic, msg?.starkMasterKey) + ); + if (typeof msg?.deviceId === "string") this.#deviceId = msg?.deviceId; this.#initialized = false; From 81966c7ac2ab3f63ae5c77c8cb4005a4dd1d9398 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 18:00:16 +0100 Subject: [PATCH 21/44] chore: version packages to 1.62.33-starknet.8 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 723261f9d..3d8a52e55 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.8", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index c7c825f4b..db07a0fa0 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.8", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index 0885acc5d..6df3ea03a 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 4c483b398..1714143cd 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 00efa9f18..07b476192 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 814558dde..9b697075c 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 351eb8dee..845f77491 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index a41ee1645..580a98c8b 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index f44985c0f..d0b6c7bf3 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 40648936c..7e83ec1c2 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index eea5ad739..b5154c87e 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 9a2333703..06f621c02 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.7" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 68ffe63c2..0544e1167 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 71be8c1e3..afab8b979 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index a196e1e26..9c22c87f0 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.8", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 98966eccf..159d069fe 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.8", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index ed9831357..6271ede2a 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 0539ea0e7..6e7a5988a 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 3064d08c7..4480b7863 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.8", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index d10dfd30c..220f52999 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 00a56625e..2460544bd 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 35a337ae1..7b4114734 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index cdea2ea56..495ac59c5 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.8", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index d2ebea126..57a94a9b1 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 4f993fc52..c33666767 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 0d3d6f344..455c35e6a 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index cb905ee9c..ec8888dbb 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.7", + "version": "1.62.33-starknet.8", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.7", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 1a2fc8cc10071453aa060dee59f9999c1ded7711 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 18:13:15 +0100 Subject: [PATCH 22/44] fix: support non-hardened derivation in stark engine --- .../src/crypto/isolation/engines/default/stark.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts index e3325da7f..ebc5911f2 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts @@ -76,10 +76,16 @@ export class Node extends Revocable(class {}) implements Core.Stark.Node { const serP = Buffer.alloc(37); if (index < 0x80000000) { - // Non-hardened derivation: not supported for Starknet (should always use hardened) - // But we include for completeness per BIP32 spec - throw new Error("Starknet derivation requires hardened indices"); + // Non-hardened derivation uses public key + // For Stark, we use secp256k1 public key for BIP32 derivation (industry standard) + // The grinding + Stark operations happen only in final getPublicKey/sign + const secp256k1PubKey = ecc.pointFromScalar(this.#privateKey, true); + if (secp256k1PubKey === null) { + throw new Error("Failed to generate public key from private key"); + } + serP.set(secp256k1PubKey, 0); } else { + // Hardened derivation uses private key serP.set(this.#privateKey, 1); } serP.writeUInt32BE(index, 33); From 6f8d24e9b1941966b00695762337a5b3b193dde3 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 18:17:03 +0100 Subject: [PATCH 23/44] chore: version packages to 1.62.33-starknet.9 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 3d8a52e55..69e9f38b7 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.9", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index db07a0fa0..e7595b73b 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.9", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index 6df3ea03a..4ee5056da 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 1714143cd..3b477b083 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 07b476192..799ecdc5c 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 9b697075c..502ba4894 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 845f77491..8debe88a7 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 580a98c8b..c28114527 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index d0b6c7bf3..611944350 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 7e83ec1c2..000156c8f 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index b5154c87e..62176bb1f 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 06f621c02..61fb993bb 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.8" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 0544e1167..68b246dc2 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index afab8b979..bdcab25c9 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 9c22c87f0..474924824 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.9", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 159d069fe..b5f3bac0e 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.9", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 6271ede2a..cbecc54cf 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 6e7a5988a..b7481476d 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 4480b7863..70eff6826 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.9", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 220f52999..0f94fb6b7 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 2460544bd..8ffe51a22 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 7b4114734..ec53e4e5f 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 495ac59c5..f8fa90d96 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.9", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 57a94a9b1..e51865eb1 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index c33666767..9c38cbfe8 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 455c35e6a..07f5304e2 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index ec8888dbb..d0cec0c13 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.8", + "version": "1.62.33-starknet.9", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.8", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From ae0cfa5e27cdd2a740bd32a580bcfaaa35f0f2cc Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 18:24:37 +0100 Subject: [PATCH 24/44] fix: compute actual contract address instead of returning public key --- .../src/crypto/isolation/adapters/starknet.ts | 24 +++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts index 2dde2963f..d83770ec4 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts @@ -1,5 +1,6 @@ /* eslint-disable no-console */ import * as core from "@shapeshiftoss/hdwallet-core"; +import { CallData, hash } from "starknet"; import { Isolation } from "../.."; @@ -12,6 +13,9 @@ import { Isolation } from "../.."; export class StarknetAdapter { protected readonly nodeAdapter: Isolation.Adapters.Stark; + // OpenZeppelin account v0.15.0-rc.0 class hash (used by most wallets) + private readonly OZ_ACCOUNT_CLASS_HASH = "0x05b4b537eaa2399e3aa99c4e2e0208ebd6c71bc1467938cd52c798c601e43564"; + constructor(nodeAdapter: Isolation.Adapters.Stark) { this.nodeAdapter = nodeAdapter; } @@ -36,8 +40,7 @@ export class StarknetAdapter { /** * Get Starknet address from BIP32 path - * For Starknet, we derive the private key and compute the corresponding public key. - * The address is computed as a contract address using the public key. + * Computes the counterfactual contract address using OpenZeppelin account implementation */ async getAddress(addressNList: core.BIP32Path): Promise { console.log("[StarknetAdapter.getAddress] Input:", JSON.stringify({ addressNList })); @@ -51,11 +54,18 @@ export class StarknetAdapter { const publicKey = await nodeAdapter.getPublicKey(); console.log("[StarknetAdapter.getAddress] Public key:", publicKey); - // For now, return the public key as the address identifier - // In practice, the actual address depends on the account contract deployment - // This will be the "pre-computed" or "counterfactual" address - console.log("[StarknetAdapter.getAddress] Returning public key as address (TODO: compute actual contract address)"); - return publicKey; + // Compute actual contract address using OpenZeppelin account contract + // This matches what the web is doing for deployment + const constructorCalldata = CallData.compile({ publicKey }); + const contractAddress = hash.calculateContractAddressFromHash( + publicKey, // salt (use public key as salt) + this.OZ_ACCOUNT_CLASS_HASH, // class hash + constructorCalldata, // constructor calldata + 0 // deployer address (0 for counterfactual) + ); + console.log("[StarknetAdapter.getAddress] Contract address:", contractAddress); + + return contractAddress; } /** From e3d0a98c058106de6aa2df14e39b0f152288d627 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 18:25:53 +0100 Subject: [PATCH 25/44] chore: version packages to 1.62.33-starknet.10 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 69e9f38b7..fd177b03b 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.10", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index e7595b73b..2cc242af4 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.10", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index 4ee5056da..33969740b 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 3b477b083..e0640cb68 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 799ecdc5c..ff82b69a7 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 502ba4894..97df3752f 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 8debe88a7..e544a0bc5 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index c28114527..0e1da11d8 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 611944350..6ea2dc24f 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 000156c8f..4866933ed 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 62176bb1f..163042e9f 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 61fb993bb..94af3aae6 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.9" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 68b246dc2..b13f2a221 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index bdcab25c9..d786f96a3 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 474924824..93f76d967 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.10", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index b5f3bac0e..f87dee03a 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.10", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index cbecc54cf..148025ea8 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index b7481476d..061f9662e 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 70eff6826..e00b5bff2 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.10", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 0f94fb6b7..4b9ee5bd4 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 8ffe51a22..805e8171e 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index ec53e4e5f..f1d8dd2af 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index f8fa90d96..eb62ca687 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.10", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index e51865eb1..b76df836f 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 9c38cbfe8..baf9f6e84 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 07f5304e2..287c05874 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index d0cec0c13..aad62f2c3 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.9", + "version": "1.62.33-starknet.10", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.9", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From dce57a5fed1e2633ddd3be77a507d9feac75cdf9 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 18:30:19 +0100 Subject: [PATCH 26/44] docs: add STARK curve and Starknet spec references --- .../src/crypto/isolation/adapters/stark.ts | 13 ++++++++ .../crypto/isolation/engines/default/stark.ts | 32 ++++++++++++++++--- 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/stark.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/stark.ts index fe806cf18..af6cdfab5 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/stark.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/stark.ts @@ -6,6 +6,19 @@ import { Stark } from "../core"; * Simple wrapper around Stark.Node providing derivation utilities. * The Stark Node handles all Starknet-specific operations (key grinding, * STARK curve public keys, and ECDSA signing on STARK curve). + * + * STARK Curve Specifications: + * - Curve type: Weierstrass (y² = x³ + ax + b) + * - Prime field (p): 2^251 + 17×2^192 + 1 (251-bit) + * - Curve parameters: a = 1, b = π (3141592...) + * - Curve order (n): 252-bit + * + * References: + * - STARK Curve Spec: https://docs.starkware.co/starkex/crypto/stark-curve.html + * - Key Derivation: https://docs.starkware.co/starkex/crypto/key-derivation.html + * - Account Standard: https://community.starknet.io/t/account-keys-and-addresses-derivation-standard/1230 + * - Starknet Cryptography: https://docs.starknet.io/architecture/cryptography/ + * - @scure/starknet: https://github.com/paulmillr/scure-starknet */ export class StarkAdapter { readonly node: Stark.Node; diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts index ebc5911f2..21f893616 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts @@ -11,12 +11,34 @@ export * from "../../core/stark"; /** * Stark curve Node for Starknet * - * Uses standard BIP32 secp256k1 derivation (same as Bitcoin/Ethereum), - * but applies Starknet-specific key grinding and uses STARK curve for - * public key generation and signing operations. + * DERIVATION APPROACH: + * Uses standard BIP32 secp256k1 derivation (same as Bitcoin/Ethereum) per SLIP-0010, + * then applies Starknet-specific key grinding and uses STARK curve for final operations. * - * This matches industry standard implementations (Argent, Ledger) which - * derive using secp256k1 BIP32 math, then apply grinding for Stark operations. + * This matches industry standard implementations (Argent, Ledger) which derive using + * secp256k1 BIP32 math, then apply grinding for Stark operations. + * + * STARK CURVE SPECIFICATIONS: + * - Type: Weierstrass elliptic curve (y² = x³ + ax + b) + * - Prime field (p): 2^251 + 17×2^192 + 1 = 3618502788666131213697322783095070105623107215331596699973092056135872020481 + * - Curve order (n): 3618502788666131213697322783095070105526743751716087489154079457884512865583 + * - Parameters: a = 1, b = 3141592653589793238462643383279502884197169399375105820974944592307816406665 + * - Bit length: 252 bits (vs 256 for secp256k1) + * - Generator: (874739451078007766457464989774322083649278607533249481151382481072868806602, 152666792071518830868575557812948353041420400780739481342941381225525861407) + * + * KEY GRINDING: + * Starknet requires "key grinding" to ensure derived private keys fall within the STARK curve order. + * The grinding algorithm iteratively hashes until finding a valid key: hash(key||i) mod stark_order. + * See: https://docs.starkware.co/starkex/crypto/key-derivation.html + * + * REFERENCES: + * - STARK Curve: https://docs.starkware.co/starkex/crypto/stark-curve.html + * - Key Derivation: https://docs.starkware.co/starkex/crypto/key-derivation.html + * - Community Standard (BIP-44 preferred): https://community.starknet.io/t/account-keys-and-addresses-derivation-standard/1230 + * - Starknet Cryptography: https://docs.starknet.io/architecture/cryptography/ + * - SLIP-0010 (HD wallet standard): https://github.com/satoshilabs/slips/blob/master/slip-0010.md + * - @scure/starknet (implementation): https://github.com/paulmillr/scure-starknet + * - Argent reference: https://github.com/argentlabs/argent-starknet-recover/blob/main/keyDerivation.ts */ export class Node extends Revocable(class {}) implements Core.Stark.Node { readonly #privateKey: Buffer & ByteArray<32>; From 746cf06a888caaf78385fca85d80ba97e550d39a Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 18:30:48 +0100 Subject: [PATCH 27/44] docs: add comprehensive Stark curve documentation and references --- .../src/crypto/isolation/adapters/starknet.ts | 22 ++++++++++++++ .../crypto/isolation/core/stark/interfaces.ts | 29 +++++++++++++++++-- 2 files changed, 48 insertions(+), 3 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts index d83770ec4..184f7030e 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts @@ -9,11 +9,33 @@ import { Isolation } from "../.."; * * Uses dedicated Stark engine with STARK curve operations instead of * polluting the generic BIP32 secp256k1 engine with chain-specific code. + * + * ACCOUNT ABSTRACTION: + * All Starknet accounts are smart contracts (no EOAs). The account address is computed from: + * - Account contract class hash (OpenZeppelin, Argent, Braavos implementations) + * - Constructor calldata (including public key) + * - Salt (typically the public key) + * - Deployer address (0 for counterfactual deployment) + * + * DERIVATION PATH: + * Uses BIP-44 format: m/44'/9004'/accountIdx'/0/0 + * - SLIP-044 coin type: 9004 (Starknet) + * - Community consensus: BIP-44 preferred over EIP-2645 + * - See: https://community.starknet.io/t/account-keys-and-addresses-derivation-standard/1230 + * + * REFERENCES: + * - Starknet Account Architecture: https://docs.starknet.io/architecture/accounts/ + * - Account Abstraction Part I: https://medium.com/starknet-edu/account-abstraction-on-starknet-part-i-2ff84c6a3c30 + * - Account Abstraction Part II: https://medium.com/starknet-edu/account-abstraction-on-starknet-part-ii-24d52874e0bd + * - Account Creation Guide: https://starknetjs.com/docs/guides/create_account/ + * - OpenZeppelin Accounts: https://docs.openzeppelin.com/contracts-cairo/0.14.0/accounts + * - SLIP-044 Registry: https://github.com/satoshilabs/slips/blob/master/slip-0044.md */ export class StarknetAdapter { protected readonly nodeAdapter: Isolation.Adapters.Stark; // OpenZeppelin account v0.15.0-rc.0 class hash (used by most wallets) + // See: https://docs.openzeppelin.com/contracts-cairo/0.14.0/accounts private readonly OZ_ACCOUNT_CLASS_HASH = "0x05b4b537eaa2399e3aa99c4e2e0208ebd6c71bc1467938cd52c798c601e43564"; constructor(nodeAdapter: Isolation.Adapters.Stark) { diff --git a/packages/hdwallet-native/src/crypto/isolation/core/stark/interfaces.ts b/packages/hdwallet-native/src/crypto/isolation/core/stark/interfaces.ts index 8e53177d7..aca290f3d 100644 --- a/packages/hdwallet-native/src/crypto/isolation/core/stark/interfaces.ts +++ b/packages/hdwallet-native/src/crypto/isolation/core/stark/interfaces.ts @@ -4,14 +4,37 @@ import { ChainCode } from "../bip32"; /** * Stark curve Node interface for Starknet * - * Similar to BIP32.Node but uses STARK curve for public key and signing operations. - * Derivation follows standard BIP32 with secp256k1 arithmetic (per industry standard), - * then applies Starknet-specific key grinding for final operations. + * OVERVIEW: + * Implements hierarchical deterministic key derivation for Starknet using the STARK curve. + * Uses standard BIP32 secp256k1 derivation math (per SLIP-0010 and industry standard), + * then applies Starknet-specific key grinding for public key generation and signing. + * + * STARK CURVE: + * - Weierstrass curve: y² = x³ + ax + b (mod p) + * - Prime field: p = 2^251 + 17×2^192 + 1 (251-bit, not 256-bit like secp256k1) + * - Parameters: a = 1, b = π + * - Different from secp256k1, requires separate implementation + * - Spec: https://docs.starkware.co/starkex/crypto/stark-curve.html + * + * KEY METHODS: + * - getPublicKey(): Returns Stark public key (after grinding) as hex string + * - sign(): ECDSA signature on STARK curve, returns {r, s} with 64-char hex padding + * - derive(): BIP32 child key derivation using secp256k1 field arithmetic + * + * REFERENCES: + * - STARK Curve: https://docs.starkware.co/starkex/crypto/stark-curve.html + * - Key Grinding: https://docs.starkware.co/starkex/crypto/key-derivation.html + * - Starknet Cryptography: https://docs.starknet.io/architecture/cryptography/ + * - SLIP-0010: https://github.com/satoshilabs/slips/blob/master/slip-0010.md */ export interface Node extends Partial { readonly explicitPath?: string; + /** Get Stark public key (applies key grinding, returns hex string) */ getPublicKey(): Promise; + /** Get BIP32 chain code for derivation */ getChainCode(): Promise; + /** Derive child key using BIP32 secp256k1 math (per industry standard) */ derive(index: number): Promise; + /** Sign transaction hash on STARK curve (returns padded 64-char hex r,s) */ sign(txHash: string): Promise<{ r: string; s: string }>; } From 48b924fa898ab99d5a8c14aec599e35e84815100 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 18:31:50 +0100 Subject: [PATCH 28/44] docs: add comments explaining Stark master key in bip32, dummy, and adapter --- packages/hdwallet-native/src/adapter.ts | 15 +++++++++++++++ .../src/crypto/isolation/engines/default/bip32.ts | 13 +++++++++++++ .../src/crypto/isolation/engines/dummy/bip32.ts | 4 ++++ 3 files changed, 32 insertions(+) diff --git a/packages/hdwallet-native/src/adapter.ts b/packages/hdwallet-native/src/adapter.ts index 76a04d06e..9603997bc 100644 --- a/packages/hdwallet-native/src/adapter.ts +++ b/packages/hdwallet-native/src/adapter.ts @@ -3,6 +3,21 @@ import * as core from "@shapeshiftoss/hdwallet-core"; import * as Isolation from "./crypto/isolation"; import * as native from "./native"; +/** + * NativeAdapter arguments + * + * Supports two initialization modes: + * 1. From mnemonic: Wallet derives all master keys (secp256k1, ed25519, stark) + * 2. From master keys: Externally-provided master keys for each curve type + * + * MASTER KEY TYPES: + * - secp256k1MasterKey: For Bitcoin, Ethereum, Tron, Cosmos chains + * - ed25519MasterKey: For Solana, Sui chains + * - starkMasterKey: For Starknet (uses STARK curve, separate from secp256k1) + * + * Note: Starknet uses secp256k1 BIP32 derivation math but STARK curve for signing, + * requiring a separate master key type. See engines/default/stark.ts for details. + */ export type NativeAdapterArgs = { deviceId: string; } & ( diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts index 9e815148a..4d0e0479b 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip32.ts @@ -186,6 +186,19 @@ export class Seed extends Revocable(class {}) implements Core.BIP32.Seed { return out; } + /** + * Create Stark master key for Starknet + * + * Uses "Bitcoin seed" HMAC key per SLIP-0010 because Starknet follows the + * industry standard of using secp256k1 BIP32 derivation math, then applying + * Stark-specific operations (grinding, STARK curve signing) only at the end. + * + * This matches implementations by Argent and Ledger. + * + * References: + * - https://github.com/argentlabs/argent-starknet-recover/blob/main/keyDerivation.ts + * - https://community.starknet.io/t/account-keys-and-addresses-derivation-standard/1230 + */ async toStarkMasterKey(): Promise { // Use "Bitcoin seed" per SLIP-0010 standard for secp256k1-based derivation // Starknet uses standard BIP32 secp256k1 derivation, then applies grinding diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/dummy/bip32.ts b/packages/hdwallet-native/src/crypto/isolation/engines/dummy/bip32.ts index be42af1d0..edcebcf83 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/dummy/bip32.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/dummy/bip32.ts @@ -119,6 +119,10 @@ export class Seed implements Core.BIP32.Seed { throw new DummyEngineError(); } + /** + * Dummy engine doesn't support Stark curve operations + * Stark curve requires actual private key material for key grinding and signing + */ async toStarkMasterKey(): Promise { throw new DummyEngineError(); } From bac3fa749e73253a5c73ad81c7134f05f796285b Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 18:32:17 +0100 Subject: [PATCH 29/44] refactor: clean up debugging logs and move stark init back to Promise.all --- packages/hdwallet-native/src/native.ts | 67 ++++++++------------------ 1 file changed, 19 insertions(+), 48 deletions(-) diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index 3ef891f32..a0ab4fa89 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -389,58 +389,29 @@ export class NativeHDWallet // eslint-disable-next-line no-console async initialize(): Promise { - console.log("[NativeHDWallet.initialize] Starting initialization"); - console.log("[NativeHDWallet.initialize] Master keys exist:", { - secp256k1: !!this.#secp256k1MasterKey, - ed25519: !!this.#ed25519MasterKey, - stark: !!this.#starkMasterKey, - }); - - return this.needsMnemonic(!!this.#secp256k1MasterKey && !!this.#ed25519MasterKey, async () => { - console.log("[NativeHDWallet.initialize] Awaiting master keys..."); + return this.needsMnemonic(!!this.#secp256k1MasterKey && !!this.#ed25519MasterKey && !!this.#starkMasterKey, async () => { const secp256k1MasterKey = await this.#secp256k1MasterKey!; const ed25519MasterKey = await this.#ed25519MasterKey!; - console.log("[NativeHDWallet.initialize] secp256k1 and ed25519 keys obtained"); - - let starkMasterKey: Isolation.Core.Stark.Node | undefined; - if (this.#starkMasterKey) { - try { - starkMasterKey = await this.#starkMasterKey; - console.log("[NativeHDWallet.initialize] Stark master key obtained"); - } catch (err) { - console.error("[NativeHDWallet.initialize] Error getting stark master key:", err); - } - } else { - console.log("[NativeHDWallet.initialize] No stark master key promise"); - } - - const initPromises = [ - super.btcInitializeWallet(secp256k1MasterKey), - super.ethInitializeWallet(secp256k1MasterKey), - super.cosmosInitializeWallet(secp256k1MasterKey), - super.osmosisInitializeWallet(secp256k1MasterKey), - super.binanceInitializeWallet(secp256k1MasterKey), - super.tronInitializeWallet(secp256k1MasterKey), - super.thorchainInitializeWallet(secp256k1MasterKey), - super.mayachainInitializeWallet(secp256k1MasterKey), - super.secretInitializeWallet(secp256k1MasterKey), - super.terraInitializeWallet(secp256k1MasterKey), - super.kavaInitializeWallet(secp256k1MasterKey), - super.arkeoInitializeWallet(secp256k1MasterKey), - super.solanaInitializeWallet(ed25519MasterKey), - super.suiInitializeWallet(ed25519MasterKey), - ]; - - if (starkMasterKey) { - console.log("[NativeHDWallet.initialize] Adding starknet initialization"); - initPromises.push(super.starknetInitializeWallet(starkMasterKey)); - } else { - console.log("[NativeHDWallet.initialize] Skipping starknet initialization - no master key"); - } + const starkMasterKey = await this.#starkMasterKey!; try { - console.log("[NativeHDWallet.initialize] Running Promise.all for wallet initializations..."); - await Promise.all(initPromises); + await Promise.all([ + super.btcInitializeWallet(secp256k1MasterKey), + super.ethInitializeWallet(secp256k1MasterKey), + super.cosmosInitializeWallet(secp256k1MasterKey), + super.osmosisInitializeWallet(secp256k1MasterKey), + super.binanceInitializeWallet(secp256k1MasterKey), + super.starknetInitializeWallet(starkMasterKey), + super.tronInitializeWallet(secp256k1MasterKey), + super.thorchainInitializeWallet(secp256k1MasterKey), + super.mayachainInitializeWallet(secp256k1MasterKey), + super.secretInitializeWallet(secp256k1MasterKey), + super.terraInitializeWallet(secp256k1MasterKey), + super.kavaInitializeWallet(secp256k1MasterKey), + super.arkeoInitializeWallet(secp256k1MasterKey), + super.solanaInitializeWallet(ed25519MasterKey), + super.suiInitializeWallet(ed25519MasterKey), + ]); this.#initialized = true; } catch (e) { From fb79a67ebb73cbd07cb9e8a960c0fa6f388a66eb Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 19:10:24 +0100 Subject: [PATCH 30/44] fix: pad Starknet public keys to 64 hex chars --- .../src/crypto/isolation/adapters/starknet.ts | 8 +-- .../crypto/isolation/engines/default/stark.ts | 7 +- packages/hdwallet-native/src/native.ts | 67 ++++++++++--------- 3 files changed, 45 insertions(+), 37 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts index 184f7030e..9b3e2d168 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts @@ -80,10 +80,10 @@ export class StarknetAdapter { // This matches what the web is doing for deployment const constructorCalldata = CallData.compile({ publicKey }); const contractAddress = hash.calculateContractAddressFromHash( - publicKey, // salt (use public key as salt) - this.OZ_ACCOUNT_CLASS_HASH, // class hash - constructorCalldata, // constructor calldata - 0 // deployer address (0 for counterfactual) + publicKey, // salt (use public key as salt) + this.OZ_ACCOUNT_CLASS_HASH, // class hash + constructorCalldata, // constructor calldata + 0 // deployer address (0 for counterfactual) ); console.log("[StarknetAdapter.getAddress] Contract address:", contractAddress); diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts index 21f893616..358567b76 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/stark.ts @@ -63,10 +63,15 @@ export class Node extends Revocable(class {}) implements Core.Stark.Node { /** * Get Stark public key * Applies Starknet-specific key grinding before deriving public key on STARK curve + * Returns zero-padded 64-character hex string (66 chars total with 0x prefix) */ async getPublicKey(): Promise { const groundPrivateKey = starknet.grindKey(this.#privateKey); - return starknet.getStarkKey(groundPrivateKey); + const publicKey = starknet.getStarkKey(groundPrivateKey); + // Ensure proper zero-padding to 64 hex characters per Starknet address spec + return publicKey.startsWith("0x") + ? "0x" + publicKey.slice(2).padStart(64, "0") + : "0x" + publicKey.padStart(64, "0"); } async getChainCode() { diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index a0ab4fa89..6641f9604 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -389,39 +389,42 @@ export class NativeHDWallet // eslint-disable-next-line no-console async initialize(): Promise { - return this.needsMnemonic(!!this.#secp256k1MasterKey && !!this.#ed25519MasterKey && !!this.#starkMasterKey, async () => { - const secp256k1MasterKey = await this.#secp256k1MasterKey!; - const ed25519MasterKey = await this.#ed25519MasterKey!; - const starkMasterKey = await this.#starkMasterKey!; - - try { - await Promise.all([ - super.btcInitializeWallet(secp256k1MasterKey), - super.ethInitializeWallet(secp256k1MasterKey), - super.cosmosInitializeWallet(secp256k1MasterKey), - super.osmosisInitializeWallet(secp256k1MasterKey), - super.binanceInitializeWallet(secp256k1MasterKey), - super.starknetInitializeWallet(starkMasterKey), - super.tronInitializeWallet(secp256k1MasterKey), - super.thorchainInitializeWallet(secp256k1MasterKey), - super.mayachainInitializeWallet(secp256k1MasterKey), - super.secretInitializeWallet(secp256k1MasterKey), - super.terraInitializeWallet(secp256k1MasterKey), - super.kavaInitializeWallet(secp256k1MasterKey), - super.arkeoInitializeWallet(secp256k1MasterKey), - super.solanaInitializeWallet(ed25519MasterKey), - super.suiInitializeWallet(ed25519MasterKey), - ]); - - this.#initialized = true; - } catch (e) { - console.error("NativeHDWallet:initialize:error", e); - this.#initialized = false; - await this.wipe(); - } + return this.needsMnemonic( + !!this.#secp256k1MasterKey && !!this.#ed25519MasterKey && !!this.#starkMasterKey, + async () => { + const secp256k1MasterKey = await this.#secp256k1MasterKey!; + const ed25519MasterKey = await this.#ed25519MasterKey!; + const starkMasterKey = await this.#starkMasterKey!; + + try { + await Promise.all([ + super.btcInitializeWallet(secp256k1MasterKey), + super.ethInitializeWallet(secp256k1MasterKey), + super.cosmosInitializeWallet(secp256k1MasterKey), + super.osmosisInitializeWallet(secp256k1MasterKey), + super.binanceInitializeWallet(secp256k1MasterKey), + super.starknetInitializeWallet(starkMasterKey), + super.tronInitializeWallet(secp256k1MasterKey), + super.thorchainInitializeWallet(secp256k1MasterKey), + super.mayachainInitializeWallet(secp256k1MasterKey), + super.secretInitializeWallet(secp256k1MasterKey), + super.terraInitializeWallet(secp256k1MasterKey), + super.kavaInitializeWallet(secp256k1MasterKey), + super.arkeoInitializeWallet(secp256k1MasterKey), + super.solanaInitializeWallet(ed25519MasterKey), + super.suiInitializeWallet(ed25519MasterKey), + ]); + + this.#initialized = true; + } catch (e) { + console.error("NativeHDWallet:initialize:error", e); + this.#initialized = false; + await this.wipe(); + } - return this.#initialized; - }); + return this.#initialized; + } + ); } async ping(msg: core.Ping): Promise { From ef327d70685c6c2732c1dd605ece64c7e8a64329 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 19:10:26 +0100 Subject: [PATCH 31/44] chore: version packages to 1.62.33-starknet.11 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index fd177b03b..229f7be86 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.11", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index 2cc242af4..6884dd195 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.11", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index 33969740b..24600721e 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index e0640cb68..b746eb230 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index ff82b69a7..a7416941b 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 97df3752f..c41a3c199 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index e544a0bc5..28a0a2e98 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 0e1da11d8..7acd77d26 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 6ea2dc24f..6d5ac565f 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 4866933ed..b7bffc78b 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 163042e9f..01a17c959 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 94af3aae6..03e38edf5 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.10" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index b13f2a221..4c0390f11 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index d786f96a3..649a3b324 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 93f76d967..05cd99ca9 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.11", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index f87dee03a..d345e42c0 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.11", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 148025ea8..dd5fa1f15 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 061f9662e..340aa89b1 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index e00b5bff2..23ab07d6a 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.11", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 4b9ee5bd4..5806b6688 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 805e8171e..15bdc09a2 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index f1d8dd2af..7b882f88d 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index eb62ca687..13b1ce525 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.11", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index b76df836f..6f3ff335c 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index baf9f6e84..37db608b0 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 287c05874..2605b5875 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index aad62f2c3..0d2194f3c 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.10", + "version": "1.62.33-starknet.11", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.10", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 6b84173e6123162b63d09a6041a935aa2d347316 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 19:19:04 +0100 Subject: [PATCH 32/44] fix: pad contract address to 64 hex chars --- .../src/crypto/isolation/adapters/starknet.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts index 9b3e2d168..7cf82d8c4 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts @@ -85,9 +85,16 @@ export class StarknetAdapter { constructorCalldata, // constructor calldata 0 // deployer address (0 for counterfactual) ); - console.log("[StarknetAdapter.getAddress] Contract address:", contractAddress); - return contractAddress; + // Ensure contract address is zero-padded to 64 hex chars (Starknet spec) + const paddedAddress = contractAddress.startsWith("0x") + ? "0x" + contractAddress.slice(2).padStart(64, "0") + : "0x" + contractAddress.padStart(64, "0"); + + console.log("[StarknetAdapter.getAddress] Contract address (raw):", contractAddress); + console.log("[StarknetAdapter.getAddress] Contract address (padded):", paddedAddress); + + return paddedAddress; } /** From b44b240f7efeb39a7ab30fa4819d77c7333b3ad8 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 19:19:06 +0100 Subject: [PATCH 33/44] chore: version packages to 1.62.33-starknet.12 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 229f7be86..d56fd774c 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.12", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index 6884dd195..51039e1c1 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.12", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index 24600721e..bc8eca604 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index b746eb230..0d84ea278 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index a7416941b..a654c6fb5 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index c41a3c199..f307ec285 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 28a0a2e98..14ad4a738 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 7acd77d26..46130ea61 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 6d5ac565f..34f1d55d1 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index b7bffc78b..2e40f1886 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 01a17c959..dac213a5b 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 03e38edf5..b1c7914aa 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.11" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 4c0390f11..e4c6edaa6 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 649a3b324..f3421230c 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 05cd99ca9..988eac9db 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.12", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index d345e42c0..9b4557a6b 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.12", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index dd5fa1f15..170b6ad5a 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 340aa89b1..fcbce4723 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 23ab07d6a..fddcc13f6 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.12", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 5806b6688..5e70ff3d1 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 15bdc09a2..bcbab8758 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 7b882f88d..60c10ffb6 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 13b1ce525..1de261ef0 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.12", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 6f3ff335c..4968e7233 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 37db608b0..0aaaa4843 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 2605b5875..8e514cd58 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index 0d2194f3c..c054b341e 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.11", + "version": "1.62.33-starknet.12", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.11", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 4dc33a92656208960b3c1904edc5fae2a7707d65 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 19:54:35 +0100 Subject: [PATCH 34/44] chore: remove debug logging --- .../src/crypto/isolation/adapters/starknet.ts | 41 +++---------------- packages/hdwallet-native/src/native.ts | 1 - packages/hdwallet-native/src/starknet.ts | 26 ++---------- 3 files changed, 8 insertions(+), 60 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts index 7cf82d8c4..ab970686d 100644 --- a/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts +++ b/packages/hdwallet-native/src/crypto/isolation/adapters/starknet.ts @@ -1,4 +1,3 @@ -/* eslint-disable no-console */ import * as core from "@shapeshiftoss/hdwallet-core"; import { CallData, hash } from "starknet"; @@ -46,17 +45,9 @@ export class StarknetAdapter { * Get Starknet public key from BIP32 path */ async getPublicKey(addressNList: core.BIP32Path): Promise { - console.log("[StarknetAdapter.getPublicKey] Input:", JSON.stringify({ addressNList })); const bip32Path = core.addressNListToBIP32(addressNList); - console.log("[StarknetAdapter.getPublicKey] BIP32 path:", bip32Path); - const nodeAdapter = await this.nodeAdapter.derivePath(bip32Path); - console.log("[StarknetAdapter.getPublicKey] Node adapter derived"); - - // Stark Node handles key grinding internally while keeping the private key isolated const publicKey = await nodeAdapter.getPublicKey(); - console.log("[StarknetAdapter.getPublicKey] Public key:", publicKey); - return publicKey; } @@ -65,25 +56,17 @@ export class StarknetAdapter { * Computes the counterfactual contract address using OpenZeppelin account implementation */ async getAddress(addressNList: core.BIP32Path): Promise { - console.log("[StarknetAdapter.getAddress] Input:", JSON.stringify({ addressNList })); const bip32Path = core.addressNListToBIP32(addressNList); - console.log("[StarknetAdapter.getAddress] BIP32 path:", bip32Path); - const nodeAdapter = await this.nodeAdapter.derivePath(bip32Path); - console.log("[StarknetAdapter.getAddress] Node adapter derived"); - - // Stark Node handles key grinding internally while keeping the private key isolated const publicKey = await nodeAdapter.getPublicKey(); - console.log("[StarknetAdapter.getAddress] Public key:", publicKey); // Compute actual contract address using OpenZeppelin account contract - // This matches what the web is doing for deployment const constructorCalldata = CallData.compile({ publicKey }); const contractAddress = hash.calculateContractAddressFromHash( - publicKey, // salt (use public key as salt) - this.OZ_ACCOUNT_CLASS_HASH, // class hash - constructorCalldata, // constructor calldata - 0 // deployer address (0 for counterfactual) + publicKey, + this.OZ_ACCOUNT_CLASS_HASH, + constructorCalldata, + 0 ); // Ensure contract address is zero-padded to 64 hex chars (Starknet spec) @@ -91,9 +74,6 @@ export class StarknetAdapter { ? "0x" + contractAddress.slice(2).padStart(64, "0") : "0x" + contractAddress.padStart(64, "0"); - console.log("[StarknetAdapter.getAddress] Contract address (raw):", contractAddress); - console.log("[StarknetAdapter.getAddress] Contract address (padded):", paddedAddress); - return paddedAddress; } @@ -102,21 +82,10 @@ export class StarknetAdapter { * Starknet uses ECDSA on the STARK curve for transaction signing */ async signTransaction(txHash: string, addressNList: core.BIP32Path): Promise { - console.log("[StarknetAdapter.signTransaction] Input:", JSON.stringify({ txHash, addressNList })); const bip32Path = core.addressNListToBIP32(addressNList); - console.log("[StarknetAdapter.signTransaction] BIP32 path:", bip32Path); - const nodeAdapter = await this.nodeAdapter.derivePath(bip32Path); - console.log("[StarknetAdapter.signTransaction] Node adapter derived"); - - // Stark Node handles key grinding and signing internally while keeping the private key isolated const signature = await nodeAdapter.node.sign(txHash); - console.log("[StarknetAdapter.signTransaction] Signature:", JSON.stringify(signature)); - - // Return signature as array of hex strings [r, s] - const result = [signature.r, signature.s]; - console.log("[StarknetAdapter.signTransaction] Result:", JSON.stringify(result)); - return result; + return [signature.r, signature.s]; } } diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index 6641f9604..cda43e08d 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -1,4 +1,3 @@ -/* eslint-disable no-console */ import * as core from "@shapeshiftoss/hdwallet-core"; import * as bip39 from "bip39"; import base58 from "bs58"; diff --git a/packages/hdwallet-native/src/starknet.ts b/packages/hdwallet-native/src/starknet.ts index 2bd5a6e40..21bdaa249 100644 --- a/packages/hdwallet-native/src/starknet.ts +++ b/packages/hdwallet-native/src/starknet.ts @@ -1,4 +1,3 @@ -/* eslint-disable no-console */ import * as core from "@shapeshiftoss/hdwallet-core"; import { Isolation } from "./crypto"; @@ -26,11 +25,8 @@ export function MixinNativeStarknetWallet { - console.log("[MixinNativeStarknetWallet.starknetInitializeWallet] Called with masterKey:", !!masterKey); const nodeAdapter = new Isolation.Adapters.Stark(masterKey); - console.log("[MixinNativeStarknetWallet.starknetInitializeWallet] Node adapter created"); this.starknetAdapter = new StarknetAdapter(nodeAdapter); - console.log("[MixinNativeStarknetWallet.starknetInitializeWallet] StarknetAdapter created and assigned"); } starknetWipe() { @@ -38,37 +34,21 @@ export function MixinNativeStarknetWallet { - console.log("[NativeStarknetWallet.starknetGetAddress] Called with:", JSON.stringify(msg)); - console.log("[NativeStarknetWallet.starknetGetAddress] Adapter exists:", !!this.starknetAdapter); return this.needsMnemonic(!!this.starknetAdapter, async () => { - const address = await this.starknetAdapter!.getAddress(msg.addressNList); - console.log("[NativeStarknetWallet.starknetGetAddress] Result:", address); - return address; + return await this.starknetAdapter!.getAddress(msg.addressNList); }); } async starknetGetPublicKey(msg: core.StarknetGetPublicKey): Promise { - console.log("[NativeStarknetWallet.starknetGetPublicKey] Called with:", JSON.stringify(msg)); - console.log("[NativeStarknetWallet.starknetGetPublicKey] Adapter exists:", !!this.starknetAdapter); return this.needsMnemonic(!!this.starknetAdapter, async () => { - const publicKey = await this.starknetAdapter!.getPublicKey(msg.addressNList); - console.log("[NativeStarknetWallet.starknetGetPublicKey] Result:", publicKey); - return publicKey; + return await this.starknetAdapter!.getPublicKey(msg.addressNList); }); } async starknetSignTx(msg: core.StarknetSignTx): Promise { - console.log("[NativeStarknetWallet.starknetSignTx] Called with:", JSON.stringify(msg)); - console.log("[NativeStarknetWallet.starknetSignTx] Adapter exists:", !!this.starknetAdapter); return this.needsMnemonic(!!this.starknetAdapter, async () => { const signature = await this.starknetAdapter!.signTransaction(msg.txHash, msg.addressNList); - console.log("[NativeStarknetWallet.starknetSignTx] Signature:", JSON.stringify(signature)); - - const result = { - signature, - }; - console.log("[NativeStarknetWallet.starknetSignTx] Result:", JSON.stringify(result)); - return result; + return { signature }; }); } }; From 11f947d51d04de446d8653bc8ed1e7b8242e2b4c Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 19:54:37 +0100 Subject: [PATCH 35/44] chore: version packages to 1.62.33-starknet.13 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index d56fd774c..3b911ef81 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.13", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index 51039e1c1..44439b8b8 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.13", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index bc8eca604..d880fcd96 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 0d84ea278..5e573599d 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index a654c6fb5..169d6e299 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index f307ec285..d6e7455d1 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 14ad4a738..ca202f614 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 46130ea61..d49f4d057 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 34f1d55d1..75d23e92f 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 2e40f1886..dad7ec6a9 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index dac213a5b..4a16c9c05 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index b1c7914aa..8b825e03f 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.12" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index e4c6edaa6..d816285ba 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index f3421230c..48ed662b5 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 988eac9db..a958c478a 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.13", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 9b4557a6b..6e1cf38dc 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.13", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 170b6ad5a..49411e0e5 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index fcbce4723..9ae3b8c8f 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index fddcc13f6..37d2d775a 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.13", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 5e70ff3d1..6f5728700 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index bcbab8758..4e7244888 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 60c10ffb6..66f9c4cfd 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 1de261ef0..25aa84194 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.13", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 4968e7233..b579a879b 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 0aaaa4843..130fd22df 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 8e514cd58..3c484e823 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index c054b341e..31b6156aa 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.12", + "version": "1.62.33-starknet.13", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.12", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 7be85cb7662206209d604115ce20582bcceacc5a Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 20:22:08 +0100 Subject: [PATCH 36/44] chore: version packages to 1.62.33-starknet.14 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 3b911ef81..f6a3b3494 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.14", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index 44439b8b8..f4cef1ecc 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.14", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index d880fcd96..cb540b10e 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 5e573599d..4be80c518 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 169d6e299..27313da0b 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index d6e7455d1..8b1bf8c21 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index ca202f614..23d303099 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index d49f4d057..02449d4e1 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 75d23e92f..6b69b4982 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index dad7ec6a9..ba2db2966 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 4a16c9c05..f5349d259 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 8b825e03f..7ec3da21b 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.13" + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index d816285ba..76709b010 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 48ed662b5..078a17064 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index a958c478a..7a8fab57b 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.14", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 6e1cf38dc..05bc211f7 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.14", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 49411e0e5..3ee8a4fb3 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 9ae3b8c8f..4008237e7 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 37d2d775a..f2176c538 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.14", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 6f5728700..fce75dfd4 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 4e7244888..e12fc805d 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 66f9c4cfd..6c1c4cc88 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 25aa84194..36a81b668 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.14", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index b579a879b..9d04c55bf 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 130fd22df..73a7530f1 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 3c484e823..fd023b83e 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index 31b6156aa..d8eba9206 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.13", + "version": "1.62.33-starknet.14", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.13", + "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 8feaab69ca54425677001967ed270e2ebd62ce36 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 21:10:51 +0100 Subject: [PATCH 37/44] chore: revert versions to 1.62.32 and use npmjs registry --- examples/sandbox/package.json | 40 +-- integration/package.json | 22 +- lerna.json | 9 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +- packages/hdwallet-keepkey-tcp/package.json | 6 +- packages/hdwallet-keepkey-webusb/package.json | 6 +- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +- packages/hdwallet-ledger-webusb/package.json | 6 +- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- yarn.lock | 334 +++++++++++++++++- 28 files changed, 403 insertions(+), 110 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index f6a3b3494..71891ea87 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keplr": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-phantom": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-coinbase": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-gridplus": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.32", + "@shapeshiftoss/hdwallet-keplr": "^1.62.32", + "@shapeshiftoss/hdwallet-ledger": "^1.62.32", + "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.32", + "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.32", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.32", + "@shapeshiftoss/hdwallet-native": "^1.62.32", + "@shapeshiftoss/hdwallet-phantom": "^1.62.32", + "@shapeshiftoss/hdwallet-portis": "^1.62.32", + "@shapeshiftoss/hdwallet-trezor": "^1.62.32", + "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.32", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.32", + "@shapeshiftoss/hdwallet-walletconnect": "^1.62.32", + "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.32", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index f4cef1ecc..6d6f816be 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-portis": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.32", + "@shapeshiftoss/hdwallet-ledger": "^1.62.32", + "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.32", + "@shapeshiftoss/hdwallet-native": "^1.62.32", + "@shapeshiftoss/hdwallet-portis": "^1.62.32", + "@shapeshiftoss/hdwallet-trezor": "^1.62.32", + "@shapeshiftoss/hdwallet-vultisig": "^1.62.32", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index cb540b10e..aeb48107e 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "npmClient": "yarn", "useWorkspaces": true, "command": { @@ -8,10 +8,5 @@ "message": "chore(release): publish %v" } }, - "ignoreChanges": [ - "**/__fixtures__/**", - "**/__tests__/**", - "**/*.md", - "**/.env" - ] + "ignoreChanges": ["**/__fixtures__/**", "**/__tests__/**", "**/*.md", "**/.env"] } diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 4be80c518..99fbe8ca6 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 27313da0b..40ec47a78 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 8b1bf8c21..7eaa8e740 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 23d303099..46c74efa7 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14" + "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 02449d4e1..0469497f9 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 6b69b4982..9a9ab933e 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14" + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index ba2db2966..78440e5bd 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14" + "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index f5349d259..6e206e267 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 7ec3da21b..99d65eaa7 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.33-starknet.14" + "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "^1.62.32" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 76709b010..94500e429 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 078a17064..172b9b713 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 7a8fab57b..c6bb215f0 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-ledger": "^1.62.32", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 05bc211f7..7e48d64a6 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-ledger": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-ledger": "^1.62.32", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 3ee8a4fb3..b44e84b8a 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 4008237e7..9430e8f9b 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index f2176c538..744a9710f 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-native": "^1.62.32", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index fce75dfd4..b7314c2cd 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index e12fc805d..763f7191c 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 6c1c4cc88..d61f9d435 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 36a81b668..a2d9aec7d 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", - "@shapeshiftoss/hdwallet-trezor": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-trezor": "^1.62.32", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 9d04c55bf..e7fe48ea7 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 73a7530f1..6947f2fe7 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index fd023b83e..a3fdd68bd 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index d8eba9206..da3cbb500 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.33-starknet.14", + "version": "1.62.32", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.33-starknet.14", + "@shapeshiftoss/hdwallet-core": "^1.62.32", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" diff --git a/yarn.lock b/yarn.lock index c95dc0564..ad0531e12 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3174,7 +3174,7 @@ "@noble/curves@1.7.0", "@noble/curves@~1.7.0": version "1.7.0" - resolved "https://registry.npmjs.org/@noble/curves/-/curves-1.7.0.tgz#0512360622439256df892f21d25b388f52505e45" + resolved "http://127.0.0.1:4873/@noble/curves/-/curves-1.7.0.tgz#0512360622439256df892f21d25b388f52505e45" integrity sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw== dependencies: "@noble/hashes" "1.6.0" @@ -3250,7 +3250,7 @@ "@noble/hashes@1.6.0": version "1.6.0" - resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.0.tgz#d4bfb516ad6e7b5111c216a5cc7075f4cf19e6c5" + resolved "http://127.0.0.1:4873/@noble/hashes/-/hashes-1.6.0.tgz#d4bfb516ad6e7b5111c216a5cc7075f4cf19e6c5" integrity sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ== "@noble/hashes@1.7.0": @@ -3280,7 +3280,7 @@ "@noble/hashes@~1.6.0": version "1.6.1" - resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.1.tgz#df6e5943edcea504bac61395926d6fd67869a0d5" + resolved "http://127.0.0.1:4873/@noble/hashes/-/hashes-1.6.1.tgz#df6e5943edcea504bac61395926d6fd67869a0d5" integrity sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w== "@noble/secp256k1@1.6.3": @@ -4059,7 +4059,7 @@ "@scure/base@1.2.1": version "1.2.1" - resolved "https://registry.npmjs.org/@scure/base/-/base-1.2.1.tgz#dd0b2a533063ca612c17aa9ad26424a2ff5aa865" + resolved "http://127.0.0.1:4873/@scure/base/-/base-1.2.1.tgz#dd0b2a533063ca612c17aa9ad26424a2ff5aa865" integrity sha512-DGmGtC8Tt63J5GfHgfl5CuAXh96VF/LD8K9Hr/Gv0J2lAoRGlPOMpqMpMbCTOoOJMZCk2Xt+DskdDyn6dEFdzQ== "@scure/base@^1.0.0", "@scure/base@^1.1.1", "@scure/base@^1.1.3", "@scure/base@~1.1.3", "@scure/base@~1.1.6": @@ -4125,7 +4125,7 @@ "@scure/starknet@1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@scure/starknet/-/starknet-1.1.0.tgz#d1902e053d98196e161b9b2c3996b20999094e7a" + resolved "http://127.0.0.1:4873/@scure/starknet/-/starknet-1.1.0.tgz#d1902e053d98196e161b9b2c3996b20999094e7a" integrity sha512-83g3M6Ix2qRsPN4wqLDqiRZ2GBNbjVWfboJE/9UjfG+MHr6oDSu/CWgy8hsBSJejr09DkkL+l0Ze4KVrlCIdtQ== dependencies: "@noble/curves" "~1.7.0" @@ -4133,7 +4133,7 @@ "@scure/starknet@^1.0.0": version "1.1.2" - resolved "https://registry.npmjs.org/@scure/starknet/-/starknet-1.1.2.tgz#3b9492d83e773092158a240fb1e2a437933d2a7e" + resolved "http://127.0.0.1:4873/@scure/starknet/-/starknet-1.1.2.tgz#3b9492d83e773092158a240fb1e2a437933d2a7e" integrity sha512-Qo2uNQJC/1IwfXC0f2BnDjtXnY1cVyfmK1WcGNFzfnktvlNmmmbjYeUNdYe3DBiDYyMzp1MhRUFllFW5moBaMg== dependencies: "@noble/curves" "~1.9.0" @@ -4188,6 +4188,32 @@ uuid "^8.3.2" ws "^8.8.0" +"@shapeshiftoss/hdwallet-coinbase@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-coinbase/-/hdwallet-coinbase-1.62.33-starknet.14.tgz#ae5b88abd604a8c1abb1b9f21a749afb0a50a271" + integrity sha512-knWfsU3ht0nHQAPsRhRIAJImzLVgpxPjX/T5rQEK469+yKWxxiOm+OxussjyE9WNzBpkCsjUMvUFQLnA9Wpgxg== + dependencies: + "@coinbase/wallet-sdk" "^3.6.6" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + eth-rpc-errors "^4.0.3" + lodash "^4.17.21" + +"@shapeshiftoss/hdwallet-core@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-core/-/hdwallet-core-1.62.33-starknet.14.tgz#e2d3d5dc7696e66bb5f39760c1937bdc68af433f" + integrity sha512-dh26U3G4R71MyoKSYYPB4a24f4SpNZknjDLiQd5cDPvf1BbnMzhyNgx6zv/Uogq89SgZqxxoRDy9ov1MfXK2fA== + dependencies: + "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" + "@shapeshiftoss/proto-tx-builder" "0.10.0" + "@solana/web3.js" "1.95.8" + bs58check "^4.0.0" + eip-712 "^1.0.0" + ethers "5.7.2" + eventemitter2 "^5.0.1" + lodash "^4.17.21" + rxjs "^6.4.0" + type-assertions "^1.1.0" + "@shapeshiftoss/hdwallet-core@latest": version "1.56.0" resolved "https://registry.yarnpkg.com/@shapeshiftoss/hdwallet-core/-/hdwallet-core-1.56.0.tgz#6c14a2dc7eb394d1a927999f549c15eb8bd42421" @@ -4202,6 +4228,278 @@ rxjs "^6.4.0" type-assertions "^1.1.0" +"@shapeshiftoss/hdwallet-gridplus@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-gridplus/-/hdwallet-gridplus-1.62.33-starknet.14.tgz#a90deb22069eaac5f7b272031e7e7a9b6032c9c5" + integrity sha512-dILP03K19i0je6mjDZIltz12yfFvLHA/VxOIGGsVyKHAP+2UZtcbzcbfhK2dVvgVQJwbzSZBo/9WuLZxctOWcw== + dependencies: + "@bitcoinerlab/secp256k1" "^1.1.1" + "@ethereumjs/common" "4.4.0" + "@ethereumjs/rlp" "5.0.2" + "@ethereumjs/tx" "5.4.0" + "@metamask/eth-sig-util" "^7.0.0" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + bech32 "^1.1.4" + bs58 "^5.0.0" + bs58check "^4.0.0" + crypto-js "^4.2.0" + gridplus-sdk "^3.2.0" + lodash "^4.17.21" + +"@shapeshiftoss/hdwallet-keepkey-nodewebusb@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-keepkey-nodewebusb/-/hdwallet-keepkey-nodewebusb-1.62.33-starknet.14.tgz#07a9f1c07a61cbd41b2b046b3a71f40f371cca2e" + integrity sha512-6zgvVu108Rf8iknvKU5H1ahGQ298tvViB33LqirSLS3ZTg7wCAaki62akcUyX+be6QUeYVnFCN4dAlBKAc+Rag== + dependencies: + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@shapeshiftoss/hdwallet-keepkey" "^1.62.33-starknet.14" + +"@shapeshiftoss/hdwallet-keepkey-tcp@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-keepkey-tcp/-/hdwallet-keepkey-tcp-1.62.33-starknet.14.tgz#ad77e36603404878fb4da60a3a06dc2aa80c2620" + integrity sha512-0MoLsGCZhlD7YP3Pm56O30O2/s46Hqla7JIP41uOIi1+wBxW9Y1gVnzURPIGl4laKdfVc5l12U34WWe04yJsHQ== + dependencies: + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@shapeshiftoss/hdwallet-keepkey" "^1.62.33-starknet.14" + axios "^0.21.1" + +"@shapeshiftoss/hdwallet-keepkey-webusb@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-keepkey-webusb/-/hdwallet-keepkey-webusb-1.62.33-starknet.14.tgz#1ef97254ef1b7db70e5776026d350196c4b02c4b" + integrity sha512-WOGFFViTn7m9/uT686433LubT+XZ+oOEyLHwYLq/OmH0pEEZeVXTrFjj/asFNwuGjYMEA+Q0ajBlEWWNXHwjbw== + dependencies: + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@shapeshiftoss/hdwallet-keepkey" "^1.62.33-starknet.14" + +"@shapeshiftoss/hdwallet-keepkey@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-keepkey/-/hdwallet-keepkey-1.62.33-starknet.14.tgz#c9131060bf2c8a28f7467fbfd02f48480ad32dc9" + integrity sha512-rzUUai268rPHSvgdiWh7Dgc7UNu4OBcXqUrrHbGGmYYXEpyq4p5+JgXa4XFEEsfAR7a5Sq/RwQCsU2mjackzEg== + dependencies: + "@bitcoinerlab/secp256k1" "^1.1.1" + "@ethereumjs/common" "3.2.0" + "@ethereumjs/tx" "4.2.0" + "@keepkey/device-protocol" "7.13.4" + "@metamask/eth-sig-util" "^7.0.0" + "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@shapeshiftoss/proto-tx-builder" "0.10.0" + bignumber.js "^9.0.1" + bnb-javascript-sdk-nobroadcast "2.16.15" + bs58 "^5.0.0" + bs58check "^4.0.0" + crypto-js "^4.0.0" + eip55 "^2.1.0" + google-protobuf "^3.15.8" + icepick "^2.4.0" + lodash "^4.17.21" + p-lazy "^3.1.0" + semver "^7.3.8" + +"@shapeshiftoss/hdwallet-keplr@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-keplr/-/hdwallet-keplr-1.62.33-starknet.14.tgz#f1ccbf13d9ac600e55cf60270bc7f2575dbd7355" + integrity sha512-aXzvmjx6gq1lvUWR2rmFXoVfR72UfNoEF/vVsJxyMaaT5eYjTh0jSeFDnielVRBurmWdebPuEQ+unqWJw92mqA== + dependencies: + "@cosmjs/amino" "^0.28.13" + "@cosmjs/stargate" "^0.28.13" + "@shapeshiftoss/caip" "8.15.0" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@shapeshiftoss/proto-tx-builder" "0.10.0" + "@shapeshiftoss/types" "3.1.3" + base64-js "^1.5.1" + lodash "^4.17.21" + +"@shapeshiftoss/hdwallet-ledger-webhid@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-ledger-webhid/-/hdwallet-ledger-webhid-1.62.33-starknet.14.tgz#2f8b98ea8fed2f18b29149beb882fb6f3fad2a70" + integrity sha512-xmFk5puQWqsUHY2O69gZhu7JhqFxnw5cWh2J9G0TfXQazWjsotFanE2tjHSzn8O1OMWRhsUlbYHnUKQU7juW2g== + dependencies: + "@ledgerhq/hw-app-btc" "10.13.0" + "@ledgerhq/hw-app-eth" "7.0.0" + "@ledgerhq/hw-transport" "6.31.13" + "@ledgerhq/hw-transport-webhid" "6.30.6" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@shapeshiftoss/hdwallet-ledger" "^1.62.33-starknet.14" + "@types/w3c-web-hid" "^1.0.2" + +"@shapeshiftoss/hdwallet-ledger-webusb@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-ledger-webusb/-/hdwallet-ledger-webusb-1.62.33-starknet.14.tgz#e605589fb0421df32e7f3f23cc96b80b09c84cbd" + integrity sha512-8UTy0CDDeq+wegZ066lMQWKP5jYdh4s2BTel7gWREsSEUo15ypfJM7AqNpVcITobVPjbIxADh79Qb9CUJgJ1VQ== + dependencies: + "@ledgerhq/hw-app-btc" "10.13.0" + "@ledgerhq/hw-app-cosmos" "6.32.9" + "@ledgerhq/hw-app-eth" "7.0.0" + "@ledgerhq/hw-app-solana" "7.6.0" + "@ledgerhq/hw-transport" "6.31.13" + "@ledgerhq/hw-transport-webusb" "6.29.13" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@shapeshiftoss/hdwallet-ledger" "^1.62.33-starknet.14" + "@types/w3c-web-usb" "^1.0.4" + p-queue "^7.4.1" + +"@shapeshiftoss/hdwallet-ledger@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-ledger/-/hdwallet-ledger-1.62.33-starknet.14.tgz#0175e259761d8c58ba7d5ac9b4367951c370e4e5" + integrity sha512-CSJ4PG4DrUjt9ZwPpU+QmlzNZrEWWoWz3MW66ryWWrII17gGq78ExyHNcn7TKxVm3k2oJb2f4uv9AxmAeCuFNw== + dependencies: + "@bitgo/utxo-lib" "^11.18.0" + "@ethereumjs/common" "3.2.0" + "@ethereumjs/tx" "4.2.0" + "@ledgerhq/device-core" "0.6.9" + "@ledgerhq/hw-app-btc" "10.13.0" + "@ledgerhq/hw-app-cosmos" "6.32.9" + "@ledgerhq/hw-app-eth" "7.0.0" + "@ledgerhq/hw-app-solana" "7.6.0" + "@ledgerhq/hw-app-trx" "6.31.9" + "@ledgerhq/hw-transport" "6.31.13" + "@ledgerhq/logs" "6.13.0" + "@mysten/ledgerjs-hw-app-sui" "^0.7.0" + "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@solana/web3.js" "1.95.8" + base64-js "^1.5.1" + bchaddrjs "^0.4.4" + bitcoinjs-message "^2.0.0" + bs58check "^4.0.0" + ethereumjs-tx "1.3.7" + ethereumjs-util "^6.1.0" + ethers "5.7.2" + lodash "^4.17.21" + +"@shapeshiftoss/hdwallet-metamask-multichain@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-metamask-multichain/-/hdwallet-metamask-multichain-1.62.33-starknet.14.tgz#9269cd777b0b6b7639cdba415e5d878819f4da94" + integrity sha512-549kyrSxY//4W391M05B5c7BmEOabVD84ad8YglQazAfB0TM9O8oymqESOOfhKRW49FYXz0h0whgAeI83VRq5w== + dependencies: + "@metamask/detect-provider" "^1.2.0" + "@metamask/onboarding" "^1.0.1" + "@shapeshiftoss/common-api" "^9.3.0" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@shapeshiftoss/metamask-snaps-adapter" "^1.0.12" + "@shapeshiftoss/metamask-snaps-types" "^1.0.12" + eth-rpc-errors "^4.0.3" + lodash "^4.17.21" + mipd "^0.0.7" + +"@shapeshiftoss/hdwallet-native@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-native/-/hdwallet-native-1.62.33-starknet.14.tgz#502806840fce0650acb5fd9cb0936d26e394850c" + integrity sha512-tJGY54oR1xvTFO7ew9tRZ1rdxqxahh8UfDRpGlwjBppPjopvg2Vrfhkvv+MtjQSAoBrioQE/qDSH6SC4HzNtlw== + dependencies: + "@bitcoinerlab/secp256k1" "^1.1.1" + "@noble/curves" "^1.4.0" + "@scure/starknet" "^1.0.0" + "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@shapeshiftoss/proto-tx-builder" "0.10.0" + "@zxing/text-encoding" "^0.9.0" + bchaddrjs "^0.4.9" + bech32 "^1.1.4" + bignumber.js "^9.0.1" + bip32 "^2.0.5" + bip39 "^3.0.2" + bnb-javascript-sdk-nobroadcast "2.16.15" + bs58check "^4.0.0" + crypto-js "^4.0.0" + ecpair "^3.0.0-rc.0" + eip-712 "^1.0.0" + ethers "5.7.2" + eventemitter2 "^5.0.1" + funtypes "^3.0.1" + hash-wasm "^4.11.0" + lodash "^4.17.21" + node-fetch "^2.6.1" + p-lazy "^3.1.0" + scrypt-js "^3.0.1" + starknet "^6.11.0" + tendermint-tx-builder "1.0.16" + +"@shapeshiftoss/hdwallet-phantom@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-phantom/-/hdwallet-phantom-1.62.33-starknet.14.tgz#4ef3aab3cdc0a9ee88c1e4fe16bf36068bde25d5" + integrity sha512-UFl1Ag1opVUjhPYom5zCPqPyX43nkVWtRQbOQDJ/qwbK+qYZRiAExz2Vrn0EeDvUa4m3x9AOgefMnGxhSQIfDw== + dependencies: + "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@solana/web3.js" "1.95.8" + base64-js "^1.5.1" + bitcoinjs-message "^2.0.0" + ethers "5.7.2" + lodash "^4.17.21" + +"@shapeshiftoss/hdwallet-portis@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-portis/-/hdwallet-portis-1.62.33-starknet.14.tgz#4552ab977c779a6e00bba245d74684774b2c7a93" + integrity sha512-0WDzXa1A8Ui7Wl6OJL03AFw7TqnUBm+66YH9BZAfiHR6iTE4MRuH+ivQ1bb6R1QZjPqk3ae4fzLlmxU189YhsQ== + dependencies: + "@portis/web3" "3.0.10" + "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + base64-js "^1.5.1" + bip32 "^2.0.4" + bitcoinjs-message "^2.1.0" + lodash "^4.17.15" + p-lazy "^3.1.0" + web3 "^1.5.1" + +"@shapeshiftoss/hdwallet-trezor-connect@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-trezor-connect/-/hdwallet-trezor-connect-1.62.33-starknet.14.tgz#50bb8b245ce8d329f968e1dce3e368586372a8b3" + integrity sha512-KYSPyE8tfhjCCpXsT+Mj6kvFd/mGouCDbMiQMQgAu31Qqbi/6Efv+9g2m1berXBP4kC/2aiyc/6HyS+WuAuLMA== + dependencies: + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@shapeshiftoss/hdwallet-trezor" "^1.62.33-starknet.14" + "@trezor/connect-web" "^9.6.4" + +"@shapeshiftoss/hdwallet-trezor@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-trezor/-/hdwallet-trezor-1.62.33-starknet.14.tgz#a01171dcb86aff631da9e16fa93666cf25eb7f5c" + integrity sha512-TQfNeNYvbBV7E/xI9MZ7RjK3YbMMOfXLOO1/HKwEIiRTSHcqZ3Ib6M57bcIsFlflMvdPPo88ACqWMxEcIJdBbQ== + dependencies: + "@ethereumjs/common" "3.2.0" + "@ethereumjs/tx" "4.2.0" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + base64-js "^1.5.1" + bchaddrjs "^0.4.4" + lodash "^4.17.21" + +"@shapeshiftoss/hdwallet-vultisig@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-vultisig/-/hdwallet-vultisig-1.62.33-starknet.14.tgz#2da1516422f2b91591f6c9cceebfc0a0af7378b7" + integrity sha512-BCPR+F64EGRjHXqDSMKI/sP6WyanFh/L0KMHhfCESQhxbNFd9M3JifWtjHay10IT5n2u6AEf8MwLnYptfNNIvw== + dependencies: + "@cosmjs/amino" "^0.28.13" + "@cosmjs/stargate" "^0.28.13" + "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@solana/web3.js" "1.95.8" + base64-js "^1.5.1" + bitcoinjs-message "^2.0.0" + ethers "5.7.2" + lodash "^4.17.21" + +"@shapeshiftoss/hdwallet-walletconnect@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-walletconnect/-/hdwallet-walletconnect-1.62.33-starknet.14.tgz#6efc54784647e878cefd85c9ad33613abc139dea" + integrity sha512-sJhTffmlwZJPZlKcrHoJBIGl5Gy8NiFwF5NVONqBfX9zlSQgd0PmadiLXL4G7rUmV/0en4d7+WhsU0OKlwYqDA== + dependencies: + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@walletconnect/qrcode-modal" "^1.7.8" + "@walletconnect/web3-provider" "^1.7.8" + ethers "^5.6.5" + +"@shapeshiftoss/hdwallet-walletconnectv2@^1.62.33-starknet.14": + version "1.62.33-starknet.14" + resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-walletconnectv2/-/hdwallet-walletconnectv2-1.62.33-starknet.14.tgz#eb3b327c4f4806d6ba48b01d9b649279477aa336" + integrity sha512-/86cPZQ7v4gPlBYFIALP7r5k7XtoAG0g3aXbW1W2KDEzS+cqIiiWr04/64NlvjpLGOElKN54M30j6fAVOeZIvw== + dependencies: + "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" + "@walletconnect/ethereum-provider" "^2.20.2" + "@walletconnect/modal" "^2.6.2" + ethers "^5.6.5" + "@shapeshiftoss/logger@^1.1.2", "@shapeshiftoss/logger@^1.1.3": version "1.1.3" resolved "https://registry.yarnpkg.com/@shapeshiftoss/logger/-/logger-1.1.3.tgz#ff05765775351c8adc99cf747f14b5619311e023" @@ -6409,7 +6707,7 @@ abbrev@1, abbrev@^1.0.0: abi-wan-kanabi@^2.2.3: version "2.2.4" - resolved "https://registry.npmjs.org/abi-wan-kanabi/-/abi-wan-kanabi-2.2.4.tgz#47ebbafbb7f8df81773efbdcca60cdda8008c821" + resolved "http://127.0.0.1:4873/abi-wan-kanabi/-/abi-wan-kanabi-2.2.4.tgz#47ebbafbb7f8df81773efbdcca60cdda8008c821" integrity sha512-0aA81FScmJCPX+8UvkXLki3X1+yPQuWxEkqXBVKltgPAK79J+NB+Lp5DouMXa7L6f+zcRlIA/6XO7BN/q9fnvg== dependencies: ansicolors "^0.3.2" @@ -6624,7 +6922,7 @@ ansi-styles@^6.1.0: ansicolors@^0.3.2, ansicolors@~0.3.2: version "0.3.2" - resolved "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" + resolved "http://127.0.0.1:4873/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" integrity sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg== anymatch@^2.0.0: @@ -7987,7 +8285,7 @@ capture-exit@^2.0.0: cardinal@^2.1.1: version "2.1.1" - resolved "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz#7cc1055d822d212954d07b085dea251cc7bc5505" + resolved "http://127.0.0.1:4873/cardinal/-/cardinal-2.1.1.tgz#7cc1055d822d212954d07b085dea251cc7bc5505" integrity sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw== dependencies: ansicolors "~0.3.2" @@ -10790,7 +11088,7 @@ feaxios@^0.0.23: fetch-cookie@~3.0.0: version "3.0.1" - resolved "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-3.0.1.tgz#6a77f7495e1a639ae019db916a234db8c85d5963" + resolved "http://127.0.0.1:4873/fetch-cookie/-/fetch-cookie-3.0.1.tgz#6a77f7495e1a639ae019db916a234db8c85d5963" integrity sha512-ZGXe8Y5Z/1FWqQ9q/CrJhkUD73DyBU9VF0hBQmEO/wPHe4A9PKTjplFDLeFX8aOsYypZUcX5Ji/eByn3VCVO3Q== dependencies: set-cookie-parser "^2.4.8" @@ -11029,7 +11327,7 @@ fs-constants@^1.0.0: fs-extra@^10.0.0: version "10.1.0" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" + resolved "http://127.0.0.1:4873/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== dependencies: graceful-fs "^4.2.0" @@ -12564,7 +12862,7 @@ isobject@^3.0.0, isobject@^3.0.1: isomorphic-fetch@~3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz#0267b005049046d2421207215d45d6a262b8b8b4" + resolved "http://127.0.0.1:4873/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz#0267b005049046d2421207215d45d6a262b8b8b4" integrity sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA== dependencies: node-fetch "^2.6.1" @@ -13843,7 +14141,7 @@ loose-envify@^1.0.0, loose-envify@^1.1.0: lossless-json@^4.0.1: version "4.3.0" - resolved "https://registry.npmjs.org/lossless-json/-/lossless-json-4.3.0.tgz#7d26864820ecf08aee800213fc193666e794802a" + resolved "http://127.0.0.1:4873/lossless-json/-/lossless-json-4.3.0.tgz#7d26864820ecf08aee800213fc193666e794802a" integrity sha512-ToxOC+SsduRmdSuoLZLYAr5zy1Qu7l5XhmPWM3zefCZ5IcrzW/h108qbJUKfOlDlhvhjUK84+8PSVX0kxnit0g== lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: @@ -15403,7 +15701,7 @@ pacote@^13.0.3, pacote@^13.6.1: pako@^2.0.4: version "2.1.0" - resolved "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" + resolved "http://127.0.0.1:4873/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" integrity sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug== pako@~1.0.5: @@ -16392,7 +16690,7 @@ redent@^3.0.0: redeyed@~2.1.0: version "2.1.1" - resolved "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz#8984b5815d99cb220469c99eeeffe38913e6cc0b" + resolved "http://127.0.0.1:4873/redeyed/-/redeyed-2.1.1.tgz#8984b5815d99cb220469c99eeeffe38913e6cc0b" integrity sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ== dependencies: esprima "~4.0.0" @@ -17058,7 +17356,7 @@ set-cookie-parser@^2.4.6: set-cookie-parser@^2.4.8: version "2.7.2" - resolved "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz#ccd08673a9ae5d2e44ea2a2de25089e67c7edf68" + resolved "http://127.0.0.1:4873/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz#ccd08673a9ae5d2e44ea2a2de25089e67c7edf68" integrity sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw== set-function-length@^1.2.1, set-function-length@^1.2.2: @@ -17505,12 +17803,12 @@ stack-utils@^2.0.2: "starknet-types-07@npm:@starknet-io/types-js@^0.7.10": version "0.7.10" - resolved "https://registry.npmjs.org/@starknet-io/types-js/-/types-js-0.7.10.tgz#d21dc973d0cd04d7b6293ce461f2f06a5873c760" + resolved "http://127.0.0.1:4873/@starknet-io/types-js/-/types-js-0.7.10.tgz#d21dc973d0cd04d7b6293ce461f2f06a5873c760" integrity sha512-1VtCqX4AHWJlRRSYGSn+4X1mqolI1Tdq62IwzoU2vUuEE72S1OlEeGhpvd6XsdqXcfHmVzYfj8k1XtKBQqwo9w== starknet@^6.11.0: version "6.24.1" - resolved "https://registry.npmjs.org/starknet/-/starknet-6.24.1.tgz#87333339795038e93ef32a20726b5272ddb78fe1" + resolved "http://127.0.0.1:4873/starknet/-/starknet-6.24.1.tgz#87333339795038e93ef32a20726b5272ddb78fe1" integrity sha512-g7tiCt73berhcNi41otlN3T3kxZnIvZhMi8WdC21Y6GC6zoQgbI2z1t7JAZF9c4xZiomlanwVnurcpyfEdyMpg== dependencies: "@noble/curves" "1.7.0" From bf772653cb0b674537b2cf6b1c0c563e391f52ba Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 21:12:00 +0100 Subject: [PATCH 38/44] fix: remove carets from 1.62.32 versions (should be exact) --- examples/sandbox/package.json | 38 +++++++++---------- integration/package.json | 20 +++++----- packages/hdwallet-coinbase/package.json | 2 +- packages/hdwallet-gridplus/package.json | 2 +- .../hdwallet-keepkey-chromeusb/package.json | 4 +- .../hdwallet-keepkey-electron/package.json | 2 +- .../hdwallet-keepkey-nodehid/package.json | 2 +- .../hdwallet-keepkey-nodewebusb/package.json | 4 +- packages/hdwallet-keepkey-tcp/package.json | 4 +- packages/hdwallet-keepkey-webusb/package.json | 4 +- packages/hdwallet-keepkey/package.json | 2 +- packages/hdwallet-keplr/package.json | 2 +- packages/hdwallet-ledger-webhid/package.json | 4 +- packages/hdwallet-ledger-webusb/package.json | 4 +- packages/hdwallet-ledger/package.json | 2 +- .../hdwallet-metamask-multichain/package.json | 2 +- packages/hdwallet-native-vault/package.json | 2 +- packages/hdwallet-native/package.json | 2 +- packages/hdwallet-phantom/package.json | 2 +- packages/hdwallet-portis/package.json | 2 +- packages/hdwallet-trezor-connect/package.json | 4 +- packages/hdwallet-trezor/package.json | 2 +- packages/hdwallet-vultisig/package.json | 2 +- packages/hdwallet-walletconnect/package.json | 2 +- .../hdwallet-walletconnectV2/package.json | 2 +- 25 files changed, 59 insertions(+), 59 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 71891ea87..39d58fcb8 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "^1.62.32", - "@shapeshiftoss/hdwallet-core": "^1.62.32", - "@shapeshiftoss/hdwallet-gridplus": "^1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.32", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.32", - "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.62.32", - "@shapeshiftoss/hdwallet-keplr": "^1.62.32", - "@shapeshiftoss/hdwallet-ledger": "^1.62.32", - "@shapeshiftoss/hdwallet-ledger-webhid": "^1.62.32", - "@shapeshiftoss/hdwallet-ledger-webusb": "^1.62.32", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.32", - "@shapeshiftoss/hdwallet-native": "^1.62.32", - "@shapeshiftoss/hdwallet-phantom": "^1.62.32", - "@shapeshiftoss/hdwallet-portis": "^1.62.32", - "@shapeshiftoss/hdwallet-trezor": "^1.62.32", - "@shapeshiftoss/hdwallet-trezor-connect": "^1.62.32", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.32", - "@shapeshiftoss/hdwallet-walletconnect": "^1.62.32", - "@shapeshiftoss/hdwallet-walletconnectv2": "^1.62.32", + "@shapeshiftoss/hdwallet-coinbase": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-gridplus": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey-tcp": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey-webusb": "1.62.32", + "@shapeshiftoss/hdwallet-keplr": "1.62.32", + "@shapeshiftoss/hdwallet-ledger": "1.62.32", + "@shapeshiftoss/hdwallet-ledger-webhid": "1.62.32", + "@shapeshiftoss/hdwallet-ledger-webusb": "1.62.32", + "@shapeshiftoss/hdwallet-metamask-multichain": "1.62.32", + "@shapeshiftoss/hdwallet-native": "1.62.32", + "@shapeshiftoss/hdwallet-phantom": "1.62.32", + "@shapeshiftoss/hdwallet-portis": "1.62.32", + "@shapeshiftoss/hdwallet-trezor": "1.62.32", + "@shapeshiftoss/hdwallet-trezor-connect": "1.62.32", + "@shapeshiftoss/hdwallet-vultisig": "1.62.32", + "@shapeshiftoss/hdwallet-walletconnect": "1.62.32", + "@shapeshiftoss/hdwallet-walletconnectv2": "1.62.32", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index 6d6f816be..c8a4fa42b 100644 --- a/integration/package.json +++ b/integration/package.json @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "^1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.32", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "^1.62.32", - "@shapeshiftoss/hdwallet-keepkey-tcp": "^1.62.32", - "@shapeshiftoss/hdwallet-ledger": "^1.62.32", - "@shapeshiftoss/hdwallet-metamask-multichain": "^1.62.32", - "@shapeshiftoss/hdwallet-native": "^1.62.32", - "@shapeshiftoss/hdwallet-portis": "^1.62.32", - "@shapeshiftoss/hdwallet-trezor": "^1.62.32", - "@shapeshiftoss/hdwallet-vultisig": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey-tcp": "1.62.32", + "@shapeshiftoss/hdwallet-ledger": "1.62.32", + "@shapeshiftoss/hdwallet-metamask-multichain": "1.62.32", + "@shapeshiftoss/hdwallet-native": "1.62.32", + "@shapeshiftoss/hdwallet-portis": "1.62.32", + "@shapeshiftoss/hdwallet-trezor": "1.62.32", + "@shapeshiftoss/hdwallet-vultisig": "1.62.32", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 99fbe8ca6..13f68ca69 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 7eaa8e740..ede6140d8 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 46c74efa7..142436cd6 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.32" + "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "1.62.32" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 0469497f9..18b382225 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "1.62.32", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 9a9ab933e..83c67c24e 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "^1.62.32" + "@shapeshiftoss/hdwallet-keepkey": "1.62.32" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 78440e5bd..297edba22 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.32" + "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "1.62.32" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 6e206e267..743bfc49d 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "1.62.32", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 99d65eaa7..90cae6d05 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "^1.62.32" + "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "1.62.32" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 94500e429..a0d6dab14 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 172b9b713..7a8b2a51b 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index c6bb215f0..ce9b77f42 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "^1.62.32", - "@shapeshiftoss/hdwallet-ledger": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-ledger": "1.62.32", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 7e48d64a6..3f04547d8 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "^1.62.32", - "@shapeshiftoss/hdwallet-ledger": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-ledger": "1.62.32", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index b44e84b8a..8024e48c3 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 9430e8f9b..814f5b66f 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 744a9710f..89b5ca9df 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "^1.62.32", + "@shapeshiftoss/hdwallet-native": "1.62.32", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index b7314c2cd..dd29322f1 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 763f7191c..d8b127f0b 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index d61f9d435..f163f5bb4 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index a2d9aec7d..140b998b2 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.32", - "@shapeshiftoss/hdwallet-trezor": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-trezor": "1.62.32", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index e7fe48ea7..501212184 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 6947f2fe7..9a748d0f8 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index a3fdd68bd..262b87294 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index da3cbb500..d7e43de05 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "^1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.32", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" From 2a806415401ef860fc597c5ad62299a351a1b190 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 22:49:01 +0100 Subject: [PATCH 39/44] chore: pin all dependency versions across all packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove caret (^) and tilde (~) version ranges from all package.json files to ensure consistent, reproducible builds. Changes: - Pin all devDependencies, dependencies, and resolutions to exact versions - Affects 26 package.json files (root, integration, sandbox, and 23 packages) - No functional changes, only version constraint updates 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- examples/sandbox/package.json | 36 +++++----- integration/package.json | 10 +-- package.json | 34 ++++----- packages/hdwallet-coinbase/package.json | 8 +-- packages/hdwallet-core/package.json | 16 ++--- packages/hdwallet-gridplus/package.json | 20 +++--- .../hdwallet-keepkey-electron/package.json | 8 +-- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 4 +- packages/hdwallet-keepkey-tcp/package.json | 2 +- packages/hdwallet-keepkey-webusb/package.json | 2 +- packages/hdwallet-keepkey/package.json | 44 ++++++------ packages/hdwallet-keplr/package.json | 16 ++--- packages/hdwallet-ledger-webhid/package.json | 2 +- packages/hdwallet-ledger-webusb/package.json | 6 +- packages/hdwallet-ledger/package.json | 24 +++---- .../hdwallet-metamask-multichain/package.json | 20 +++--- packages/hdwallet-native-vault/package.json | 18 ++--- packages/hdwallet-native/package.json | 72 +++++++++---------- packages/hdwallet-phantom/package.json | 8 +-- packages/hdwallet-portis/package.json | 14 ++-- packages/hdwallet-trezor-connect/package.json | 2 +- packages/hdwallet-trezor/package.json | 12 ++-- packages/hdwallet-vultisig/package.json | 12 ++-- packages/hdwallet-walletconnect/package.json | 6 +- .../hdwallet-walletconnectV2/package.json | 6 +- 26 files changed, 203 insertions(+), 203 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 39d58fcb8..9623da01d 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -10,8 +10,8 @@ "clean": "rm -rf dist node_modules public" }, "dependencies": { - "@esm2cjs/p-queue": "^7.3.0", - "@metamask/eth-sig-util": "^7.0.0", + "@esm2cjs/p-queue": "7.3.0", + "@metamask/eth-sig-util": "7.0.0", "@shapeshiftoss/hdwallet-coinbase": "1.62.32", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-gridplus": "1.62.32", @@ -31,23 +31,23 @@ "@shapeshiftoss/hdwallet-vultisig": "1.62.32", "@shapeshiftoss/hdwallet-walletconnect": "1.62.32", "@shapeshiftoss/hdwallet-walletconnectv2": "1.62.32", - "bip32": "^2.0.4", - "eip-712": "^1.0.0", - "jquery": "^3.7.1", - "json": "^9.0.6", - "source-map": "^0.8.0-beta.0", - "vite": "^5.4.4", - "web3": "^1.5.1" + "bip32": "2.0.4", + "eip-712": "1.0.0", + "jquery": "3.7.1", + "json": "9.0.6", + "source-map": "0.8.0-beta.0", + "vite": "5.4.4", + "web3": "1.5.1" }, "devDependencies": { - "@types/jquery": "^3.5.22", - "concurrently": "^9.0.1", - "https-browserify": "^1.0.0", - "os-browserify": "^0.3.0", - "path-browserify": "^1.0.1", - "querystring-es3": "^0.2.1", - "serve": "^14.2.3", - "stream-http": "^3.2.0", - "vite-plugin-node-polyfills": "^0.22.0" + "@types/jquery": "3.5.22", + "concurrently": "9.0.1", + "https-browserify": "1.0.0", + "os-browserify": "0.3.0", + "path-browserify": "1.0.1", + "querystring-es3": "0.2.1", + "serve": "14.2.3", + "stream-http": "3.2.0", + "vite-plugin-node-polyfills": "0.22.0" } } diff --git a/integration/package.json b/integration/package.json index c8a4fa42b..8b50067e3 100644 --- a/integration/package.json +++ b/integration/package.json @@ -10,8 +10,8 @@ "dev": "lerna run test --scope integration --parallel --include-filtered-dependencies" }, "dependencies": { - "@bitcoinerlab/secp256k1": "^1.1.1", - "@bitgo/utxo-lib": "^11.18.0", + "@bitcoinerlab/secp256k1": "1.1.1", + "@bitgo/utxo-lib": "11.18.0", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-keepkey": "1.62.32", "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.62.32", @@ -22,8 +22,8 @@ "@shapeshiftoss/hdwallet-portis": "1.62.32", "@shapeshiftoss/hdwallet-trezor": "1.62.32", "@shapeshiftoss/hdwallet-vultisig": "1.62.32", - "fast-json-stable-stringify": "^2.1.0", - "msw": "^0.27.1", - "whatwg-fetch": "^3.6.2" + "fast-json-stable-stringify": "2.1.0", + "msw": "0.27.1", + "whatwg-fetch": "3.6.2" } } diff --git a/package.json b/package.json index 2bf3e92ba..d50cab78e 100644 --- a/package.json +++ b/package.json @@ -41,31 +41,31 @@ }, "devDependencies": { "@types/inquirer": "9.0.3", - "@typescript-eslint/eslint-plugin": "^6.7.3", - "@typescript-eslint/parser": "^6.7.3", - "eslint": "^8.10.0", + "@typescript-eslint/eslint-plugin": "6.7.3", + "@typescript-eslint/parser": "6.7.3", + "eslint": "8.10.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-jest": "26.1.1", "eslint-plugin-prettier": "4.0.0", - "eslint-plugin-simple-import-sort": "^7.0.0", - "fake-indexeddb": "^3.1.7", - "jest": "^26.6.3", - "jest-environment-jsdom": "^25.5.0", - "jest-junit": "^12.0.0", - "lerna": "^5.2.0", - "prettier": "^2.0.5", - "ts-jest": "^26.5.5", - "typescript": "^5.2.2" + "eslint-plugin-simple-import-sort": "7.0.0", + "fake-indexeddb": "3.1.7", + "jest": "26.6.3", + "jest-environment-jsdom": "25.5.0", + "jest-junit": "12.0.0", + "lerna": "5.2.0", + "prettier": "2.0.5", + "ts-jest": "26.5.5", + "typescript": "5.2.2" }, "resolutions": { "@types/eventsource": "1.1.8", - "p-queue": "^6.6.2" + "p-queue": "6.6.2" }, "dependencies": { - "@types/jest": "^26.0.23", - "@types/node": "^22.13.14", - "patch-package": "^6.2.2", - "postinstall-postinstall": "^2.1.0" + "@types/jest": "26.0.23", + "@types/node": "22.13.14", + "patch-package": "6.2.2", + "postinstall-postinstall": "2.1.0" }, "packageManager": "yarn@1.22.19" } diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 13f68ca69..0f22e56b8 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -14,12 +14,12 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@coinbase/wallet-sdk": "^3.6.6", + "@coinbase/wallet-sdk": "3.6.6", "@shapeshiftoss/hdwallet-core": "1.62.32", - "eth-rpc-errors": "^4.0.3", - "lodash": "^4.17.21" + "eth-rpc-errors": "4.0.3", + "lodash": "4.17.21" }, "devDependencies": { - "@types/lodash": "^4.14.168" + "@types/lodash": "4.14.168" } } diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 40ec47a78..6fb9e4e00 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -17,16 +17,16 @@ "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@solana/web3.js": "1.95.8", - "bs58check": "^4.0.0", - "eip-712": "^1.0.0", + "bs58check": "4.0.0", + "eip-712": "1.0.0", "ethers": "5.7.2", - "eventemitter2": "^5.0.1", - "lodash": "^4.17.21", - "rxjs": "^6.4.0", - "type-assertions": "^1.1.0" + "eventemitter2": "5.0.1", + "lodash": "4.17.21", + "rxjs": "6.4.0", + "type-assertions": "1.1.0" }, "devDependencies": { - "@types/google-protobuf": "^3.15.1", - "@types/lodash": "^4.14.168" + "@types/google-protobuf": "3.15.1", + "@types/lodash": "4.14.168" } } diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index ede6140d8..09136295a 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -15,22 +15,22 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@bitcoinerlab/secp256k1": "^1.1.1", + "@bitcoinerlab/secp256k1": "1.1.1", "@ethereumjs/common": "4.4.0", "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", - "@metamask/eth-sig-util": "^7.0.0", + "@metamask/eth-sig-util": "7.0.0", "@shapeshiftoss/hdwallet-core": "1.62.32", - "bech32": "^1.1.4", - "bs58": "^5.0.0", - "bs58check": "^4.0.0", - "crypto-js": "^4.2.0", - "gridplus-sdk": "^3.2.0", - "lodash": "^4.17.21" + "bech32": "1.1.4", + "bs58": "5.0.0", + "bs58check": "4.0.0", + "crypto-js": "4.2.0", + "gridplus-sdk": "3.2.0", + "lodash": "4.17.21" }, "devDependencies": { - "@types/crypto-js": "^4.2.2", - "typedoc": "^0.20.36" + "@types/crypto-js": "4.2.2", + "typedoc": "0.20.36" }, "nohoist": [ "@ethereumjs/common", diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 18b382225..d2e54a1f8 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -15,13 +15,13 @@ }, "dependencies": { "@shapeshiftoss/hdwallet-keepkey": "1.62.32", - "uuid": "^8.3.2" + "uuid": "8.3.2" }, "peerDependencies": { - "electron": "^12.0.9" + "electron": "12.0.9" }, "devDependencies": { - "@types/uuid": "^8.3.0", - "electron": "^12.0.9" + "@types/uuid": "8.3.0", + "electron": "12.0.9" } } diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 83c67c24e..98329d185 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -17,9 +17,9 @@ "@shapeshiftoss/hdwallet-keepkey": "1.62.32" }, "peerDependencies": { - "node-hid": "^2.1.1" + "node-hid": "2.1.1" }, "devDependencies": { - "@types/node-hid": "^1.3.1" + "@types/node-hid": "1.3.1" } } diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 297edba22..241dc1751 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -18,9 +18,9 @@ "@shapeshiftoss/hdwallet-keepkey": "1.62.32" }, "peerDependencies": { - "usb": "^2.3.1" + "usb": "2.3.1" }, "devDependencies": { - "usb": "^2.3.1" + "usb": "2.3.1" } } diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 743bfc49d..57624fb25 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -16,6 +16,6 @@ "dependencies": { "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-keepkey": "1.62.32", - "axios": "^0.21.1" + "axios": "0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 90cae6d05..ce0460578 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -18,6 +18,6 @@ "@shapeshiftoss/hdwallet-keepkey": "1.62.32" }, "devDependencies": { - "@types/w3c-web-usb": "^1.0.4" + "@types/w3c-web-usb": "1.0.4" } } diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index a0d6dab14..6f78892e3 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -15,36 +15,36 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@bitcoinerlab/secp256k1": "^1.1.1", + "@bitcoinerlab/secp256k1": "1.1.1", "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", "@keepkey/device-protocol": "7.13.4", - "@metamask/eth-sig-util": "^7.0.0", + "@metamask/eth-sig-util": "7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", - "bignumber.js": "^9.0.1", + "bignumber.js": "9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", - "bs58": "^5.0.0", - "bs58check": "^4.0.0", - "crypto-js": "^4.0.0", - "eip55": "^2.1.0", - "google-protobuf": "^3.15.8", - "icepick": "^2.4.0", - "lodash": "^4.17.21", - "p-lazy": "^3.1.0", - "semver": "^7.3.8" + "bs58": "5.0.0", + "bs58check": "4.0.0", + "crypto-js": "4.0.0", + "eip55": "2.1.0", + "google-protobuf": "3.15.8", + "icepick": "2.4.0", + "lodash": "4.17.21", + "p-lazy": "3.1.0", + "semver": "7.3.8" }, "devDependencies": { - "@cosmjs/amino": "^0.28.13", - "@cosmjs/proto-signing": "^0.28.13", - "@cosmjs/stargate": "^0.28.13", - "@types/create-hash": "^1.2.2", - "@types/crypto-js": "^4.0.0", - "@types/google-protobuf": "^3.15.1", - "@types/icepick": "^2.3.0", - "@types/lodash": "^4.14.168", - "@types/semver": "^6.2.2", - "typedoc": "^0.20.36" + "@cosmjs/amino": "0.28.13", + "@cosmjs/proto-signing": "0.28.13", + "@cosmjs/stargate": "0.28.13", + "@types/create-hash": "1.2.2", + "@types/crypto-js": "4.0.0", + "@types/google-protobuf": "3.15.1", + "@types/icepick": "2.3.0", + "@types/lodash": "4.14.168", + "@types/semver": "6.2.2", + "typedoc": "0.20.36" } } diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 7a8b2a51b..cf32b097d 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -14,19 +14,19 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@cosmjs/amino": "^0.28.13", - "@cosmjs/stargate": "^0.28.13", + "@cosmjs/amino": "0.28.13", + "@cosmjs/stargate": "0.28.13", "@shapeshiftoss/caip": "8.15.0", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", - "base64-js": "^1.5.1", - "lodash": "^4.17.21" + "base64-js": "1.5.1", + "lodash": "4.17.21" }, "devDependencies": { - "@cosmjs/amino": "^0.28.13", - "@cosmjs/stargate": "^0.28.13", - "@keplr-wallet/types": "^0.12.35", - "@types/lodash": "^4.14.168" + "@cosmjs/amino": "0.28.13", + "@cosmjs/stargate": "0.28.13", + "@keplr-wallet/types": "0.12.35", + "@types/lodash": "4.14.168" } } diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index ce9b77f42..1f078adfa 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -20,6 +20,6 @@ "@ledgerhq/hw-transport-webhid": "6.30.6", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-ledger": "1.62.32", - "@types/w3c-web-hid": "^1.0.2" + "@types/w3c-web-hid": "1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 3f04547d8..1ef3ebe30 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -22,10 +22,10 @@ "@ledgerhq/hw-transport-webusb": "6.29.13", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-ledger": "1.62.32", - "@types/w3c-web-usb": "^1.0.4", - "p-queue": "^7.4.1" + "@types/w3c-web-usb": "1.0.4", + "p-queue": "7.4.1" }, "devDependencies": { - "@types/w3c-web-usb": "^1.0.6" + "@types/w3c-web-usb": "1.0.6" } } diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 8024e48c3..b007e02e0 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@bitgo/utxo-lib": "^11.18.0", + "@bitgo/utxo-lib": "11.18.0", "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", "@ledgerhq/device-core": "0.6.9", @@ -26,24 +26,24 @@ "@ledgerhq/hw-app-trx": "6.31.9", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/logs": "6.13.0", - "@mysten/ledgerjs-hw-app-sui": "^0.7.0", + "@mysten/ledgerjs-hw-app-sui": "0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@solana/web3.js": "1.95.8", - "base64-js": "^1.5.1", - "bchaddrjs": "^0.4.4", - "bitcoinjs-message": "^2.0.0", - "bs58check": "^4.0.0", + "base64-js": "1.5.1", + "bchaddrjs": "0.4.4", + "bitcoinjs-message": "2.0.0", + "bs58check": "4.0.0", "ethereumjs-tx": "1.3.7", - "ethereumjs-util": "^6.1.0", + "ethereumjs-util": "6.1.0", "ethers": "5.7.2", - "lodash": "^4.17.21" + "lodash": "4.17.21" }, "devDependencies": { - "@types/bchaddrjs": "^0.4.0", + "@types/bchaddrjs": "0.4.0", "@types/ethereumjs-tx": "1.0.1", - "@types/ethereumjs-util": "^6.1.0", - "@types/ripemd160": "^2.0.2", - "typedoc": "^0.20.36" + "@types/ethereumjs-util": "6.1.0", + "@types/ripemd160": "2.0.2", + "typedoc": "0.20.36" } } diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 814f5b66f..f095eed01 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -14,18 +14,18 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@metamask/detect-provider": "^1.2.0", - "@metamask/onboarding": "^1.0.1", - "@shapeshiftoss/common-api": "^9.3.0", + "@metamask/detect-provider": "1.2.0", + "@metamask/onboarding": "1.0.1", + "@shapeshiftoss/common-api": "9.3.0", "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", - "@shapeshiftoss/metamask-snaps-types": "^1.0.12", - "eth-rpc-errors": "^4.0.3", - "lodash": "^4.17.21", - "mipd": "^0.0.7" + "@shapeshiftoss/metamask-snaps-adapter": "1.0.12", + "@shapeshiftoss/metamask-snaps-types": "1.0.12", + "eth-rpc-errors": "4.0.3", + "lodash": "4.17.21", + "mipd": "0.0.7" }, "devDependencies": { - "@types/express": "^4.17.17", - "@types/lodash": "^4.14.168" + "@types/express": "4.17.17", + "@types/lodash": "4.14.168" } } diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 89b5ca9df..43e833c17 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -14,17 +14,17 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@bitcoinerlab/secp256k1": "^1.1.1", + "@bitcoinerlab/secp256k1": "1.1.1", "@shapeshiftoss/hdwallet-native": "1.62.32", - "bip39": "^3.0.4", - "hash-wasm": "^4.11.0", - "idb-keyval": "^6.0.3", - "jose": "^4.3.5", - "p-lazy": "^3.1.0", - "type-assertions": "^1.1.0", - "uuid": "^8.3.2" + "bip39": "3.0.4", + "hash-wasm": "4.11.0", + "idb-keyval": "6.0.3", + "jose": "4.3.5", + "p-lazy": "3.1.0", + "type-assertions": "1.1.0", + "uuid": "8.3.2" }, "devDependencies": { - "fake-indexeddb": "^3.1.7" + "fake-indexeddb": "3.1.7" } } diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index dd29322f1..b465e2d1a 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -14,49 +14,49 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@bitcoinerlab/secp256k1": "^1.1.1", - "@noble/curves": "^1.4.0", - "@scure/starknet": "^1.0.0", + "@bitcoinerlab/secp256k1": "1.1.1", + "@noble/curves": "1.4.0", + "@scure/starknet": "1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", - "@zxing/text-encoding": "^0.9.0", - "bchaddrjs": "^0.4.9", - "bech32": "^1.1.4", - "bignumber.js": "^9.0.1", - "bip32": "^2.0.5", - "bip39": "^3.0.2", + "@zxing/text-encoding": "0.9.0", + "bchaddrjs": "0.4.9", + "bech32": "1.1.4", + "bignumber.js": "9.0.1", + "bip32": "2.0.5", + "bip39": "3.0.2", "bnb-javascript-sdk-nobroadcast": "2.16.15", - "bs58check": "^4.0.0", - "crypto-js": "^4.0.0", - "ecpair": "^3.0.0-rc.0", - "eip-712": "^1.0.0", + "bs58check": "4.0.0", + "crypto-js": "4.0.0", + "ecpair": "3.0.0-rc.0", + "eip-712": "1.0.0", "ethers": "5.7.2", - "eventemitter2": "^5.0.1", - "funtypes": "^3.0.1", - "hash-wasm": "^4.11.0", - "lodash": "^4.17.21", - "node-fetch": "^2.6.1", - "p-lazy": "^3.1.0", - "scrypt-js": "^3.0.1", - "starknet": "^6.11.0", + "eventemitter2": "5.0.1", + "funtypes": "3.0.1", + "hash-wasm": "4.11.0", + "lodash": "4.17.21", + "node-fetch": "2.6.1", + "p-lazy": "3.1.0", + "scrypt-js": "3.0.1", + "starknet": "6.11.0", "tendermint-tx-builder": "1.0.16" }, "devDependencies": { - "@cosmjs/amino": "^0.28.13", - "@cosmjs/proto-signing": "^0.28.13", - "@cosmjs/stargate": "^0.28.13", - "@peculiar/webcrypto": "^1.4.3", - "@types/bchaddrjs": "^0.4.0", - "@types/big.js": "^6.0.2", - "@types/bs58": "^4.0.1", - "@types/crypto-js": "^4.0.0", - "@types/elliptic": "^6.4.12", - "@types/lodash": "^4.14.168", - "@types/node-fetch": "^2.5.10", - "@types/wif": "^2.0.2", - "bs58": "^4.0.1", - "cosmjs-types": "^0.4.1", - "msw": "^0.27.1" + "@cosmjs/amino": "0.28.13", + "@cosmjs/proto-signing": "0.28.13", + "@cosmjs/stargate": "0.28.13", + "@peculiar/webcrypto": "1.4.3", + "@types/bchaddrjs": "0.4.0", + "@types/big.js": "6.0.2", + "@types/bs58": "4.0.1", + "@types/crypto-js": "4.0.0", + "@types/elliptic": "6.4.12", + "@types/lodash": "4.14.168", + "@types/node-fetch": "2.5.10", + "@types/wif": "2.0.2", + "bs58": "4.0.1", + "cosmjs-types": "0.4.1", + "msw": "0.27.1" } } diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index d8b127f0b..6323d9189 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -17,12 +17,12 @@ "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@solana/web3.js": "1.95.8", - "base64-js": "^1.5.1", - "bitcoinjs-message": "^2.0.0", + "base64-js": "1.5.1", + "bitcoinjs-message": "2.0.0", "ethers": "5.7.2", - "lodash": "^4.17.21" + "lodash": "4.17.21" }, "devDependencies": { - "@types/lodash": "^4.14.168" + "@types/lodash": "4.14.168" } } diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index f163f5bb4..fa18bf769 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -17,14 +17,14 @@ "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", - "base64-js": "^1.5.1", - "bip32": "^2.0.4", - "bitcoinjs-message": "^2.1.0", - "lodash": "^4.17.15", - "p-lazy": "^3.1.0", - "web3": "^1.5.1" + "base64-js": "1.5.1", + "bip32": "2.0.4", + "bitcoinjs-message": "2.1.0", + "lodash": "4.17.15", + "p-lazy": "3.1.0", + "web3": "1.5.1" }, "devDependencies": { - "@types/lodash": "^4.14.168" + "@types/lodash": "4.14.168" } } diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 140b998b2..201a8770b 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -16,6 +16,6 @@ "dependencies": { "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-trezor": "1.62.32", - "@trezor/connect-web": "^9.6.4" + "@trezor/connect-web": "9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 501212184..210f11236 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -18,13 +18,13 @@ "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", "@shapeshiftoss/hdwallet-core": "1.62.32", - "base64-js": "^1.5.1", - "bchaddrjs": "^0.4.4", - "lodash": "^4.17.21" + "base64-js": "1.5.1", + "bchaddrjs": "0.4.4", + "lodash": "4.17.21" }, "devDependencies": { - "@types/bchaddrjs": "^0.4.0", - "@types/lodash": "^4.14.168", - "typedoc": "^0.20.36" + "@types/bchaddrjs": "0.4.0", + "@types/lodash": "4.14.168", + "typedoc": "0.20.36" } } diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 9a748d0f8..4f5b6fd8d 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -14,17 +14,17 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@cosmjs/amino": "^0.28.13", - "@cosmjs/stargate": "^0.28.13", + "@cosmjs/amino": "0.28.13", + "@cosmjs/stargate": "0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@solana/web3.js": "1.95.8", - "base64-js": "^1.5.1", - "bitcoinjs-message": "^2.0.0", + "base64-js": "1.5.1", + "bitcoinjs-message": "2.0.0", "ethers": "5.7.2", - "lodash": "^4.17.21" + "lodash": "4.17.21" }, "devDependencies": { - "@types/lodash": "^4.14.168" + "@types/lodash": "4.14.168" } } diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 262b87294..1ff75c9ed 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -16,8 +16,8 @@ }, "dependencies": { "@shapeshiftoss/hdwallet-core": "1.62.32", - "@walletconnect/qrcode-modal": "^1.7.8", - "@walletconnect/web3-provider": "^1.7.8", - "ethers": "^5.6.5" + "@walletconnect/qrcode-modal": "1.7.8", + "@walletconnect/web3-provider": "1.7.8", + "ethers": "5.6.5" } } diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index d7e43de05..f6d333940 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -16,8 +16,8 @@ }, "dependencies": { "@shapeshiftoss/hdwallet-core": "1.62.32", - "@walletconnect/ethereum-provider": "^2.20.2", - "@walletconnect/modal": "^2.6.2", - "ethers": "^5.6.5" + "@walletconnect/ethereum-provider": "2.20.2", + "@walletconnect/modal": "2.6.2", + "ethers": "5.6.5" } } From cfb2b6a81184da683c7e669f8189dc08fa6313ef Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 23:06:17 +0100 Subject: [PATCH 40/44] feat: clean shit up --- examples/sandbox/package.json | 36 +-- integration/package.json | 10 +- package.json | 34 +- packages/hdwallet-coinbase/package.json | 8 +- packages/hdwallet-core/package.json | 16 +- packages/hdwallet-gridplus/package.json | 20 +- .../hdwallet-keepkey-electron/package.json | 8 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 4 +- packages/hdwallet-keepkey-tcp/package.json | 2 +- packages/hdwallet-keepkey-webusb/package.json | 2 +- packages/hdwallet-keepkey/package.json | 44 +-- packages/hdwallet-keplr/package.json | 16 +- packages/hdwallet-ledger-webhid/package.json | 2 +- packages/hdwallet-ledger-webusb/package.json | 6 +- packages/hdwallet-ledger/package.json | 24 +- .../hdwallet-metamask-multichain/package.json | 20 +- packages/hdwallet-native-vault/package.json | 18 +- packages/hdwallet-native/package.json | 72 ++--- packages/hdwallet-phantom/package.json | 8 +- packages/hdwallet-portis/package.json | 14 +- packages/hdwallet-trezor-connect/package.json | 2 +- packages/hdwallet-trezor/package.json | 12 +- packages/hdwallet-vultisig/package.json | 12 +- packages/hdwallet-walletconnect/package.json | 6 +- .../hdwallet-walletconnectV2/package.json | 6 +- yarn.lock | 298 ------------------ 27 files changed, 203 insertions(+), 501 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 9623da01d..39d58fcb8 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -10,8 +10,8 @@ "clean": "rm -rf dist node_modules public" }, "dependencies": { - "@esm2cjs/p-queue": "7.3.0", - "@metamask/eth-sig-util": "7.0.0", + "@esm2cjs/p-queue": "^7.3.0", + "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/hdwallet-coinbase": "1.62.32", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-gridplus": "1.62.32", @@ -31,23 +31,23 @@ "@shapeshiftoss/hdwallet-vultisig": "1.62.32", "@shapeshiftoss/hdwallet-walletconnect": "1.62.32", "@shapeshiftoss/hdwallet-walletconnectv2": "1.62.32", - "bip32": "2.0.4", - "eip-712": "1.0.0", - "jquery": "3.7.1", - "json": "9.0.6", - "source-map": "0.8.0-beta.0", - "vite": "5.4.4", - "web3": "1.5.1" + "bip32": "^2.0.4", + "eip-712": "^1.0.0", + "jquery": "^3.7.1", + "json": "^9.0.6", + "source-map": "^0.8.0-beta.0", + "vite": "^5.4.4", + "web3": "^1.5.1" }, "devDependencies": { - "@types/jquery": "3.5.22", - "concurrently": "9.0.1", - "https-browserify": "1.0.0", - "os-browserify": "0.3.0", - "path-browserify": "1.0.1", - "querystring-es3": "0.2.1", - "serve": "14.2.3", - "stream-http": "3.2.0", - "vite-plugin-node-polyfills": "0.22.0" + "@types/jquery": "^3.5.22", + "concurrently": "^9.0.1", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "^1.0.1", + "querystring-es3": "^0.2.1", + "serve": "^14.2.3", + "stream-http": "^3.2.0", + "vite-plugin-node-polyfills": "^0.22.0" } } diff --git a/integration/package.json b/integration/package.json index 8b50067e3..c8a4fa42b 100644 --- a/integration/package.json +++ b/integration/package.json @@ -10,8 +10,8 @@ "dev": "lerna run test --scope integration --parallel --include-filtered-dependencies" }, "dependencies": { - "@bitcoinerlab/secp256k1": "1.1.1", - "@bitgo/utxo-lib": "11.18.0", + "@bitcoinerlab/secp256k1": "^1.1.1", + "@bitgo/utxo-lib": "^11.18.0", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-keepkey": "1.62.32", "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.62.32", @@ -22,8 +22,8 @@ "@shapeshiftoss/hdwallet-portis": "1.62.32", "@shapeshiftoss/hdwallet-trezor": "1.62.32", "@shapeshiftoss/hdwallet-vultisig": "1.62.32", - "fast-json-stable-stringify": "2.1.0", - "msw": "0.27.1", - "whatwg-fetch": "3.6.2" + "fast-json-stable-stringify": "^2.1.0", + "msw": "^0.27.1", + "whatwg-fetch": "^3.6.2" } } diff --git a/package.json b/package.json index d50cab78e..2bf3e92ba 100644 --- a/package.json +++ b/package.json @@ -41,31 +41,31 @@ }, "devDependencies": { "@types/inquirer": "9.0.3", - "@typescript-eslint/eslint-plugin": "6.7.3", - "@typescript-eslint/parser": "6.7.3", - "eslint": "8.10.0", + "@typescript-eslint/eslint-plugin": "^6.7.3", + "@typescript-eslint/parser": "^6.7.3", + "eslint": "^8.10.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-jest": "26.1.1", "eslint-plugin-prettier": "4.0.0", - "eslint-plugin-simple-import-sort": "7.0.0", - "fake-indexeddb": "3.1.7", - "jest": "26.6.3", - "jest-environment-jsdom": "25.5.0", - "jest-junit": "12.0.0", - "lerna": "5.2.0", - "prettier": "2.0.5", - "ts-jest": "26.5.5", - "typescript": "5.2.2" + "eslint-plugin-simple-import-sort": "^7.0.0", + "fake-indexeddb": "^3.1.7", + "jest": "^26.6.3", + "jest-environment-jsdom": "^25.5.0", + "jest-junit": "^12.0.0", + "lerna": "^5.2.0", + "prettier": "^2.0.5", + "ts-jest": "^26.5.5", + "typescript": "^5.2.2" }, "resolutions": { "@types/eventsource": "1.1.8", - "p-queue": "6.6.2" + "p-queue": "^6.6.2" }, "dependencies": { - "@types/jest": "26.0.23", - "@types/node": "22.13.14", - "patch-package": "6.2.2", - "postinstall-postinstall": "2.1.0" + "@types/jest": "^26.0.23", + "@types/node": "^22.13.14", + "patch-package": "^6.2.2", + "postinstall-postinstall": "^2.1.0" }, "packageManager": "yarn@1.22.19" } diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 0f22e56b8..13f68ca69 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -14,12 +14,12 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@coinbase/wallet-sdk": "3.6.6", + "@coinbase/wallet-sdk": "^3.6.6", "@shapeshiftoss/hdwallet-core": "1.62.32", - "eth-rpc-errors": "4.0.3", - "lodash": "4.17.21" + "eth-rpc-errors": "^4.0.3", + "lodash": "^4.17.21" }, "devDependencies": { - "@types/lodash": "4.14.168" + "@types/lodash": "^4.14.168" } } diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 6fb9e4e00..40ec47a78 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -17,16 +17,16 @@ "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@solana/web3.js": "1.95.8", - "bs58check": "4.0.0", - "eip-712": "1.0.0", + "bs58check": "^4.0.0", + "eip-712": "^1.0.0", "ethers": "5.7.2", - "eventemitter2": "5.0.1", - "lodash": "4.17.21", - "rxjs": "6.4.0", - "type-assertions": "1.1.0" + "eventemitter2": "^5.0.1", + "lodash": "^4.17.21", + "rxjs": "^6.4.0", + "type-assertions": "^1.1.0" }, "devDependencies": { - "@types/google-protobuf": "3.15.1", - "@types/lodash": "4.14.168" + "@types/google-protobuf": "^3.15.1", + "@types/lodash": "^4.14.168" } } diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index 09136295a..ede6140d8 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -15,22 +15,22 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@bitcoinerlab/secp256k1": "1.1.1", + "@bitcoinerlab/secp256k1": "^1.1.1", "@ethereumjs/common": "4.4.0", "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", - "@metamask/eth-sig-util": "7.0.0", + "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/hdwallet-core": "1.62.32", - "bech32": "1.1.4", - "bs58": "5.0.0", - "bs58check": "4.0.0", - "crypto-js": "4.2.0", - "gridplus-sdk": "3.2.0", - "lodash": "4.17.21" + "bech32": "^1.1.4", + "bs58": "^5.0.0", + "bs58check": "^4.0.0", + "crypto-js": "^4.2.0", + "gridplus-sdk": "^3.2.0", + "lodash": "^4.17.21" }, "devDependencies": { - "@types/crypto-js": "4.2.2", - "typedoc": "0.20.36" + "@types/crypto-js": "^4.2.2", + "typedoc": "^0.20.36" }, "nohoist": [ "@ethereumjs/common", diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index d2e54a1f8..18b382225 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -15,13 +15,13 @@ }, "dependencies": { "@shapeshiftoss/hdwallet-keepkey": "1.62.32", - "uuid": "8.3.2" + "uuid": "^8.3.2" }, "peerDependencies": { - "electron": "12.0.9" + "electron": "^12.0.9" }, "devDependencies": { - "@types/uuid": "8.3.0", - "electron": "12.0.9" + "@types/uuid": "^8.3.0", + "electron": "^12.0.9" } } diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 98329d185..83c67c24e 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -17,9 +17,9 @@ "@shapeshiftoss/hdwallet-keepkey": "1.62.32" }, "peerDependencies": { - "node-hid": "2.1.1" + "node-hid": "^2.1.1" }, "devDependencies": { - "@types/node-hid": "1.3.1" + "@types/node-hid": "^1.3.1" } } diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 241dc1751..297edba22 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -18,9 +18,9 @@ "@shapeshiftoss/hdwallet-keepkey": "1.62.32" }, "peerDependencies": { - "usb": "2.3.1" + "usb": "^2.3.1" }, "devDependencies": { - "usb": "2.3.1" + "usb": "^2.3.1" } } diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 57624fb25..743bfc49d 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -16,6 +16,6 @@ "dependencies": { "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-keepkey": "1.62.32", - "axios": "0.21.1" + "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index ce0460578..90cae6d05 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -18,6 +18,6 @@ "@shapeshiftoss/hdwallet-keepkey": "1.62.32" }, "devDependencies": { - "@types/w3c-web-usb": "1.0.4" + "@types/w3c-web-usb": "^1.0.4" } } diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 6f78892e3..a0d6dab14 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -15,36 +15,36 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@bitcoinerlab/secp256k1": "1.1.1", + "@bitcoinerlab/secp256k1": "^1.1.1", "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", "@keepkey/device-protocol": "7.13.4", - "@metamask/eth-sig-util": "7.0.0", + "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", - "bignumber.js": "9.0.1", + "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", - "bs58": "5.0.0", - "bs58check": "4.0.0", - "crypto-js": "4.0.0", - "eip55": "2.1.0", - "google-protobuf": "3.15.8", - "icepick": "2.4.0", - "lodash": "4.17.21", - "p-lazy": "3.1.0", - "semver": "7.3.8" + "bs58": "^5.0.0", + "bs58check": "^4.0.0", + "crypto-js": "^4.0.0", + "eip55": "^2.1.0", + "google-protobuf": "^3.15.8", + "icepick": "^2.4.0", + "lodash": "^4.17.21", + "p-lazy": "^3.1.0", + "semver": "^7.3.8" }, "devDependencies": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/proto-signing": "0.28.13", - "@cosmjs/stargate": "0.28.13", - "@types/create-hash": "1.2.2", - "@types/crypto-js": "4.0.0", - "@types/google-protobuf": "3.15.1", - "@types/icepick": "2.3.0", - "@types/lodash": "4.14.168", - "@types/semver": "6.2.2", - "typedoc": "0.20.36" + "@cosmjs/amino": "^0.28.13", + "@cosmjs/proto-signing": "^0.28.13", + "@cosmjs/stargate": "^0.28.13", + "@types/create-hash": "^1.2.2", + "@types/crypto-js": "^4.0.0", + "@types/google-protobuf": "^3.15.1", + "@types/icepick": "^2.3.0", + "@types/lodash": "^4.14.168", + "@types/semver": "^6.2.2", + "typedoc": "^0.20.36" } } diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index cf32b097d..7a8b2a51b 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -14,19 +14,19 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/stargate": "0.28.13", + "@cosmjs/amino": "^0.28.13", + "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", - "base64-js": "1.5.1", - "lodash": "4.17.21" + "base64-js": "^1.5.1", + "lodash": "^4.17.21" }, "devDependencies": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/stargate": "0.28.13", - "@keplr-wallet/types": "0.12.35", - "@types/lodash": "4.14.168" + "@cosmjs/amino": "^0.28.13", + "@cosmjs/stargate": "^0.28.13", + "@keplr-wallet/types": "^0.12.35", + "@types/lodash": "^4.14.168" } } diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 1f078adfa..ce9b77f42 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -20,6 +20,6 @@ "@ledgerhq/hw-transport-webhid": "6.30.6", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-ledger": "1.62.32", - "@types/w3c-web-hid": "1.0.2" + "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 1ef3ebe30..3f04547d8 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -22,10 +22,10 @@ "@ledgerhq/hw-transport-webusb": "6.29.13", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-ledger": "1.62.32", - "@types/w3c-web-usb": "1.0.4", - "p-queue": "7.4.1" + "@types/w3c-web-usb": "^1.0.4", + "p-queue": "^7.4.1" }, "devDependencies": { - "@types/w3c-web-usb": "1.0.6" + "@types/w3c-web-usb": "^1.0.6" } } diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index b007e02e0..8024e48c3 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@bitgo/utxo-lib": "11.18.0", + "@bitgo/utxo-lib": "^11.18.0", "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", "@ledgerhq/device-core": "0.6.9", @@ -26,24 +26,24 @@ "@ledgerhq/hw-app-trx": "6.31.9", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/logs": "6.13.0", - "@mysten/ledgerjs-hw-app-sui": "0.7.0", + "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@solana/web3.js": "1.95.8", - "base64-js": "1.5.1", - "bchaddrjs": "0.4.4", - "bitcoinjs-message": "2.0.0", - "bs58check": "4.0.0", + "base64-js": "^1.5.1", + "bchaddrjs": "^0.4.4", + "bitcoinjs-message": "^2.0.0", + "bs58check": "^4.0.0", "ethereumjs-tx": "1.3.7", - "ethereumjs-util": "6.1.0", + "ethereumjs-util": "^6.1.0", "ethers": "5.7.2", - "lodash": "4.17.21" + "lodash": "^4.17.21" }, "devDependencies": { - "@types/bchaddrjs": "0.4.0", + "@types/bchaddrjs": "^0.4.0", "@types/ethereumjs-tx": "1.0.1", - "@types/ethereumjs-util": "6.1.0", - "@types/ripemd160": "2.0.2", - "typedoc": "0.20.36" + "@types/ethereumjs-util": "^6.1.0", + "@types/ripemd160": "^2.0.2", + "typedoc": "^0.20.36" } } diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index f095eed01..814f5b66f 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -14,18 +14,18 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@metamask/detect-provider": "1.2.0", - "@metamask/onboarding": "1.0.1", - "@shapeshiftoss/common-api": "9.3.0", + "@metamask/detect-provider": "^1.2.0", + "@metamask/onboarding": "^1.0.1", + "@shapeshiftoss/common-api": "^9.3.0", "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/metamask-snaps-adapter": "1.0.12", - "@shapeshiftoss/metamask-snaps-types": "1.0.12", - "eth-rpc-errors": "4.0.3", - "lodash": "4.17.21", - "mipd": "0.0.7" + "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", + "@shapeshiftoss/metamask-snaps-types": "^1.0.12", + "eth-rpc-errors": "^4.0.3", + "lodash": "^4.17.21", + "mipd": "^0.0.7" }, "devDependencies": { - "@types/express": "4.17.17", - "@types/lodash": "4.14.168" + "@types/express": "^4.17.17", + "@types/lodash": "^4.14.168" } } diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 43e833c17..89b5ca9df 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -14,17 +14,17 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@bitcoinerlab/secp256k1": "1.1.1", + "@bitcoinerlab/secp256k1": "^1.1.1", "@shapeshiftoss/hdwallet-native": "1.62.32", - "bip39": "3.0.4", - "hash-wasm": "4.11.0", - "idb-keyval": "6.0.3", - "jose": "4.3.5", - "p-lazy": "3.1.0", - "type-assertions": "1.1.0", - "uuid": "8.3.2" + "bip39": "^3.0.4", + "hash-wasm": "^4.11.0", + "idb-keyval": "^6.0.3", + "jose": "^4.3.5", + "p-lazy": "^3.1.0", + "type-assertions": "^1.1.0", + "uuid": "^8.3.2" }, "devDependencies": { - "fake-indexeddb": "3.1.7" + "fake-indexeddb": "^3.1.7" } } diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index b465e2d1a..dd29322f1 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -14,49 +14,49 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@bitcoinerlab/secp256k1": "1.1.1", - "@noble/curves": "1.4.0", - "@scure/starknet": "1.0.0", + "@bitcoinerlab/secp256k1": "^1.1.1", + "@noble/curves": "^1.4.0", + "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/proto-tx-builder": "0.10.0", - "@zxing/text-encoding": "0.9.0", - "bchaddrjs": "0.4.9", - "bech32": "1.1.4", - "bignumber.js": "9.0.1", - "bip32": "2.0.5", - "bip39": "3.0.2", + "@zxing/text-encoding": "^0.9.0", + "bchaddrjs": "^0.4.9", + "bech32": "^1.1.4", + "bignumber.js": "^9.0.1", + "bip32": "^2.0.5", + "bip39": "^3.0.2", "bnb-javascript-sdk-nobroadcast": "2.16.15", - "bs58check": "4.0.0", - "crypto-js": "4.0.0", - "ecpair": "3.0.0-rc.0", - "eip-712": "1.0.0", + "bs58check": "^4.0.0", + "crypto-js": "^4.0.0", + "ecpair": "^3.0.0-rc.0", + "eip-712": "^1.0.0", "ethers": "5.7.2", - "eventemitter2": "5.0.1", - "funtypes": "3.0.1", - "hash-wasm": "4.11.0", - "lodash": "4.17.21", - "node-fetch": "2.6.1", - "p-lazy": "3.1.0", - "scrypt-js": "3.0.1", - "starknet": "6.11.0", + "eventemitter2": "^5.0.1", + "funtypes": "^3.0.1", + "hash-wasm": "^4.11.0", + "lodash": "^4.17.21", + "node-fetch": "^2.6.1", + "p-lazy": "^3.1.0", + "scrypt-js": "^3.0.1", + "starknet": "^6.11.0", "tendermint-tx-builder": "1.0.16" }, "devDependencies": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/proto-signing": "0.28.13", - "@cosmjs/stargate": "0.28.13", - "@peculiar/webcrypto": "1.4.3", - "@types/bchaddrjs": "0.4.0", - "@types/big.js": "6.0.2", - "@types/bs58": "4.0.1", - "@types/crypto-js": "4.0.0", - "@types/elliptic": "6.4.12", - "@types/lodash": "4.14.168", - "@types/node-fetch": "2.5.10", - "@types/wif": "2.0.2", - "bs58": "4.0.1", - "cosmjs-types": "0.4.1", - "msw": "0.27.1" + "@cosmjs/amino": "^0.28.13", + "@cosmjs/proto-signing": "^0.28.13", + "@cosmjs/stargate": "^0.28.13", + "@peculiar/webcrypto": "^1.4.3", + "@types/bchaddrjs": "^0.4.0", + "@types/big.js": "^6.0.2", + "@types/bs58": "^4.0.1", + "@types/crypto-js": "^4.0.0", + "@types/elliptic": "^6.4.12", + "@types/lodash": "^4.14.168", + "@types/node-fetch": "^2.5.10", + "@types/wif": "^2.0.2", + "bs58": "^4.0.1", + "cosmjs-types": "^0.4.1", + "msw": "^0.27.1" } } diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index 6323d9189..d8b127f0b 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -17,12 +17,12 @@ "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@solana/web3.js": "1.95.8", - "base64-js": "1.5.1", - "bitcoinjs-message": "2.0.0", + "base64-js": "^1.5.1", + "bitcoinjs-message": "^2.0.0", "ethers": "5.7.2", - "lodash": "4.17.21" + "lodash": "^4.17.21" }, "devDependencies": { - "@types/lodash": "4.14.168" + "@types/lodash": "^4.14.168" } } diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index fa18bf769..f163f5bb4 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -17,14 +17,14 @@ "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", - "base64-js": "1.5.1", - "bip32": "2.0.4", - "bitcoinjs-message": "2.1.0", - "lodash": "4.17.15", - "p-lazy": "3.1.0", - "web3": "1.5.1" + "base64-js": "^1.5.1", + "bip32": "^2.0.4", + "bitcoinjs-message": "^2.1.0", + "lodash": "^4.17.15", + "p-lazy": "^3.1.0", + "web3": "^1.5.1" }, "devDependencies": { - "@types/lodash": "4.14.168" + "@types/lodash": "^4.14.168" } } diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 201a8770b..140b998b2 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -16,6 +16,6 @@ "dependencies": { "@shapeshiftoss/hdwallet-core": "1.62.32", "@shapeshiftoss/hdwallet-trezor": "1.62.32", - "@trezor/connect-web": "9.6.4" + "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 210f11236..501212184 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -18,13 +18,13 @@ "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", "@shapeshiftoss/hdwallet-core": "1.62.32", - "base64-js": "1.5.1", - "bchaddrjs": "0.4.4", - "lodash": "4.17.21" + "base64-js": "^1.5.1", + "bchaddrjs": "^0.4.4", + "lodash": "^4.17.21" }, "devDependencies": { - "@types/bchaddrjs": "0.4.0", - "@types/lodash": "4.14.168", - "typedoc": "0.20.36" + "@types/bchaddrjs": "^0.4.0", + "@types/lodash": "^4.14.168", + "typedoc": "^0.20.36" } } diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 4f5b6fd8d..9a748d0f8 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -14,17 +14,17 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/stargate": "0.28.13", + "@cosmjs/amino": "^0.28.13", + "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.62.32", "@solana/web3.js": "1.95.8", - "base64-js": "1.5.1", - "bitcoinjs-message": "2.0.0", + "base64-js": "^1.5.1", + "bitcoinjs-message": "^2.0.0", "ethers": "5.7.2", - "lodash": "4.17.21" + "lodash": "^4.17.21" }, "devDependencies": { - "@types/lodash": "4.14.168" + "@types/lodash": "^4.14.168" } } diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 1ff75c9ed..262b87294 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -16,8 +16,8 @@ }, "dependencies": { "@shapeshiftoss/hdwallet-core": "1.62.32", - "@walletconnect/qrcode-modal": "1.7.8", - "@walletconnect/web3-provider": "1.7.8", - "ethers": "5.6.5" + "@walletconnect/qrcode-modal": "^1.7.8", + "@walletconnect/web3-provider": "^1.7.8", + "ethers": "^5.6.5" } } diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index f6d333940..d7e43de05 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -16,8 +16,8 @@ }, "dependencies": { "@shapeshiftoss/hdwallet-core": "1.62.32", - "@walletconnect/ethereum-provider": "2.20.2", - "@walletconnect/modal": "2.6.2", - "ethers": "5.6.5" + "@walletconnect/ethereum-provider": "^2.20.2", + "@walletconnect/modal": "^2.6.2", + "ethers": "^5.6.5" } } diff --git a/yarn.lock b/yarn.lock index ad0531e12..7f5865ac0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4188,32 +4188,6 @@ uuid "^8.3.2" ws "^8.8.0" -"@shapeshiftoss/hdwallet-coinbase@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-coinbase/-/hdwallet-coinbase-1.62.33-starknet.14.tgz#ae5b88abd604a8c1abb1b9f21a749afb0a50a271" - integrity sha512-knWfsU3ht0nHQAPsRhRIAJImzLVgpxPjX/T5rQEK469+yKWxxiOm+OxussjyE9WNzBpkCsjUMvUFQLnA9Wpgxg== - dependencies: - "@coinbase/wallet-sdk" "^3.6.6" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - eth-rpc-errors "^4.0.3" - lodash "^4.17.21" - -"@shapeshiftoss/hdwallet-core@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-core/-/hdwallet-core-1.62.33-starknet.14.tgz#e2d3d5dc7696e66bb5f39760c1937bdc68af433f" - integrity sha512-dh26U3G4R71MyoKSYYPB4a24f4SpNZknjDLiQd5cDPvf1BbnMzhyNgx6zv/Uogq89SgZqxxoRDy9ov1MfXK2fA== - dependencies: - "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" - "@shapeshiftoss/proto-tx-builder" "0.10.0" - "@solana/web3.js" "1.95.8" - bs58check "^4.0.0" - eip-712 "^1.0.0" - ethers "5.7.2" - eventemitter2 "^5.0.1" - lodash "^4.17.21" - rxjs "^6.4.0" - type-assertions "^1.1.0" - "@shapeshiftoss/hdwallet-core@latest": version "1.56.0" resolved "https://registry.yarnpkg.com/@shapeshiftoss/hdwallet-core/-/hdwallet-core-1.56.0.tgz#6c14a2dc7eb394d1a927999f549c15eb8bd42421" @@ -4228,278 +4202,6 @@ rxjs "^6.4.0" type-assertions "^1.1.0" -"@shapeshiftoss/hdwallet-gridplus@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-gridplus/-/hdwallet-gridplus-1.62.33-starknet.14.tgz#a90deb22069eaac5f7b272031e7e7a9b6032c9c5" - integrity sha512-dILP03K19i0je6mjDZIltz12yfFvLHA/VxOIGGsVyKHAP+2UZtcbzcbfhK2dVvgVQJwbzSZBo/9WuLZxctOWcw== - dependencies: - "@bitcoinerlab/secp256k1" "^1.1.1" - "@ethereumjs/common" "4.4.0" - "@ethereumjs/rlp" "5.0.2" - "@ethereumjs/tx" "5.4.0" - "@metamask/eth-sig-util" "^7.0.0" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - bech32 "^1.1.4" - bs58 "^5.0.0" - bs58check "^4.0.0" - crypto-js "^4.2.0" - gridplus-sdk "^3.2.0" - lodash "^4.17.21" - -"@shapeshiftoss/hdwallet-keepkey-nodewebusb@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-keepkey-nodewebusb/-/hdwallet-keepkey-nodewebusb-1.62.33-starknet.14.tgz#07a9f1c07a61cbd41b2b046b3a71f40f371cca2e" - integrity sha512-6zgvVu108Rf8iknvKU5H1ahGQ298tvViB33LqirSLS3ZTg7wCAaki62akcUyX+be6QUeYVnFCN4dAlBKAc+Rag== - dependencies: - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@shapeshiftoss/hdwallet-keepkey" "^1.62.33-starknet.14" - -"@shapeshiftoss/hdwallet-keepkey-tcp@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-keepkey-tcp/-/hdwallet-keepkey-tcp-1.62.33-starknet.14.tgz#ad77e36603404878fb4da60a3a06dc2aa80c2620" - integrity sha512-0MoLsGCZhlD7YP3Pm56O30O2/s46Hqla7JIP41uOIi1+wBxW9Y1gVnzURPIGl4laKdfVc5l12U34WWe04yJsHQ== - dependencies: - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@shapeshiftoss/hdwallet-keepkey" "^1.62.33-starknet.14" - axios "^0.21.1" - -"@shapeshiftoss/hdwallet-keepkey-webusb@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-keepkey-webusb/-/hdwallet-keepkey-webusb-1.62.33-starknet.14.tgz#1ef97254ef1b7db70e5776026d350196c4b02c4b" - integrity sha512-WOGFFViTn7m9/uT686433LubT+XZ+oOEyLHwYLq/OmH0pEEZeVXTrFjj/asFNwuGjYMEA+Q0ajBlEWWNXHwjbw== - dependencies: - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@shapeshiftoss/hdwallet-keepkey" "^1.62.33-starknet.14" - -"@shapeshiftoss/hdwallet-keepkey@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-keepkey/-/hdwallet-keepkey-1.62.33-starknet.14.tgz#c9131060bf2c8a28f7467fbfd02f48480ad32dc9" - integrity sha512-rzUUai268rPHSvgdiWh7Dgc7UNu4OBcXqUrrHbGGmYYXEpyq4p5+JgXa4XFEEsfAR7a5Sq/RwQCsU2mjackzEg== - dependencies: - "@bitcoinerlab/secp256k1" "^1.1.1" - "@ethereumjs/common" "3.2.0" - "@ethereumjs/tx" "4.2.0" - "@keepkey/device-protocol" "7.13.4" - "@metamask/eth-sig-util" "^7.0.0" - "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@shapeshiftoss/proto-tx-builder" "0.10.0" - bignumber.js "^9.0.1" - bnb-javascript-sdk-nobroadcast "2.16.15" - bs58 "^5.0.0" - bs58check "^4.0.0" - crypto-js "^4.0.0" - eip55 "^2.1.0" - google-protobuf "^3.15.8" - icepick "^2.4.0" - lodash "^4.17.21" - p-lazy "^3.1.0" - semver "^7.3.8" - -"@shapeshiftoss/hdwallet-keplr@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-keplr/-/hdwallet-keplr-1.62.33-starknet.14.tgz#f1ccbf13d9ac600e55cf60270bc7f2575dbd7355" - integrity sha512-aXzvmjx6gq1lvUWR2rmFXoVfR72UfNoEF/vVsJxyMaaT5eYjTh0jSeFDnielVRBurmWdebPuEQ+unqWJw92mqA== - dependencies: - "@cosmjs/amino" "^0.28.13" - "@cosmjs/stargate" "^0.28.13" - "@shapeshiftoss/caip" "8.15.0" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@shapeshiftoss/proto-tx-builder" "0.10.0" - "@shapeshiftoss/types" "3.1.3" - base64-js "^1.5.1" - lodash "^4.17.21" - -"@shapeshiftoss/hdwallet-ledger-webhid@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-ledger-webhid/-/hdwallet-ledger-webhid-1.62.33-starknet.14.tgz#2f8b98ea8fed2f18b29149beb882fb6f3fad2a70" - integrity sha512-xmFk5puQWqsUHY2O69gZhu7JhqFxnw5cWh2J9G0TfXQazWjsotFanE2tjHSzn8O1OMWRhsUlbYHnUKQU7juW2g== - dependencies: - "@ledgerhq/hw-app-btc" "10.13.0" - "@ledgerhq/hw-app-eth" "7.0.0" - "@ledgerhq/hw-transport" "6.31.13" - "@ledgerhq/hw-transport-webhid" "6.30.6" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@shapeshiftoss/hdwallet-ledger" "^1.62.33-starknet.14" - "@types/w3c-web-hid" "^1.0.2" - -"@shapeshiftoss/hdwallet-ledger-webusb@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-ledger-webusb/-/hdwallet-ledger-webusb-1.62.33-starknet.14.tgz#e605589fb0421df32e7f3f23cc96b80b09c84cbd" - integrity sha512-8UTy0CDDeq+wegZ066lMQWKP5jYdh4s2BTel7gWREsSEUo15ypfJM7AqNpVcITobVPjbIxADh79Qb9CUJgJ1VQ== - dependencies: - "@ledgerhq/hw-app-btc" "10.13.0" - "@ledgerhq/hw-app-cosmos" "6.32.9" - "@ledgerhq/hw-app-eth" "7.0.0" - "@ledgerhq/hw-app-solana" "7.6.0" - "@ledgerhq/hw-transport" "6.31.13" - "@ledgerhq/hw-transport-webusb" "6.29.13" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@shapeshiftoss/hdwallet-ledger" "^1.62.33-starknet.14" - "@types/w3c-web-usb" "^1.0.4" - p-queue "^7.4.1" - -"@shapeshiftoss/hdwallet-ledger@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-ledger/-/hdwallet-ledger-1.62.33-starknet.14.tgz#0175e259761d8c58ba7d5ac9b4367951c370e4e5" - integrity sha512-CSJ4PG4DrUjt9ZwPpU+QmlzNZrEWWoWz3MW66ryWWrII17gGq78ExyHNcn7TKxVm3k2oJb2f4uv9AxmAeCuFNw== - dependencies: - "@bitgo/utxo-lib" "^11.18.0" - "@ethereumjs/common" "3.2.0" - "@ethereumjs/tx" "4.2.0" - "@ledgerhq/device-core" "0.6.9" - "@ledgerhq/hw-app-btc" "10.13.0" - "@ledgerhq/hw-app-cosmos" "6.32.9" - "@ledgerhq/hw-app-eth" "7.0.0" - "@ledgerhq/hw-app-solana" "7.6.0" - "@ledgerhq/hw-app-trx" "6.31.9" - "@ledgerhq/hw-transport" "6.31.13" - "@ledgerhq/logs" "6.13.0" - "@mysten/ledgerjs-hw-app-sui" "^0.7.0" - "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@solana/web3.js" "1.95.8" - base64-js "^1.5.1" - bchaddrjs "^0.4.4" - bitcoinjs-message "^2.0.0" - bs58check "^4.0.0" - ethereumjs-tx "1.3.7" - ethereumjs-util "^6.1.0" - ethers "5.7.2" - lodash "^4.17.21" - -"@shapeshiftoss/hdwallet-metamask-multichain@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-metamask-multichain/-/hdwallet-metamask-multichain-1.62.33-starknet.14.tgz#9269cd777b0b6b7639cdba415e5d878819f4da94" - integrity sha512-549kyrSxY//4W391M05B5c7BmEOabVD84ad8YglQazAfB0TM9O8oymqESOOfhKRW49FYXz0h0whgAeI83VRq5w== - dependencies: - "@metamask/detect-provider" "^1.2.0" - "@metamask/onboarding" "^1.0.1" - "@shapeshiftoss/common-api" "^9.3.0" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@shapeshiftoss/metamask-snaps-adapter" "^1.0.12" - "@shapeshiftoss/metamask-snaps-types" "^1.0.12" - eth-rpc-errors "^4.0.3" - lodash "^4.17.21" - mipd "^0.0.7" - -"@shapeshiftoss/hdwallet-native@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-native/-/hdwallet-native-1.62.33-starknet.14.tgz#502806840fce0650acb5fd9cb0936d26e394850c" - integrity sha512-tJGY54oR1xvTFO7ew9tRZ1rdxqxahh8UfDRpGlwjBppPjopvg2Vrfhkvv+MtjQSAoBrioQE/qDSH6SC4HzNtlw== - dependencies: - "@bitcoinerlab/secp256k1" "^1.1.1" - "@noble/curves" "^1.4.0" - "@scure/starknet" "^1.0.0" - "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@shapeshiftoss/proto-tx-builder" "0.10.0" - "@zxing/text-encoding" "^0.9.0" - bchaddrjs "^0.4.9" - bech32 "^1.1.4" - bignumber.js "^9.0.1" - bip32 "^2.0.5" - bip39 "^3.0.2" - bnb-javascript-sdk-nobroadcast "2.16.15" - bs58check "^4.0.0" - crypto-js "^4.0.0" - ecpair "^3.0.0-rc.0" - eip-712 "^1.0.0" - ethers "5.7.2" - eventemitter2 "^5.0.1" - funtypes "^3.0.1" - hash-wasm "^4.11.0" - lodash "^4.17.21" - node-fetch "^2.6.1" - p-lazy "^3.1.0" - scrypt-js "^3.0.1" - starknet "^6.11.0" - tendermint-tx-builder "1.0.16" - -"@shapeshiftoss/hdwallet-phantom@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-phantom/-/hdwallet-phantom-1.62.33-starknet.14.tgz#4ef3aab3cdc0a9ee88c1e4fe16bf36068bde25d5" - integrity sha512-UFl1Ag1opVUjhPYom5zCPqPyX43nkVWtRQbOQDJ/qwbK+qYZRiAExz2Vrn0EeDvUa4m3x9AOgefMnGxhSQIfDw== - dependencies: - "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@solana/web3.js" "1.95.8" - base64-js "^1.5.1" - bitcoinjs-message "^2.0.0" - ethers "5.7.2" - lodash "^4.17.21" - -"@shapeshiftoss/hdwallet-portis@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-portis/-/hdwallet-portis-1.62.33-starknet.14.tgz#4552ab977c779a6e00bba245d74684774b2c7a93" - integrity sha512-0WDzXa1A8Ui7Wl6OJL03AFw7TqnUBm+66YH9BZAfiHR6iTE4MRuH+ivQ1bb6R1QZjPqk3ae4fzLlmxU189YhsQ== - dependencies: - "@portis/web3" "3.0.10" - "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - base64-js "^1.5.1" - bip32 "^2.0.4" - bitcoinjs-message "^2.1.0" - lodash "^4.17.15" - p-lazy "^3.1.0" - web3 "^1.5.1" - -"@shapeshiftoss/hdwallet-trezor-connect@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-trezor-connect/-/hdwallet-trezor-connect-1.62.33-starknet.14.tgz#50bb8b245ce8d329f968e1dce3e368586372a8b3" - integrity sha512-KYSPyE8tfhjCCpXsT+Mj6kvFd/mGouCDbMiQMQgAu31Qqbi/6Efv+9g2m1berXBP4kC/2aiyc/6HyS+WuAuLMA== - dependencies: - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@shapeshiftoss/hdwallet-trezor" "^1.62.33-starknet.14" - "@trezor/connect-web" "^9.6.4" - -"@shapeshiftoss/hdwallet-trezor@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-trezor/-/hdwallet-trezor-1.62.33-starknet.14.tgz#a01171dcb86aff631da9e16fa93666cf25eb7f5c" - integrity sha512-TQfNeNYvbBV7E/xI9MZ7RjK3YbMMOfXLOO1/HKwEIiRTSHcqZ3Ib6M57bcIsFlflMvdPPo88ACqWMxEcIJdBbQ== - dependencies: - "@ethereumjs/common" "3.2.0" - "@ethereumjs/tx" "4.2.0" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - base64-js "^1.5.1" - bchaddrjs "^0.4.4" - lodash "^4.17.21" - -"@shapeshiftoss/hdwallet-vultisig@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-vultisig/-/hdwallet-vultisig-1.62.33-starknet.14.tgz#2da1516422f2b91591f6c9cceebfc0a0af7378b7" - integrity sha512-BCPR+F64EGRjHXqDSMKI/sP6WyanFh/L0KMHhfCESQhxbNFd9M3JifWtjHay10IT5n2u6AEf8MwLnYptfNNIvw== - dependencies: - "@cosmjs/amino" "^0.28.13" - "@cosmjs/stargate" "^0.28.13" - "@shapeshiftoss/bitcoinjs-lib" "7.0.0-shapeshift.2" - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@solana/web3.js" "1.95.8" - base64-js "^1.5.1" - bitcoinjs-message "^2.0.0" - ethers "5.7.2" - lodash "^4.17.21" - -"@shapeshiftoss/hdwallet-walletconnect@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-walletconnect/-/hdwallet-walletconnect-1.62.33-starknet.14.tgz#6efc54784647e878cefd85c9ad33613abc139dea" - integrity sha512-sJhTffmlwZJPZlKcrHoJBIGl5Gy8NiFwF5NVONqBfX9zlSQgd0PmadiLXL4G7rUmV/0en4d7+WhsU0OKlwYqDA== - dependencies: - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@walletconnect/qrcode-modal" "^1.7.8" - "@walletconnect/web3-provider" "^1.7.8" - ethers "^5.6.5" - -"@shapeshiftoss/hdwallet-walletconnectv2@^1.62.33-starknet.14": - version "1.62.33-starknet.14" - resolved "http://127.0.0.1:4873/@shapeshiftoss/hdwallet-walletconnectv2/-/hdwallet-walletconnectv2-1.62.33-starknet.14.tgz#eb3b327c4f4806d6ba48b01d9b649279477aa336" - integrity sha512-/86cPZQ7v4gPlBYFIALP7r5k7XtoAG0g3aXbW1W2KDEzS+cqIiiWr04/64NlvjpLGOElKN54M30j6fAVOeZIvw== - dependencies: - "@shapeshiftoss/hdwallet-core" "^1.62.33-starknet.14" - "@walletconnect/ethereum-provider" "^2.20.2" - "@walletconnect/modal" "^2.6.2" - ethers "^5.6.5" - "@shapeshiftoss/logger@^1.1.2", "@shapeshiftoss/logger@^1.1.3": version "1.1.3" resolved "https://registry.yarnpkg.com/@shapeshiftoss/logger/-/logger-1.1.3.tgz#ff05765775351c8adc99cf747f14b5619311e023" From ffafa43927bd62024ffd08da4b488ba077ca4c88 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 23:07:21 +0100 Subject: [PATCH 41/44] fix: uh oh --- yarn.lock | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/yarn.lock b/yarn.lock index 7f5865ac0..c95dc0564 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3174,7 +3174,7 @@ "@noble/curves@1.7.0", "@noble/curves@~1.7.0": version "1.7.0" - resolved "http://127.0.0.1:4873/@noble/curves/-/curves-1.7.0.tgz#0512360622439256df892f21d25b388f52505e45" + resolved "https://registry.npmjs.org/@noble/curves/-/curves-1.7.0.tgz#0512360622439256df892f21d25b388f52505e45" integrity sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw== dependencies: "@noble/hashes" "1.6.0" @@ -3250,7 +3250,7 @@ "@noble/hashes@1.6.0": version "1.6.0" - resolved "http://127.0.0.1:4873/@noble/hashes/-/hashes-1.6.0.tgz#d4bfb516ad6e7b5111c216a5cc7075f4cf19e6c5" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.0.tgz#d4bfb516ad6e7b5111c216a5cc7075f4cf19e6c5" integrity sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ== "@noble/hashes@1.7.0": @@ -3280,7 +3280,7 @@ "@noble/hashes@~1.6.0": version "1.6.1" - resolved "http://127.0.0.1:4873/@noble/hashes/-/hashes-1.6.1.tgz#df6e5943edcea504bac61395926d6fd67869a0d5" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.1.tgz#df6e5943edcea504bac61395926d6fd67869a0d5" integrity sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w== "@noble/secp256k1@1.6.3": @@ -4059,7 +4059,7 @@ "@scure/base@1.2.1": version "1.2.1" - resolved "http://127.0.0.1:4873/@scure/base/-/base-1.2.1.tgz#dd0b2a533063ca612c17aa9ad26424a2ff5aa865" + resolved "https://registry.npmjs.org/@scure/base/-/base-1.2.1.tgz#dd0b2a533063ca612c17aa9ad26424a2ff5aa865" integrity sha512-DGmGtC8Tt63J5GfHgfl5CuAXh96VF/LD8K9Hr/Gv0J2lAoRGlPOMpqMpMbCTOoOJMZCk2Xt+DskdDyn6dEFdzQ== "@scure/base@^1.0.0", "@scure/base@^1.1.1", "@scure/base@^1.1.3", "@scure/base@~1.1.3", "@scure/base@~1.1.6": @@ -4125,7 +4125,7 @@ "@scure/starknet@1.1.0": version "1.1.0" - resolved "http://127.0.0.1:4873/@scure/starknet/-/starknet-1.1.0.tgz#d1902e053d98196e161b9b2c3996b20999094e7a" + resolved "https://registry.npmjs.org/@scure/starknet/-/starknet-1.1.0.tgz#d1902e053d98196e161b9b2c3996b20999094e7a" integrity sha512-83g3M6Ix2qRsPN4wqLDqiRZ2GBNbjVWfboJE/9UjfG+MHr6oDSu/CWgy8hsBSJejr09DkkL+l0Ze4KVrlCIdtQ== dependencies: "@noble/curves" "~1.7.0" @@ -4133,7 +4133,7 @@ "@scure/starknet@^1.0.0": version "1.1.2" - resolved "http://127.0.0.1:4873/@scure/starknet/-/starknet-1.1.2.tgz#3b9492d83e773092158a240fb1e2a437933d2a7e" + resolved "https://registry.npmjs.org/@scure/starknet/-/starknet-1.1.2.tgz#3b9492d83e773092158a240fb1e2a437933d2a7e" integrity sha512-Qo2uNQJC/1IwfXC0f2BnDjtXnY1cVyfmK1WcGNFzfnktvlNmmmbjYeUNdYe3DBiDYyMzp1MhRUFllFW5moBaMg== dependencies: "@noble/curves" "~1.9.0" @@ -6409,7 +6409,7 @@ abbrev@1, abbrev@^1.0.0: abi-wan-kanabi@^2.2.3: version "2.2.4" - resolved "http://127.0.0.1:4873/abi-wan-kanabi/-/abi-wan-kanabi-2.2.4.tgz#47ebbafbb7f8df81773efbdcca60cdda8008c821" + resolved "https://registry.npmjs.org/abi-wan-kanabi/-/abi-wan-kanabi-2.2.4.tgz#47ebbafbb7f8df81773efbdcca60cdda8008c821" integrity sha512-0aA81FScmJCPX+8UvkXLki3X1+yPQuWxEkqXBVKltgPAK79J+NB+Lp5DouMXa7L6f+zcRlIA/6XO7BN/q9fnvg== dependencies: ansicolors "^0.3.2" @@ -6624,7 +6624,7 @@ ansi-styles@^6.1.0: ansicolors@^0.3.2, ansicolors@~0.3.2: version "0.3.2" - resolved "http://127.0.0.1:4873/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" + resolved "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" integrity sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg== anymatch@^2.0.0: @@ -7987,7 +7987,7 @@ capture-exit@^2.0.0: cardinal@^2.1.1: version "2.1.1" - resolved "http://127.0.0.1:4873/cardinal/-/cardinal-2.1.1.tgz#7cc1055d822d212954d07b085dea251cc7bc5505" + resolved "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz#7cc1055d822d212954d07b085dea251cc7bc5505" integrity sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw== dependencies: ansicolors "~0.3.2" @@ -10790,7 +10790,7 @@ feaxios@^0.0.23: fetch-cookie@~3.0.0: version "3.0.1" - resolved "http://127.0.0.1:4873/fetch-cookie/-/fetch-cookie-3.0.1.tgz#6a77f7495e1a639ae019db916a234db8c85d5963" + resolved "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-3.0.1.tgz#6a77f7495e1a639ae019db916a234db8c85d5963" integrity sha512-ZGXe8Y5Z/1FWqQ9q/CrJhkUD73DyBU9VF0hBQmEO/wPHe4A9PKTjplFDLeFX8aOsYypZUcX5Ji/eByn3VCVO3Q== dependencies: set-cookie-parser "^2.4.8" @@ -11029,7 +11029,7 @@ fs-constants@^1.0.0: fs-extra@^10.0.0: version "10.1.0" - resolved "http://127.0.0.1:4873/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== dependencies: graceful-fs "^4.2.0" @@ -12564,7 +12564,7 @@ isobject@^3.0.0, isobject@^3.0.1: isomorphic-fetch@~3.0.0: version "3.0.0" - resolved "http://127.0.0.1:4873/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz#0267b005049046d2421207215d45d6a262b8b8b4" + resolved "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz#0267b005049046d2421207215d45d6a262b8b8b4" integrity sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA== dependencies: node-fetch "^2.6.1" @@ -13843,7 +13843,7 @@ loose-envify@^1.0.0, loose-envify@^1.1.0: lossless-json@^4.0.1: version "4.3.0" - resolved "http://127.0.0.1:4873/lossless-json/-/lossless-json-4.3.0.tgz#7d26864820ecf08aee800213fc193666e794802a" + resolved "https://registry.npmjs.org/lossless-json/-/lossless-json-4.3.0.tgz#7d26864820ecf08aee800213fc193666e794802a" integrity sha512-ToxOC+SsduRmdSuoLZLYAr5zy1Qu7l5XhmPWM3zefCZ5IcrzW/h108qbJUKfOlDlhvhjUK84+8PSVX0kxnit0g== lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: @@ -15403,7 +15403,7 @@ pacote@^13.0.3, pacote@^13.6.1: pako@^2.0.4: version "2.1.0" - resolved "http://127.0.0.1:4873/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" + resolved "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" integrity sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug== pako@~1.0.5: @@ -16392,7 +16392,7 @@ redent@^3.0.0: redeyed@~2.1.0: version "2.1.1" - resolved "http://127.0.0.1:4873/redeyed/-/redeyed-2.1.1.tgz#8984b5815d99cb220469c99eeeffe38913e6cc0b" + resolved "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz#8984b5815d99cb220469c99eeeffe38913e6cc0b" integrity sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ== dependencies: esprima "~4.0.0" @@ -17058,7 +17058,7 @@ set-cookie-parser@^2.4.6: set-cookie-parser@^2.4.8: version "2.7.2" - resolved "http://127.0.0.1:4873/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz#ccd08673a9ae5d2e44ea2a2de25089e67c7edf68" + resolved "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz#ccd08673a9ae5d2e44ea2a2de25089e67c7edf68" integrity sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw== set-function-length@^1.2.1, set-function-length@^1.2.2: @@ -17505,12 +17505,12 @@ stack-utils@^2.0.2: "starknet-types-07@npm:@starknet-io/types-js@^0.7.10": version "0.7.10" - resolved "http://127.0.0.1:4873/@starknet-io/types-js/-/types-js-0.7.10.tgz#d21dc973d0cd04d7b6293ce461f2f06a5873c760" + resolved "https://registry.npmjs.org/@starknet-io/types-js/-/types-js-0.7.10.tgz#d21dc973d0cd04d7b6293ce461f2f06a5873c760" integrity sha512-1VtCqX4AHWJlRRSYGSn+4X1mqolI1Tdq62IwzoU2vUuEE72S1OlEeGhpvd6XsdqXcfHmVzYfj8k1XtKBQqwo9w== starknet@^6.11.0: version "6.24.1" - resolved "http://127.0.0.1:4873/starknet/-/starknet-6.24.1.tgz#87333339795038e93ef32a20726b5272ddb78fe1" + resolved "https://registry.npmjs.org/starknet/-/starknet-6.24.1.tgz#87333339795038e93ef32a20726b5272ddb78fe1" integrity sha512-g7tiCt73berhcNi41otlN3T3kxZnIvZhMi8WdC21Y6GC6zoQgbI2z1t7JAZF9c4xZiomlanwVnurcpyfEdyMpg== dependencies: "@noble/curves" "1.7.0" From c1b54f18ba14dc6cb152f887c75c1fe437ae5b6d Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 23:24:42 +0100 Subject: [PATCH 42/44] fix: add starkMasterKey to native wallet tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Import Stark from crypto isolation engines - Add STARK_PRIVATE_KEY and STARK_CHAIN_CODE test constants - Update all loadDevice() calls to include starkMasterKey - Fixes 7 TypeScript errors where starkMasterKey was missing Resolves CI test failures in native.test.ts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- packages/hdwallet-native/src/native.test.ts | 24 +++++++++++++-------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/packages/hdwallet-native/src/native.test.ts b/packages/hdwallet-native/src/native.test.ts index 0faf179c0..26d526bdf 100644 --- a/packages/hdwallet-native/src/native.test.ts +++ b/packages/hdwallet-native/src/native.test.ts @@ -1,6 +1,6 @@ import * as core from "@shapeshiftoss/hdwallet-core"; -import { BIP32, ED25519 } from "./crypto/isolation/engines/default"; +import { BIP32, ED25519, Stark } from "./crypto/isolation/engines/default"; import { fromB64ToArray } from "./crypto/utils"; import * as native from "./native"; @@ -10,6 +10,8 @@ const SECP256K1_PRIVATE_KEY = "oe5ysT50Qkvnh1q9JwLULQuvK7flK664UkVA/srziyY="; // const SECP256K1_CHAIN_CODE = "UBS48IuLdtYu2dXcWEAQDfUWmcwYvdSIAPM3VgRd0tI="; // root chain code generated from the 'all all all' seed const ED25519_PRIVATE_KEY = "m1ePSnLVfJlUMtO6sdjQ6lEYSKZSdDImlpygUYoTqiM="; // root private key generated from the 'all all all' seed const ED25519_CHAIN_CODE = "FGt+sOOu5gvvu5mQqdQdG9RanoW0dgCfwtOduZZTZc8="; // root chain code generated from the 'all all all' seed +const STARK_PRIVATE_KEY = "oe5ysT50Qkvnh1q9JwLULQuvK7flK664UkVA/srziyY="; // root private key generated from the 'all all all' seed +const STARK_CHAIN_CODE = "UBS48IuLdtYu2dXcWEAQDfUWmcwYvdSIAPM3VgRd0tI="; // root chain code generated from the 'all all all' seed const mswMock = require("mswMock")().startServer(); afterEach(() => expect(mswMock).not.toHaveBeenCalled()); @@ -173,10 +175,14 @@ describe("NativeHDWallet", () => { fromB64ToArray(ED25519_PRIVATE_KEY), fromB64ToArray(ED25519_CHAIN_CODE) ); - const wallet = native.create({ deviceId: "native", secp256k1MasterKey, ed25519MasterKey }); + const starkMasterKey = await Stark.Node.create( + fromB64ToArray(STARK_PRIVATE_KEY), + fromB64ToArray(STARK_CHAIN_CODE) + ); + const wallet = native.create({ deviceId: "native", secp256k1MasterKey, ed25519MasterKey, starkMasterKey }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey }); + await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey, starkMasterKey }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -250,7 +256,7 @@ describe("NativeHDWallet", () => { const wallet = native.create({ deviceId: "native", secp256k1MasterKey }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node }); + await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -279,7 +285,7 @@ describe("NativeHDWallet", () => { const wallet = native.create({ deviceId: "native", secp256k1MasterKey }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node }); + await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -307,7 +313,7 @@ describe("NativeHDWallet", () => { const wallet = native.create({ deviceId: "native", secp256k1MasterKey }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node }); + await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -333,7 +339,7 @@ describe("NativeHDWallet", () => { const wallet = native.create({ deviceId: "native", secp256k1MasterKey }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node }); + await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -356,7 +362,7 @@ describe("NativeHDWallet", () => { }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey: secp256k1Node, ed25519MasterKey: {} as ED25519.Node }); + await wallet.loadDevice({ secp256k1MasterKey: secp256k1Node, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -462,7 +468,7 @@ describe("NativeHDWallet", () => { }), jest.spyOn(wallet, "wipe"), ]; - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node }); + await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); expect(await wallet.initialize()).toBeFalsy(); mocks.forEach((x) => { expect(x).toHaveBeenCalled(); From 2b1c409c03e493186236acbce277e42d26d36974 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 24 Dec 2025 23:28:55 +0100 Subject: [PATCH 43/44] style: format loadDevice calls in native tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Auto-fix prettier formatting for multi-line loadDevice calls 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- packages/hdwallet-native/src/native.test.ts | 36 +++++++++++++++++---- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/packages/hdwallet-native/src/native.test.ts b/packages/hdwallet-native/src/native.test.ts index 26d526bdf..7ea094991 100644 --- a/packages/hdwallet-native/src/native.test.ts +++ b/packages/hdwallet-native/src/native.test.ts @@ -256,7 +256,11 @@ describe("NativeHDWallet", () => { const wallet = native.create({ deviceId: "native", secp256k1MasterKey }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); + await wallet.loadDevice({ + secp256k1MasterKey, + ed25519MasterKey: {} as ED25519.Node, + starkMasterKey: {} as Stark.Node, + }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -285,7 +289,11 @@ describe("NativeHDWallet", () => { const wallet = native.create({ deviceId: "native", secp256k1MasterKey }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); + await wallet.loadDevice({ + secp256k1MasterKey, + ed25519MasterKey: {} as ED25519.Node, + starkMasterKey: {} as Stark.Node, + }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -313,7 +321,11 @@ describe("NativeHDWallet", () => { const wallet = native.create({ deviceId: "native", secp256k1MasterKey }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); + await wallet.loadDevice({ + secp256k1MasterKey, + ed25519MasterKey: {} as ED25519.Node, + starkMasterKey: {} as Stark.Node, + }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -339,7 +351,11 @@ describe("NativeHDWallet", () => { const wallet = native.create({ deviceId: "native", secp256k1MasterKey }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); + await wallet.loadDevice({ + secp256k1MasterKey, + ed25519MasterKey: {} as ED25519.Node, + starkMasterKey: {} as Stark.Node, + }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -362,7 +378,11 @@ describe("NativeHDWallet", () => { }); expect(await wallet.isInitialized()).toBe(false); expect(await wallet.isLocked()).toBe(false); - await wallet.loadDevice({ secp256k1MasterKey: secp256k1Node, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); + await wallet.loadDevice({ + secp256k1MasterKey: secp256k1Node, + ed25519MasterKey: {} as ED25519.Node, + starkMasterKey: {} as Stark.Node, + }); expect(await wallet.initialize()).toBe(true); expect(await wallet.isInitialized()).toBe(true); expect(await wallet.isLocked()).toBe(false); @@ -468,7 +488,11 @@ describe("NativeHDWallet", () => { }), jest.spyOn(wallet, "wipe"), ]; - await wallet.loadDevice({ secp256k1MasterKey, ed25519MasterKey: {} as ED25519.Node, starkMasterKey: {} as Stark.Node }); + await wallet.loadDevice({ + secp256k1MasterKey, + ed25519MasterKey: {} as ED25519.Node, + starkMasterKey: {} as Stark.Node, + }); expect(await wallet.initialize()).toBeFalsy(); mocks.forEach((x) => { expect(x).toHaveBeenCalled(); From 2c1b669d28efe785f7fd283c716bbe7c43471578 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Thu, 25 Dec 2025 00:00:52 +0100 Subject: [PATCH 44/44] chore(release): publish 1.62.33 --- examples/sandbox/package.json | 40 +++++++++---------- integration/package.json | 22 +++++----- lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +- packages/hdwallet-core/package.json | 2 +- packages/hdwallet-gridplus/package.json | 4 +- .../hdwallet-keepkey-chromeusb/package.json | 6 +-- .../hdwallet-keepkey-electron/package.json | 4 +- .../hdwallet-keepkey-nodehid/package.json | 4 +- .../hdwallet-keepkey-nodewebusb/package.json | 6 +-- packages/hdwallet-keepkey-tcp/package.json | 6 +-- packages/hdwallet-keepkey-webusb/package.json | 6 +-- packages/hdwallet-keepkey/package.json | 4 +- packages/hdwallet-keplr/package.json | 4 +- packages/hdwallet-ledger-webhid/package.json | 6 +-- packages/hdwallet-ledger-webusb/package.json | 6 +-- packages/hdwallet-ledger/package.json | 4 +- .../hdwallet-metamask-multichain/package.json | 4 +- packages/hdwallet-native-vault/package.json | 4 +- packages/hdwallet-native/package.json | 4 +- packages/hdwallet-phantom/package.json | 4 +- packages/hdwallet-portis/package.json | 4 +- packages/hdwallet-trezor-connect/package.json | 6 +-- packages/hdwallet-trezor/package.json | 4 +- packages/hdwallet-vultisig/package.json | 4 +- packages/hdwallet-walletconnect/package.json | 4 +- .../hdwallet-walletconnectV2/package.json | 4 +- 27 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 39d58fcb8..1cef67cf1 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -12,25 +12,25 @@ "dependencies": { "@esm2cjs/p-queue": "^7.3.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-coinbase": "1.62.32", - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-gridplus": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey-webusb": "1.62.32", - "@shapeshiftoss/hdwallet-keplr": "1.62.32", - "@shapeshiftoss/hdwallet-ledger": "1.62.32", - "@shapeshiftoss/hdwallet-ledger-webhid": "1.62.32", - "@shapeshiftoss/hdwallet-ledger-webusb": "1.62.32", - "@shapeshiftoss/hdwallet-metamask-multichain": "1.62.32", - "@shapeshiftoss/hdwallet-native": "1.62.32", - "@shapeshiftoss/hdwallet-phantom": "1.62.32", - "@shapeshiftoss/hdwallet-portis": "1.62.32", - "@shapeshiftoss/hdwallet-trezor": "1.62.32", - "@shapeshiftoss/hdwallet-trezor-connect": "1.62.32", - "@shapeshiftoss/hdwallet-vultisig": "1.62.32", - "@shapeshiftoss/hdwallet-walletconnect": "1.62.32", - "@shapeshiftoss/hdwallet-walletconnectv2": "1.62.32", + "@shapeshiftoss/hdwallet-coinbase": "1.62.33", + "@shapeshiftoss/hdwallet-core": "1.62.33", + "@shapeshiftoss/hdwallet-gridplus": "1.62.33", + "@shapeshiftoss/hdwallet-keepkey": "1.62.33", + "@shapeshiftoss/hdwallet-keepkey-tcp": "1.62.33", + "@shapeshiftoss/hdwallet-keepkey-webusb": "1.62.33", + "@shapeshiftoss/hdwallet-keplr": "1.62.33", + "@shapeshiftoss/hdwallet-ledger": "1.62.33", + "@shapeshiftoss/hdwallet-ledger-webhid": "1.62.33", + "@shapeshiftoss/hdwallet-ledger-webusb": "1.62.33", + "@shapeshiftoss/hdwallet-metamask-multichain": "1.62.33", + "@shapeshiftoss/hdwallet-native": "1.62.33", + "@shapeshiftoss/hdwallet-phantom": "1.62.33", + "@shapeshiftoss/hdwallet-portis": "1.62.33", + "@shapeshiftoss/hdwallet-trezor": "1.62.33", + "@shapeshiftoss/hdwallet-trezor-connect": "1.62.33", + "@shapeshiftoss/hdwallet-vultisig": "1.62.33", + "@shapeshiftoss/hdwallet-walletconnect": "1.62.33", + "@shapeshiftoss/hdwallet-walletconnectv2": "1.62.33", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index c8a4fa42b..ec5344522 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.62.32", + "version": "1.62.33", "main": "index.js", "license": "MIT", "private": true, @@ -12,16 +12,16 @@ "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", "@bitgo/utxo-lib": "^11.18.0", - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.62.32", - "@shapeshiftoss/hdwallet-ledger": "1.62.32", - "@shapeshiftoss/hdwallet-metamask-multichain": "1.62.32", - "@shapeshiftoss/hdwallet-native": "1.62.32", - "@shapeshiftoss/hdwallet-portis": "1.62.32", - "@shapeshiftoss/hdwallet-trezor": "1.62.32", - "@shapeshiftoss/hdwallet-vultisig": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", + "@shapeshiftoss/hdwallet-keepkey": "1.62.33", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.62.33", + "@shapeshiftoss/hdwallet-keepkey-tcp": "1.62.33", + "@shapeshiftoss/hdwallet-ledger": "1.62.33", + "@shapeshiftoss/hdwallet-metamask-multichain": "1.62.33", + "@shapeshiftoss/hdwallet-native": "1.62.33", + "@shapeshiftoss/hdwallet-portis": "1.62.33", + "@shapeshiftoss/hdwallet-trezor": "1.62.33", + "@shapeshiftoss/hdwallet-vultisig": "1.62.33", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index aeb48107e..58af82508 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.62.32", + "version": "1.62.33", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 13f68ca69..fc2d978ba 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index 40ec47a78..1bce7adfe 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-gridplus/package.json b/packages/hdwallet-gridplus/package.json index ede6140d8..9d4a1ba32 100644 --- a/packages/hdwallet-gridplus/package.json +++ b/packages/hdwallet-gridplus/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-gridplus", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.4.0", "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "bech32": "^1.1.4", "bs58": "^5.0.0", "bs58check": "^4.0.0", diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 142436cd6..b7ea931ff 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32" + "@shapeshiftoss/hdwallet-core": "1.62.33", + "@shapeshiftoss/hdwallet-keepkey": "1.62.33" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 18b382225..8b93c2f25 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.62.32", + "@shapeshiftoss/hdwallet-keepkey": "1.62.33", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 83c67c24e..beac61907 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.62.32" + "@shapeshiftoss/hdwallet-keepkey": "1.62.33" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 297edba22..e7dadd535 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32" + "@shapeshiftoss/hdwallet-core": "1.62.33", + "@shapeshiftoss/hdwallet-keepkey": "1.62.33" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 743bfc49d..f6761ce48 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", + "@shapeshiftoss/hdwallet-keepkey": "1.62.33", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 90cae6d05..8dc64f515 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-keepkey": "1.62.32" + "@shapeshiftoss/hdwallet-core": "1.62.33", + "@shapeshiftoss/hdwallet-keepkey": "1.62.33" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index a0d6dab14..ee735a731 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -21,7 +21,7 @@ "@keepkey/device-protocol": "7.13.4", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "@shapeshiftoss/proto-tx-builder": "0.10.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "2.16.15", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 7a8b2a51b..1916c0cb0 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index ce9b77f42..39b4b006e 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -18,8 +18,8 @@ "@ledgerhq/hw-app-eth": "7.0.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webhid": "6.30.6", - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-ledger": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", + "@shapeshiftoss/hdwallet-ledger": "1.62.33", "@types/w3c-web-hid": "^1.0.2" } } diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index 3f04547d8..4c2f44d8b 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-app-solana": "7.6.0", "@ledgerhq/hw-transport": "6.31.13", "@ledgerhq/hw-transport-webusb": "6.29.13", - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-ledger": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", + "@shapeshiftoss/hdwallet-ledger": "1.62.33", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 8024e48c3..907741f8b 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -28,7 +28,7 @@ "@ledgerhq/logs": "6.13.0", "@mysten/ledgerjs-hw-app-sui": "^0.7.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", diff --git a/packages/hdwallet-metamask-multichain/package.json b/packages/hdwallet-metamask-multichain/package.json index 814f5b66f..aee9ab2d6 100644 --- a/packages/hdwallet-metamask-multichain/package.json +++ b/packages/hdwallet-metamask-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask-multichain", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.12", "@shapeshiftoss/metamask-snaps-types": "^1.0.12", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 89b5ca9df..c12e3b85b 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@bitcoinerlab/secp256k1": "^1.1.1", - "@shapeshiftoss/hdwallet-native": "1.62.32", + "@shapeshiftoss/hdwallet-native": "1.62.33", "bip39": "^3.0.4", "hash-wasm": "^4.11.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index dd29322f1..b2eb371bc 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@noble/curves": "^1.4.0", "@scure/starknet": "^1.0.0", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "@shapeshiftoss/proto-tx-builder": "0.10.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-phantom/package.json b/packages/hdwallet-phantom/package.json index d8b127f0b..3ca6357cd 100644 --- a/packages/hdwallet-phantom/package.json +++ b/packages/hdwallet-phantom/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-phantom", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index f163f5bb4..f64af931c 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@portis/web3": "3.0.10", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-message": "^2.1.0", diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 140b998b2..988c2f797 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", - "@shapeshiftoss/hdwallet-trezor": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", + "@shapeshiftoss/hdwallet-trezor": "1.62.33", "@trezor/connect-web": "^9.6.4" } } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 501212184..1e9e1f9f7 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "3.2.0", "@ethereumjs/tx": "4.2.0", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "lodash": "^4.17.21" diff --git a/packages/hdwallet-vultisig/package.json b/packages/hdwallet-vultisig/package.json index 9a748d0f8..5e68e18fd 100644 --- a/packages/hdwallet-vultisig/package.json +++ b/packages/hdwallet-vultisig/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-vultisig", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@cosmjs/amino": "^0.28.13", "@cosmjs/stargate": "^0.28.13", "@shapeshiftoss/bitcoinjs-lib": "7.0.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "@solana/web3.js": "1.95.8", "base64-js": "^1.5.1", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 262b87294..69066e1fc 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index d7e43de05..12e34d684 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.62.32", + "version": "1.62.33", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.62.32", + "@shapeshiftoss/hdwallet-core": "1.62.33", "@walletconnect/ethereum-provider": "^2.20.2", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5"