The RadixMnemonicWallet class provides a secure, 24-word BIP-39 mnemonic-based wallet implementation with Ed25519 cryptography, designed for AI agent use cases.
interface WalletConfig { networkId: number; // Network ID (1 = Mainnet, 2 = Stokenet) applicationName?: string; // Application name for identification accountIndex?: number; // Account index to use (default: 0)}
// Useful when you need to ensure address is fully derivedawait wallet.waitForProperAddress();const address = wallet.getAddress(); // Now guaranteed to be real address