Documentation Index
Fetch the complete documentation index at: https://www.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
DynamicSvmWalletClient::export_private_key returns the wallet’s raw 32-byte Ed25519 secret seed, base58-encoded.
Solana’s
Keypair format is 64 bytes (secret_seed || public_key). The SDK returns just the 32-byte secret seed — append the base58-decoded wallet_properties.account_address to build a full solana-sdk Keypair.Prerequisites
- Created an SVM wallet
- Persisted
WalletPropertiesandVec<ServerKeyShare>
Export the Key
Building a solana-sdk Keypair
Best Practices
- One-way operation — don’t continue using the wallet through MPC after exporting; rotate to a fresh wallet.
- Never log the seed — redact it from all logs and error messages.
- Zero memory after use —
zeroize::Zeroizethe seed bytes after forwarding them. - Transport over TLS only — never send the seed over an unencrypted channel.