Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/hdwallet-coinbase/src/coinbase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export class CoinbaseHDWallet implements core.HDWallet, core.ETHWallet {
readonly _supportsArbitrumNova = true;
readonly _supportsBase = true;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;
readonly _supportsOsmosisInfo = false;
readonly _supportsOsmosis = false;
readonly _supportsBinanceInfo = false;
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-core/src/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ export interface ETHWallet extends ETHWalletInfo, HDWallet {
readonly _supportsBase: boolean;
readonly _supportsBSC: boolean;
readonly _supportsMonad: boolean;
readonly _supportsHyperEvm: boolean;

ethGetAddress(msg: ETHGetAddress): Promise<Address | null>;
ethGetAddresses?(msgs: ETHGetAddress[]): Promise<string[]>;
Expand Down
4 changes: 4 additions & 0 deletions packages/hdwallet-core/src/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ export function supportsMonad(wallet: HDWallet): wallet is ETHWallet {
return isObject(wallet) && (wallet as any)._supportsMonad;
}

export function supportsHyperEvm(wallet: HDWallet): wallet is ETHWallet {
return isObject(wallet) && (wallet as any)._supportsHyperEvm;
}

export function infoCosmos(info: HDWalletInfo): info is CosmosWalletInfo {
return isObject(info) && (info as any)._supportsCosmosInfo;
}
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-gridplus/src/gridplus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ export class GridPlusHDWallet
readonly _supportsBTC = true;
readonly _supportsBase = true;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;
readonly _supportsCosmos = true;
readonly _supportsETH = true;
readonly _supportsEthSwitchChain = false;
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-keepkey/src/keepkey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ export class KeepKeyHDWallet
readonly _supportsArbitrumNova = false;
readonly _supportsBase = true;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;
readonly _supportsBTC = true;
_supportsCosmos = true;
_supportsOsmosis = true;
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-ledger/src/ledger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ export class LedgerHDWallet
readonly _supportsArbitrumNova = true;
readonly _supportsBase = true;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;
readonly _supportsThorchain = true;
readonly _supportsMayachain = true;
readonly _supportsCosmos = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export class MetaMaskMultiChainHDWallet
readonly _supportsArbitrumNova = true;
readonly _supportsBase = true;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;
readonly _supportsOsmosisInfo = true;
readonly _supportsOsmosis = true;
readonly _supportsBinanceInfo = false;
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-native/src/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export function MixinNativeETHWallet<TBase extends core.Constructor<NativeHDWall
readonly _supportsArbitrumNova = true;
readonly _supportsBase = true;
readonly _supportsMonad = true;
readonly _supportsHyperEvm = true;
readonly _supportsEthSwitchChain = false;

#ethSigner: SignerAdapter | undefined;
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-phantom/src/phantom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export class PhantomHDWallet
readonly _supportsArbitrumNova = false;
readonly _supportsBase = true;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;
readonly _supportsBSC = false;
readonly _supportsSolana = true;
readonly _isPhantom = true;
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-portis/src/portis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export class PortisHDWallet implements core.HDWallet, core.ETHWallet, core.BTCWa
readonly _supportsArbitrumNova = false;
readonly _supportsBase = false;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;
readonly _supportsBTCInfo = true;
readonly _supportsBTC = true;
readonly _isPortis = true;
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-trezor/src/trezor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export class TrezorHDWallet implements core.HDWallet, core.BTCWallet, core.ETHWa
readonly _supportsArbitrumNova = true;
readonly _supportsBase = true;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;
readonly _supportsKavaInfo = true;
readonly _supportsTerraInfo = true;
readonly _supportsSolana = true;
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-vultisig/src/vultisig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export class VultisigHDWallet
readonly _supportsArbitrumNova = false;
readonly _supportsBase = true;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;
readonly _supportsBSC = true;
readonly _supportsSolana = true;
readonly _supportsThorchain = true;
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-walletconnect/src/walletconnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export class WalletConnectHDWallet implements core.HDWallet, core.ETHWallet {
readonly _supportsArbitrumNova = false;
readonly _supportsBase = false;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;

info: WalletConnectWalletInfo & core.HDWalletInfo;
provider: WalletConnectProvider;
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-walletconnectV2/src/walletconnectV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export class WalletConnectV2HDWallet implements HDWallet, ETHWallet {
readonly _supportsArbitrumNova = true;
readonly _supportsBase = true;
readonly _supportsMonad = false;
readonly _supportsHyperEvm = false;

info: WalletConnectV2WalletInfo & HDWalletInfo;
provider: EthereumProvider;
Expand Down