A decentralized e-payment app where users can request and approve payment on the Ethereum blockchain!
This is the frontend repo. Backend repo can be found here.
Table of Contents
TraceYourEther provides a decentralized solution for anyone to request payment from friends and family on the Ethereum blockchain.
1. You can sign up or log in.
2. Go to the "Friends" tab to add a friend whom you want to request money from.
3. Go to the "Requests" tab to request a payment amount from your friend.
4. Your friend will see your requests in the "Dashboard" tab.
5. Your friend can choose to accept or reject your request. This process will take some time (> 12s). Solidity uses a proof of work mechanism which takes up significant time to confirm each transaction on the blockchain.
6. You may go to the "Transactions" tab to check all your past transactions at a glance.
Frontend
Backend
Authentication
Functionality
Backend
-
Go to the backend repo.
-
Seed the data first: npm run seed
-
Start the backend server: npm run devStart
-
Deploy the local hardhat network
- npx hardhat node (to get 20 test hardhat accounts)
- npx hardhat run scripts/deploy.js --network localhost (deploy test accounts on localhost)
Frontend
-
Come back to this repo
-
Start the react-app: npm start
Tristan: GitHub - teo.jia.jun.29@gmail.com
Dominique: GitHub - dominiqueyeo@hotmail.com
Nonce too high error:
- Solve it by going to MetaMask > Settings > Advanced > Reset
If requests are not showing:
- Check that you are using the correct metamask wallet