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
- Host: GitHub
- URL: https://github.com/oat9002/auto-compound
- Owner: oat9002
- License: mit
- Created: 2021-08-29T03:55:36.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T02:40:49.000Z (almost 2 years ago)
- Last Synced: 2024-08-03T06:37:14.926Z (almost 2 years ago)
- Topics: bsc, pancakeswap
- Language: Go
- Homepage:
- Size: 4.64 MB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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