Skip to content

Quick example of a very simple defi farm token creation / farming / withdraw

License

Notifications You must be signed in to change notification settings

NathanWaddell121107/defi-token-farm

Repository files navigation

defi-token-farm

Get Started:

run yarn

make sure you have ganache for local ethereum network testing. https://www.trufflesuite.com/ganache

Open ganache using the quickstart button on the ethereum network

run yarn truffle compile

run yarn truffle migrate

Now the token contracts should be deployed to your test network

run the scripts below to see the farming / token balance / withdraw farm token working:

yarn truffle exec .\scripts\get-my-token-balance.js
yarn truffle exec .\scripts\transfer-to-farm-token.js
yarn truffle exec .\scripts\withdraw-from-farm-token.js

About

Quick example of a very simple defi farm token creation / farming / withdraw

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published