Derive principal addresses between networks
Description
Convert addresses between mainnet and testnet by extracting and reconstructing with different version bytes
Use Cases
Cross-network address verification
Building multi-network dApps
Address validation tools
Network migration utilities
Key Concepts
Version byte - Indicates network and address type
Hash bytes - 20-byte hash of the public key
Checksum - Built into the c32 encoding
Version bytes: 0x16 (Mainnet SP), 0x17 (Mainnet SM), 0x1a (Testnet ST), 0x1b (Testnet SN)
Last updated
Was this helpful?