Step 5: Wallet Generation
Last updated
Last updated
Once the username is validated and sanitized, DegenDen automatically generates a new Solana wallet for the user.
š¹ Generating a Solana Keypair ā Each user receives a unique public and private key pair. š¹ Encrypting the Private Key ā To enhance security, the private key is encrypted before being stored. š¹ Securing User Funds ā The encryption ensures that no unauthorized access can occur.
DegenDen securely stores only essential user details in the database, including:
Username & Chat ID ā For unique identification.
Encrypted Private Key ā Ensuring no unauthorized access.
Public Key ā Used for receiving funds and transactions.
Initial Wallet Balances & Stats ā Default fields such as wallet balance, games played, and winnings are initialized.
After successful registration, DegenDen sends the wallet details to the user in a secure message:
š Public Key ā Displayed for the user to receive funds. š Private Key ā Sent securely with a warning never to share it. Losing access to this key means losing access to the wallet.
ā ļø Users are strongly advised to back up their private keys safely!