Skip to content

A simple staking app using the ERC-20 standard in order to get familiar with Solidity. Powered by the Truffle framework and more precisely the truffle react box (using Ganache as a test blockchain). Users can stake DAI tokens, withdraw them after at least a day has passed since their latest staking and receive bonus custom tokens which are equal…

License

Notifications You must be signed in to change notification settings

metodi96/defi-react-staking-app

Repository files navigation

defi-react-app

Prerequisites: You would need to install a wallet provider - MetaMask - and connect to a local blockchain network such as Ganache

Step 1:

truffle compile (to compile the contracts) truffle test (to test the smart contract functionality)

Step 2:

truffle migrate (to deploy them - Ganache blockchain)

Or if you want to reset the state of your contracts on the test blockchain run

truffle migrate --reset


Step 3: Inside another terminal window in the project do:

cd client
npm install

Step 4:

npm start

About

A simple staking app using the ERC-20 standard in order to get familiar with Solidity. Powered by the Truffle framework and more precisely the truffle react box (using Ganache as a test blockchain). Users can stake DAI tokens, withdraw them after at least a day has passed since their latest staking and receive bonus custom tokens which are equal…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published