simpletut/web3-crypto-wallet — reverse-engineered prompt
Reverse engineered prompt
Build me a simple crypto wallet dapp that works with MetaMask on Ethereum and a Solidity smart contract. I want it to feel like a clean demo app where someone opens it and immediately knows what to do.
It should check if MetaMask is installed, ask the user to connect their wallet, and warn them if they are on the wrong network or need to switch to Goerli. Once connected, show their wallet address and current ETH balance, and keep that updated if they change accounts in MetaMask.
The main action should be sending ETH to another address from the connected wallet. When a transfer happens, save the details in the smart contract, then load that history back and show it nicely in the interface so users can see past transfers.
Please include the smart contract, the frontend, deployment setup, and tests so it can be run locally and deployed to a test network. If anything is unclear, look up the current docs online and make reasonable choices.
Want more depth? Deep Reverse