Address Not Found in Wallet
Every wallet implementation throws this error when asked to sign for an address it does not hold:Secp256k1HdWallet, DirectSecp256k1HdWallet,
Secp256k1Wallet, DirectSecp256k1Wallet, and the Ledger signer.
Fix: only sign for addresses returned by wallet.getAccounts().
Invalid Mnemonic
Thrown byEnglishMnemonic (and by extension all fromMnemonic factory methods)
when the BIP-39 mnemonic is invalid — wrong word count, unknown words, or bad
checksum:
HD Derivation Path Errors
Thrown bySlip10 when the derivation path is malformed:
Invalid Key Errors
Account Sequence Mismatch
Not a CosmJS-specific error, but a common chain-level rejection. When the sequence number in the signed transaction does not match the account’s current sequence on-chain, the node rejects it during CheckTx:Encryption / Decryption Errors
Wallet serialization uses XChaCha20-Poly1305 encryption. Deserialization throws when the password is wrong or the data is corrupted:xchacha20poly1305-ietf. Using anything else
throws: