LeaderBoard is a truffle Dapp project.
Users can increase their ranking by paying in ether. Users can set their slogans, but only the top 10 users' slogans will be displayed on the website.
The higher the ranking, the stronger you are.
- open Ganache. make sure "RPC SERVER" is "HTTP://127.0.0.1:8545" (default)
- open MetaMask. Change network to custom rpc "HTTP://127.0.0.1:8545"
- download project
git clone https://github.com/JinXJinX/leaderboard.git
cd leaderboard
- compile
truffle compile
truffle migrate
npm run dev
- open http://localhost:3000/
Documents are located in doc
folder