Wallets & Rewards
How MomentMM wallets work and how cashback rewards are calculated and distributed
Wallets & Rewards
MomentMM issues non-custodial Solana wallets and distributes instant SOL cashback rewards when RSVPs are accepted.
Wallet Creation
- One-click wallet creation using BIP-39 mnemonics and Solana key derivation (m/44'/501'/0'/0').
- Private keys and mnemonics are encrypted with AES-256-CBC using a key derived from your email and a server secret.
- The server stores encrypted secrets with a unique IV and decrypts them only in-memory when signing transactions.
- You may download or export your encrypted backup; storing a copy is recommended.
Cashback Rewards
- MomentMM pays 10% cashback of the RSVP fee in SOL to the attendee when the host accepts the RSVP.
- Example: For a ₹500 RSVP, the user receives ₹50 worth of SOL. MomentMM converts fiat → SOL using live price feeds (Binance + exchange rate API).
- Rewards are sent from the server wallet to the user's Solana public key and recorded on-chain. A transaction signature and explorer link are included in the reward notification.
Reward Flow
- Host accepts an RSVP (or automated acceptance). The event price is known.
- Backend calculates 10% of the price in INR.
- Backend fetches the current SOL price and converts INR → SOL.
- Backend creates and signs a Solana transaction from the server wallet to the user's address.
- A confirmation with a transaction signature is emitted; the frontend updates balance and shows the reward.
Edge Cases & Notes
- If the user has not created a wallet, MomentMM stores the NFT ticket in the server wallet and will notify the user to create a wallet to receive cashback.
- Refunds and chargebacks may affect reward eligibility; see Terms of Service.
- Transactions may fail due to network congestion; the reward API has retry logic and will report failures to admins.
Security & Privacy
- Private keys never leave server memory during signing operations.
- Decryption requires a verified user session via Clerk.
- All reward operations are logged for auditability.
Frequently Asked
Q: How long until I receive SOL after RSVP acceptance? A: Typically under a few seconds (Solana sub-second finality + API processing); allow up to a minute for network confirmation.
Q: Can I get cashback in fiat instead? A: Currently cashback is paid in SOL only. Token-based or fiat options are planned.