UNPKG

@interchainjs/injective

Version:

<p align="center"> <img src="https://user-images.githubusercontent.com/545047/188804067-28e67e5e-0214-4449-ab04-2e0c564a6885.svg" width="80"> </p>

19 lines (18 loc) 748 B
import { AddrDerivation, SignerConfig } from '@interchainjs/types'; import { ICosmosAccount } from '@interchainjs/cosmos/types'; import { HDWallet } from '@interchainjs/cosmos/wallets/secp256k1hd'; import { WalletOptions } from '@interchainjs/cosmos/types/wallet'; /** * Cosmos HD Wallet for secp256k1 */ export declare class EthSecp256k1HDWallet extends HDWallet { constructor(accounts: ICosmosAccount[], options: SignerConfig); /** * Create a new HD wallet from mnemonic * @param mnemonic * @param derivations infos for derivate addresses * @param options wallet options * @returns HD wallet */ static fromMnemonic(mnemonic: string, derivations: AddrDerivation[], options?: WalletOptions): HDWallet; }