Why WLP Gives You Two Donation Keys via DID.JSON
December 13, 2024
Each WLP site generates it own did.json file with private keys stored in the database. Within this file you can find a few public keys, including two donation keys which use ed25519 and secp256k1.
If you have both ed25519 (#donate) and secp256k1 (#donate-b) public keys, you can immediately accept funds and on demand regenerate wallet addresses to get access to these funds for most of the cryptocurrencies out there, particularly those in the Top 100.
Here’s why:
1. secp256k1 (Elliptic Curve)
- This is the most commonly used elliptic curve in blockchain systems. It is the basis for Bitcoin (BTC), Ethereum (ETH), Litecoin (LTC), and many other cryptocurrencies.
- With secp256k1 keys, you can generate wallet addresses for:
- Bitcoin (BTC)
- Ethereum (ETH)
- Litecoin (LTC)
- Bitcoin Cash (BCH)
- Dogecoin (DOGE)
- Binance Coin (BNB)
- Polygon (MATIC)
- And many more that use secp256k1 (like Uniswap, Aave, and others built on Ethereum or similar chains).
- The address generation for these involves public key hashing (usually through SHA256 and RIPEMD160), followed by adding a network prefix, checksum, and encoding (e.g., Base58Check for Bitcoin, Hex for Ethereum).
2. ed25519 (Elliptic Curve)
- This curve is increasingly popular, especially for privacy-focused cryptocurrencies. It’s the basis for cryptocurrencies like Cardano (ADA), Solana (SOL), Stellar (XLM), and Tezos (XTZ).
- With ed25519 keys, you can generate wallet addresses for:
- Cardano (ADA)
- Polkadot (DOT)
- Solana (SOL)
- Stellar (XLM)
- Tezos (XTZ)
- Algorand (ALGO)
- Hedera Hashgraph (HBAR) and others.
- Address generation for these involves public key hashing (usually SHA256), followed by specific encoding methods like Base58Check or Bech32.
So, with both ed25519 and secp256k1 keys:
- You can derive wallet addresses for almost any cryptocurrency in the Top 100.
- Many of these coins use secp256k1 (Bitcoin family) or ed25519 (modern coins like Stellar).
- The process may slightly vary depending on the specific cryptocurrency’s address format, encoding, and prefix, but the core idea remains the same (public key → hash → address format).
Exceptions
While secp256k1 and ed25519 cover the majority of blockchains, there are some exceptions or variations:
- Some coins may use custom elliptic curves or other cryptographic schemes (though this is rare).
- Specific privacy coins (like Monero (XMR), which uses ring signatures and hashing algorithms like Keccak or CryptoNight) have entirely different cryptographic and address generation methods.
Conclusion
In general, with secp256k1 and ed25519 keys, you can start accepting donations and regenerate wallet addresses to access your funds on demand for most major cryptocurrencies, particularly in the Top 100. Each WLP site comes with these keys.
Neil
Lead dev @ WLP (WhiteLabelPress)