Quick Start
Spark Address
Learn how to get and use your Spark Address
Prerequisites
- A Spark wallet created following the Create First Wallet guide
- Basic understanding of Spark network addressing
Understanding Spark Addresses
Spark Addresses are Bech32m-encoded wrappers that combine two elements: the network identifier and the wallet’s identity public key.
Address Example: sp1pgssyuuuhnrrdjswal5c3s3rafw9w3y5dd4cjy3duxlf7hjzkp0rqx6dj6mrhu
Networks and their prefixes
sp
: Mainnet,spt
: Testnet,sprt
: Regtest,sps
: Signet,spl
: Local
Getting Your Spark Address
To get your Spark Address, use the getSparkAddress()
method:
Important Notes
- A Spark Address is derived from your wallet’s network and identity public key
- The same wallet will always generate the same Spark Address
- Spark Addresses are network-specific (mainnet/testnet/regtest)
Best Practices
- Always verify the address before sharing
- Double-check network compatibility
- Keep track of your addresses for different networks
- Use appropriate address format for the network
Next Steps
Now that you have your Spark Address, you can:
Need Help?
- Check our FAQ
- Review the API Reference
- Follow our Testing Guide
- Check our Code Samples