Skip to main content
The most common signer for scripts, backends, and testing is an HD wallet created from a BIP-39 mnemonic phrase.

Amino Signing

Both implement OfflineSigner and can be passed directly to SigningStargateClient:

Generating a New Wallet

Back up the mnemonic securely β€” it’s the only way to recover the wallet.

Multiple Accounts and Custom HD Paths

A single mnemonic can derive many accounts:

Encrypted Serialization

The serialize() and deserialize() methods are deprecated and will be removed in a future version of CosmJS. If you rely on this feature, comment at cosmos/cosmjs#1796.
Wallets can be serialized to an encrypted JSON string for storage: