kmjones1979/hero-game — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Solana devnet hero minting app from this project. I want a clean web page where a user can connect their wallet, see their SOL balance, request devnet SOL, and mint one hero tied to their wallet.
Replace the vault deposit and withdraw idea with a hero mint flow. The hero should be stored on chain using a PDA, with no IPFS and no off chain metadata. Show the hero details after minting, like name, level, power, owner, and the account address. If the user already has a hero, show it instead of letting them mint again.
Keep the existing wallet connect, cluster selector, light and dark mode, transaction toasts, explorer links, and friendly error messages. Use the existing Next app and Anchor setup. Make it feel polished enough to demo, with clear empty, loading, success, and error states. Look up current Solana docs online if you need to.
Want more depth? Deep Reverse