Type Aliases Amino Msg Amino Msg: { type: string ; value: any }
Chain Info Chain Info: { addressPrefix: string ; btcNetwork?: typeof NETWORK ; coinType: string ; key: string ; useBip84?: boolean ; customKeygenfn?: any }
Type declaration address Prefix: string Optional btc Network?: typeof NETWORK coin Type: string key: string Optional use Bip84?: boolean custom Keygenfn?: function custom Keygenfn( key: string , path: string , keyType: "privateKey" | "seedPhrase" ) : Promise < { address: string ; pubkey: string } > Parameters key: string path: string keyType: "privateKey" | "seedPhrase" Returns Promise < { address: string ; pubkey: string } > Coin Coin: { amount: string ; denom: string }
Type declaration amount: string denom: string Create Wallet Params Create
Wallet
Params
: { addressIndex
: number ; chainInfos
: ChainInfo [] ; colorIndex
: number ; mnemonic
: string ; name
: string ; password
: string | Uint8Array ; type
: "create" | "import" } Type declaration address Index: number color Index: number mnemonic: string name: string password: string | Uint8Array type: "create" | "import" Get Signer Params Get Signer Params: { addressPrefix: string ; btcNetwork?: typeof NETWORK ; coinType: string ; ethWallet?: boolean ; pubKeyBech32Address?: boolean }
Type declaration address Prefix: string Optional btc Network?: typeof NETWORK coin Type: string Optional eth Wallet?: boolean Optional pub Key Bech32 Address?: boolean IChild Key IChild Key: { privateKey: Uint8Array | null ; publicKey: Uint8Array | null ; sign: any }
Type declaration private Key: Uint8Array | null public Key: Uint8Array | null sign: function sign( hash: Uint8Array ) : Uint8Array Parameters Returns Uint8Array IHDKey IHDKey: { privateKey: Uint8Array | null ; publicKey: Uint8Array | null ; derive: any }
Type declaration private Key: Uint8Array | null public Key: Uint8Array | null derive: function Key Key
< T > : { addressIndex
: number ; addresses
: Record < T , string > ; cipher
: string ; colorIndex
: number ; id
: string ; name
: string ; pubKeys
?: Record < T , string > ; walletType
: WALLETTYPE } Type Parameters Type declaration address Index: number addresses: Record < T , string > cipher: string color Index: number id: string name: string Optional pub Keys?: Record < T , string > Keystore Keystore
< T > : Record < string , Key < T > > Type Parameters Pubkey Pubkey: { type: string ; value: any }
Type declaration Readonly type: string Readonly value: any Sign Doc Sign Doc: { accountNumber: Long ; authInfoBytes: Uint8Array ; bodyBytes: Uint8Array ; chainId: string }
Type declaration account Number: Long auth Info Bytes: Uint8Array body Bytes: Uint8Array chain Id: string Std Fee Std
Fee
: { amount
: readonly Coin [] ; gas
: string ; granter
?: string } Type declaration Readonly amount: readonly Coin [] Readonly gas: string Optional Readonly granter?: string Std Sign Doc Std
Sign
Doc
: { account_number
: string ; chain_id
: string ; fee
: StdFee ; memo
: string ; msgs
: readonly AminoMsg [] ; sequence
: string } Type declaration Readonly account_ number: string Readonly chain_ id: string Readonly fee: StdFee Readonly memo: string Readonly msgs: readonly AminoMsg [] Readonly sequence: string Std Signature Std
Signature
: { pub_key
: Pubkey ; signature
: string } Type declaration Readonly pub_ key: Pubkey Readonly signature: string Wallet Options Wallet Options: { addressPrefix: string ; paths: string [] ; pubKeyBech32Address?: boolean }
Type declaration address Prefix: string paths: string [] Optional pub Key Bech32 Address?: boolean
Generate a wallet from a mnemonic