DeFi app which implements the concept of yield farming / liquidity mining following the Dapp University Tutorial.
-
npx truffle compile
-
npx truffle migrate [--reset]
-
npx truffle console
-
npx truffle exec <path>.js
-
npx truffle test
ornpm run test:truffle
-
npm run start
# Inside of a truffle console
> tokenFarm = await TokenFarm.deployed()
> tokenFarm
> tokenFarm.address
> name = await tokenFarm.name()