Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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()
```