diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index e991e7e3f..907fb2131 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -11,21 +11,21 @@ }, "dependencies": { "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "1.53.8", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.53.8", - "@shapeshiftoss/hdwallet-keepkey-webusb": "1.53.8", - "@shapeshiftoss/hdwallet-keplr": "1.53.8", - "@shapeshiftoss/hdwallet-ledger": "1.53.8", - "@shapeshiftoss/hdwallet-ledger-webhid": "1.53.8", - "@shapeshiftoss/hdwallet-ledger-webusb": "1.53.8", - "@shapeshiftoss/hdwallet-metamask": "1.53.8", - "@shapeshiftoss/hdwallet-native": "1.53.8", - "@shapeshiftoss/hdwallet-portis": "1.53.8", - "@shapeshiftoss/hdwallet-tallyho": "1.53.8", - "@shapeshiftoss/hdwallet-trezor": "1.53.8", - "@shapeshiftoss/hdwallet-trezor-connect": "1.53.8", - "@shapeshiftoss/hdwallet-walletconnect": "1.53.8", - "@shapeshiftoss/hdwallet-xdefi": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", + "@shapeshiftoss/hdwallet-keepkey-tcp": "1.54.0", + "@shapeshiftoss/hdwallet-keepkey-webusb": "1.54.0", + "@shapeshiftoss/hdwallet-keplr": "1.54.0", + "@shapeshiftoss/hdwallet-ledger": "1.54.0", + "@shapeshiftoss/hdwallet-ledger-webhid": "1.54.0", + "@shapeshiftoss/hdwallet-ledger-webusb": "1.54.0", + "@shapeshiftoss/hdwallet-metamask": "1.54.0", + "@shapeshiftoss/hdwallet-native": "1.54.0", + "@shapeshiftoss/hdwallet-portis": "1.54.0", + "@shapeshiftoss/hdwallet-tallyho": "1.54.0", + "@shapeshiftoss/hdwallet-trezor": "1.54.0", + "@shapeshiftoss/hdwallet-trezor-connect": "1.54.0", + "@shapeshiftoss/hdwallet-walletconnect": "1.54.0", + "@shapeshiftoss/hdwallet-xdefi": "1.54.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 aad7cb6b3..16ec1e57c 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.53.8", + "version": "1.54.0", "main": "index.js", "license": "MIT", "private": true, @@ -10,15 +10,15 @@ "dev": "lerna run test --scope integration --parallel --include-filtered-dependencies" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.53.8", - "@shapeshiftoss/hdwallet-keepkey": "1.53.8", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.53.8", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.53.8", - "@shapeshiftoss/hdwallet-ledger": "1.53.8", - "@shapeshiftoss/hdwallet-native": "1.53.8", - "@shapeshiftoss/hdwallet-portis": "1.53.8", - "@shapeshiftoss/hdwallet-trezor": "1.53.8", - "@shapeshiftoss/hdwallet-xdefi": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", + "@shapeshiftoss/hdwallet-keepkey": "1.54.0", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.54.0", + "@shapeshiftoss/hdwallet-keepkey-tcp": "1.54.0", + "@shapeshiftoss/hdwallet-ledger": "1.54.0", + "@shapeshiftoss/hdwallet-native": "1.54.0", + "@shapeshiftoss/hdwallet-portis": "1.54.0", + "@shapeshiftoss/hdwallet-trezor": "1.54.0", + "@shapeshiftoss/hdwallet-xdefi": "1.54.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 1517a9df4..fe75c0f0d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.53.8", + "version": "1.54.0", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index adb8fc50f..4b342e270 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-coinbase/src/coinbase.ts b/packages/hdwallet-coinbase/src/coinbase.ts index a5350b3e7..2e3f6ae99 100644 --- a/packages/hdwallet-coinbase/src/coinbase.ts +++ b/packages/hdwallet-coinbase/src/coinbase.ts @@ -107,6 +107,7 @@ export class CoinbaseHDWallet implements core.HDWallet, core.ETHWallet { readonly _supportsGnosis = true; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = true; + readonly _supportsBase = true; readonly _supportsOsmosisInfo = false; readonly _supportsOsmosis = false; readonly _supportsBinanceInfo = false; diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index c13001ebe..bbff4e11f 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-core/src/ethereum.ts b/packages/hdwallet-core/src/ethereum.ts index a54e829a9..16d15a465 100644 --- a/packages/hdwallet-core/src/ethereum.ts +++ b/packages/hdwallet-core/src/ethereum.ts @@ -199,6 +199,7 @@ export interface ETHWallet extends ETHWalletInfo, HDWallet { readonly _supportsGnosis: boolean; readonly _supportsArbitrum: boolean; readonly _supportsArbitrumNova: boolean; + readonly _supportsBase: boolean; readonly _supportsBSC: boolean; ethGetAddress(msg: ETHGetAddress): Promise; diff --git a/packages/hdwallet-core/src/utils.ts b/packages/hdwallet-core/src/utils.ts index 2cf611b32..08a2f821e 100644 --- a/packages/hdwallet-core/src/utils.ts +++ b/packages/hdwallet-core/src/utils.ts @@ -158,6 +158,7 @@ export const slip44Table = Object.freeze({ Gnosis: 60, Arbitrum: 60, ArbitrumNova: 60, + Base: 60, } as const); export type Slip44ByCoin = T extends keyof typeof slip44Table ? typeof slip44Table[T] : number | undefined; diff --git a/packages/hdwallet-core/src/wallet.ts b/packages/hdwallet-core/src/wallet.ts index b09a117b4..df2946fe0 100644 --- a/packages/hdwallet-core/src/wallet.ts +++ b/packages/hdwallet-core/src/wallet.ts @@ -160,6 +160,10 @@ export function supportsArbitrumNova(wallet: HDWallet): wallet is ETHWallet { return isObject(wallet) && (wallet as any)._supportsArbitrumNova; } +export function supportsBase(wallet: HDWallet): wallet is ETHWallet { + return isObject(wallet) && (wallet as any)._supportsBase; +} + export function infoCosmos(info: HDWalletInfo): info is CosmosWalletInfo { return isObject(info) && (info as any)._supportsCosmosInfo; } diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 3684fa35a..f33d714ef 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.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.53.8", - "@shapeshiftoss/hdwallet-keepkey": "1.53.8" + "@shapeshiftoss/hdwallet-core": "1.54.0", + "@shapeshiftoss/hdwallet-keepkey": "1.54.0" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 48e613268..aca655169 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.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.53.8", + "@shapeshiftoss/hdwallet-keepkey": "1.54.0", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index abb49f858..105d2705d 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.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.53.8" + "@shapeshiftoss/hdwallet-keepkey": "1.54.0" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index aeb9a24d1..7fadc8428 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.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.53.8", - "@shapeshiftoss/hdwallet-keepkey": "1.53.8" + "@shapeshiftoss/hdwallet-core": "1.54.0", + "@shapeshiftoss/hdwallet-keepkey": "1.54.0" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 83433e45d..67d71c21a 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.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.53.8", - "@shapeshiftoss/hdwallet-keepkey": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", + "@shapeshiftoss/hdwallet-keepkey": "1.54.0", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index d15256e03..7f579c5e1 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.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.53.8", - "@shapeshiftoss/hdwallet-keepkey": "1.53.8" + "@shapeshiftoss/hdwallet-core": "1.54.0", + "@shapeshiftoss/hdwallet-keepkey": "1.54.0" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index fe56a5703..d057c570e 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@keepkey/device-protocol": "^7.12.2", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "5.2.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "@shapeshiftoss/proto-tx-builder": "^0.8.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "^2.16.14", diff --git a/packages/hdwallet-keepkey/src/keepkey.ts b/packages/hdwallet-keepkey/src/keepkey.ts index 9e277b21f..e6e3c7a43 100644 --- a/packages/hdwallet-keepkey/src/keepkey.ts +++ b/packages/hdwallet-keepkey/src/keepkey.ts @@ -699,6 +699,7 @@ export class KeepKeyHDWallet implements core.HDWallet, core.BTCWallet, core.ETHW readonly _supportsGnosis = true; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = false; + readonly _supportsBase = true; readonly _supportsBTC = true; _supportsCosmos = true; _supportsOsmosis = true; diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index ac1e8c8b1..d2268f2cf 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "@shapeshiftoss/proto-tx-builder": "^0.8.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 e40439a87..288aa1558 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.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -19,8 +19,8 @@ "@ledgerhq/hw-transport": "^6.7.0", "@ledgerhq/hw-transport-webhid": "^6.7.0", "@ledgerhq/live-common": "^21.8.2", - "@shapeshiftoss/hdwallet-core": "1.53.8", - "@shapeshiftoss/hdwallet-ledger": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", + "@shapeshiftoss/hdwallet-ledger": "1.54.0", "@types/w3c-web-hid": "^1.0.2" }, "devDependencies": { diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index c61b05b8b..b041e0301 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.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-transport-webusb": "^6.7.0", "@ledgerhq/live-common": "^21.8.2", "@ledgerhq/logs": "^6.10.1", - "@shapeshiftoss/hdwallet-core": "1.53.8", - "@shapeshiftoss/hdwallet-ledger": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", + "@shapeshiftoss/hdwallet-ledger": "1.54.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 e0b18711d..127824005 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -19,7 +19,7 @@ "@ethereumjs/tx": "^3.3.0", "@ledgerhq/hw-app-cosmos": "^6.29.1", "@shapeshiftoss/bitcoinjs-lib": "5.2.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-ledger/src/ledger.ts b/packages/hdwallet-ledger/src/ledger.ts index b7a8929a3..aa7bd2040 100644 --- a/packages/hdwallet-ledger/src/ledger.ts +++ b/packages/hdwallet-ledger/src/ledger.ts @@ -332,6 +332,7 @@ export class LedgerHDWallet readonly _supportsGnosis = true; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = true; + readonly _supportsBase = true; readonly _supportsThorchain = true; readonly _supportsCosmos = true; diff --git a/packages/hdwallet-metamask-shapeshift-multichain/package.json b/packages/hdwallet-metamask-shapeshift-multichain/package.json index c244c2414..ad848b0b4 100644 --- a/packages/hdwallet-metamask-shapeshift-multichain/package.json +++ b/packages/hdwallet-metamask-shapeshift-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-shapeshift-multichain", - "version": "1.53.8", + "version": "1.54.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.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.8", "@shapeshiftoss/metamask-snaps-types": "^1.0.8", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-metamask-shapeshift-multichain/src/shapeshift-multichain.ts b/packages/hdwallet-metamask-shapeshift-multichain/src/shapeshift-multichain.ts index 2bb22e3bb..267f38fb9 100644 --- a/packages/hdwallet-metamask-shapeshift-multichain/src/shapeshift-multichain.ts +++ b/packages/hdwallet-metamask-shapeshift-multichain/src/shapeshift-multichain.ts @@ -283,6 +283,7 @@ export class MetaMaskShapeShiftMultiChainHDWallet readonly _supportsGnosis = true; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = true; + readonly _supportsBase = true; readonly _supportsOsmosisInfo = true; readonly _supportsOsmosis = true; readonly _supportsBinanceInfo = false; diff --git a/packages/hdwallet-metamask/package.json b/packages/hdwallet-metamask/package.json index 1a926afad..def91105d 100644 --- a/packages/hdwallet-metamask/package.json +++ b/packages/hdwallet-metamask/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-metamask/src/metamask.ts b/packages/hdwallet-metamask/src/metamask.ts index b009f0bca..d305e7285 100644 --- a/packages/hdwallet-metamask/src/metamask.ts +++ b/packages/hdwallet-metamask/src/metamask.ts @@ -110,6 +110,7 @@ export class MetaMaskHDWallet implements core.HDWallet, core.ETHWallet { readonly _supportsGnosis = true; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = true; + readonly _supportsBase = true; readonly _supportsOsmosisInfo = false; readonly _supportsOsmosis = false; readonly _supportsBinanceInfo = false; diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index 453d4868b..0a7b53cd3 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.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-native": "1.53.8", + "@shapeshiftoss/hdwallet-native": "1.54.0", "bip39": "^3.0.4", "hash-wasm": "^4.9.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index b81756577..bd166413d 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "5.2.0-shapeshift.2", "@shapeshiftoss/fiosdk": "1.2.1-shapeshift.6", - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "@shapeshiftoss/proto-tx-builder": "^0.8.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-native/src/ethereum.test.ts b/packages/hdwallet-native/src/ethereum.test.ts index b96aa587f..a44ba8905 100644 --- a/packages/hdwallet-native/src/ethereum.test.ts +++ b/packages/hdwallet-native/src/ethereum.test.ts @@ -95,6 +95,15 @@ describe("NativeETHWalletInfo", () => { description: "Native", }, ]); + const basePaths = info.ethGetAccountPaths({ coin: "Base", accountIdx: 0 }); + expect(basePaths).toMatchObject([ + { + addressNList: core.bip32ToAddressNList("m/44'/60'/0'/0/0"), + hardenedPath: core.bip32ToAddressNList("m/44'/60'/0'"), + relPath: [0, 0], + description: "Native", + }, + ]); }); it("does not support getting the next account path", async () => { diff --git a/packages/hdwallet-native/src/native.ts b/packages/hdwallet-native/src/native.ts index 81cc529dc..f2131819f 100644 --- a/packages/hdwallet-native/src/native.ts +++ b/packages/hdwallet-native/src/native.ts @@ -232,6 +232,7 @@ export class NativeHDWallet readonly _supportsGnosis = true; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = true; + readonly _supportsBase = true; readonly _supportsOsmosis = true; readonly _supportsBinance = true; readonly _supportsFio = true; diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 24613304d..07454e972 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@portis/web3": "3.0.10", - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-lib": "^5.1.6", diff --git a/packages/hdwallet-portis/src/portis.ts b/packages/hdwallet-portis/src/portis.ts index 50058214c..7b146353b 100644 --- a/packages/hdwallet-portis/src/portis.ts +++ b/packages/hdwallet-portis/src/portis.ts @@ -136,6 +136,7 @@ export class PortisHDWallet implements core.HDWallet, core.ETHWallet, core.BTCWa readonly _supportsGnosis = false; readonly _supportsArbitrum = false; readonly _supportsArbitrumNova = false; + readonly _supportsBase = false; readonly _supportsBTCInfo = true; readonly _supportsBTC = true; readonly _isPortis = true; diff --git a/packages/hdwallet-tallyho/package.json b/packages/hdwallet-tallyho/package.json index d4d752bb3..9f343d90e 100644 --- a/packages/hdwallet-tallyho/package.json +++ b/packages/hdwallet-tallyho/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-tallyho", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "lodash": "^4.17.21", "tallyho-onboarding": "^1.0.2" }, diff --git a/packages/hdwallet-tallyho/src/tallyho.ts b/packages/hdwallet-tallyho/src/tallyho.ts index 10ab3456a..628522f7e 100644 --- a/packages/hdwallet-tallyho/src/tallyho.ts +++ b/packages/hdwallet-tallyho/src/tallyho.ts @@ -94,6 +94,7 @@ export class TallyHoHDWallet implements core.HDWallet, core.ETHWallet { readonly _supportsGnosis = false; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = false; + readonly _supportsBase = false; readonly _supportsBSC = false; readonly _isTallyHo = true; diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 4471d13a6..d242be39f 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.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.53.8", - "@shapeshiftoss/hdwallet-trezor": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", + "@shapeshiftoss/hdwallet-trezor": "1.54.0", "@trezor/rollout": "^1.2.0", "trezor-connect": "^8.2.1" } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index fd7482e09..ba4cbecb0 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "^2.4.0", "@ethereumjs/tx": "^3.3.0", - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "base64-js": "^1.5.1", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-trezor/src/trezor.ts b/packages/hdwallet-trezor/src/trezor.ts index cdf7be943..e799f3832 100644 --- a/packages/hdwallet-trezor/src/trezor.ts +++ b/packages/hdwallet-trezor/src/trezor.ts @@ -274,6 +274,7 @@ export class TrezorHDWallet implements core.HDWallet, core.BTCWallet, core.ETHWa readonly _supportsGnosis = false; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = true; + readonly _supportsBase = true; readonly _supportsKavaInfo = true; readonly _supportsTerraInfo = true; readonly _isTrezor = true; diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 05bc4efa8..689eda24d 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnect/src/walletconnect.ts b/packages/hdwallet-walletconnect/src/walletconnect.ts index feaf56286..860416298 100644 --- a/packages/hdwallet-walletconnect/src/walletconnect.ts +++ b/packages/hdwallet-walletconnect/src/walletconnect.ts @@ -124,6 +124,7 @@ export class WalletConnectHDWallet implements core.HDWallet, core.ETHWallet { readonly _supportsGnosis = false; readonly _supportsArbitrum = false; readonly _supportsArbitrumNova = false; + readonly _supportsBase = false; info: WalletConnectWalletInfo & core.HDWalletInfo; provider: WalletConnectProvider; diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index 8ba4f7c00..740331df6 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "@walletconnect/ethereum-provider": "^2.10.1", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/src/walletconnectV2.ts b/packages/hdwallet-walletconnectV2/src/walletconnectV2.ts index 6392cc70b..fd5bbbbb5 100644 --- a/packages/hdwallet-walletconnectV2/src/walletconnectV2.ts +++ b/packages/hdwallet-walletconnectV2/src/walletconnectV2.ts @@ -136,6 +136,7 @@ export class WalletConnectV2HDWallet implements HDWallet, ETHWallet { readonly _supportsGnosis = true; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = true; + readonly _supportsBase = true; info: WalletConnectV2WalletInfo & HDWalletInfo; provider: EthereumProvider; diff --git a/packages/hdwallet-xdefi/package.json b/packages/hdwallet-xdefi/package.json index 50bf29990..e9c73b4f2 100644 --- a/packages/hdwallet-xdefi/package.json +++ b/packages/hdwallet-xdefi/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-xdefi", - "version": "1.53.8", + "version": "1.54.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.53.8", + "@shapeshiftoss/hdwallet-core": "1.54.0", "lodash": "^4.17.21" }, "devDependencies": { diff --git a/packages/hdwallet-xdefi/src/xdefi.ts b/packages/hdwallet-xdefi/src/xdefi.ts index e8ef4a0e7..10fcd5bca 100644 --- a/packages/hdwallet-xdefi/src/xdefi.ts +++ b/packages/hdwallet-xdefi/src/xdefi.ts @@ -96,6 +96,7 @@ export class XDEFIHDWallet implements core.HDWallet, core.ETHWallet { readonly _supportsGnosis = false; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = false; + readonly _supportsBase = false; readonly _supportsBTCInfo = false; readonly _supportsBTC = false; readonly _supportsCosmosInfo = false;