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

https://github.com/oat9002/auto-compound

Compound and Query your staking in pancakeswap
https://github.com/oat9002/auto-compound

bsc pancakeswap

Last synced: 3 months ago
JSON representation

Compound and Query your staking in pancakeswap

Awesome Lists containing this project

README

          

# auto-compound

- ~~Query and Auto compound following cron for cake-cake pool~~ CakePool is migrated to MasterChefV2, no manual compound. Currently, it checks CAKE earning from last action.
- Notify with Line Notify or Telegram

## Development in local

Environment is defined in `.env` or using command-line argument, `-dev` in case using the binary file. Default is `production`.

## How to generate contract interface

### Prerequisite

- docker

### Step

1. Find any contract you like, both abi and binary find and save in to your local machine

2. Start docker and run this command `(<...> fill in this first)`

```
docker run --rm -v :/sources -v :/output ethereum/client-go:alltools-latest abigen --bin=/sources/ --abi=/sources/ --pkg= --out=/output/
```

3. Run `sudo chmod 755 /`

4. Copy your go file to `contracts` folder in the project