Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmuens/yield-farming
DeFi app which implements the concept of yield farming / liquidity mining
https://github.com/pmuens/yield-farming
dapp dapps decentralized-finance defi solidity solidity-contracts
Last synced: about 1 month ago
JSON representation
DeFi app which implements the concept of yield farming / liquidity mining
- Host: GitHub
- URL: https://github.com/pmuens/yield-farming
- Owner: pmuens
- Created: 2020-10-26T10:56:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-26T14:26:11.000Z (over 4 years ago)
- Last Synced: 2024-10-20T04:44:45.475Z (3 months ago)
- Topics: dapp, dapps, decentralized-finance, defi, solidity, solidity-contracts
- Language: JavaScript
- Homepage:
- Size: 190 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yield Farming
DeFi app which implements the concept of yield farming / liquidity mining following the [Dapp University Tutorial](https://www.youtube.com/watch?v=CgXQC4dbGUE).
## Setup
- `npm install`
- Install and start [Ganache](https://www.trufflesuite.com/ganache)
- Install and setup [MetaMask](https://metamask.io/)## Useful commands
- `npx truffle compile`
- `npx truffle migrate [--reset]`
- `npx truffle console`
- `npx truffle exec .js`
- `npx truffle test` or `npm run test:truffle`- `npm run start`
## Misc
```
# Inside of a truffle console
> tokenFarm = await TokenFarm.deployed()> tokenFarm
> tokenFarm.address
> name = await tokenFarm.name()
```