Validate BIP-39 mnemonics, private keys, WIF keys, xpub/ypub/zpub, xprv/yprv/zprv, and HD wallet key formats for Bitcoin, Ethereum, Solana, Dogecoin, Litecoin, and more.
GitHub source · llms.txt · llms-full.txt
npm install github:devdasx/wallet-key-validator-kit#0.2.0
import { validateWalletKey } from "wallet-key-validator-kit";
const result = validateWalletKey("zpub...", { chain: "bitcoin" });
console.log(result.valid, result.details.kind);
walletkeycheck mnemonic "abandon abandon ..." --pretty
walletkeycheck wif KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73sVHnoWn --chain bitcoin --pretty
walletkeycheck extended-key "zpub..." --chain bitcoin --pretty