Auto compound che-che staking profit in Cherryswap. https://www.cherryswap.net/pools/
I strongly recommend do not using your main wallet(contract address), instead, using extra wallet(contract address) with relatively small amount of money.
- Harvest the che-che staking profit and restake it automatically
- Python 3 and Python 3 packages:
- web3
- json
- time
- requests (for fetching contractAbi)
- Firstly, you have to deposit a certain amount of che to the che-che pool (base money), and manually approve the staking and harvesting transcations.
- Download settings.py, harvest_and_restake.py, auto_compound.py
- Setting up the settings.py (secret key, wallet address, restake time et cl.)
To use:
python3 auto_compound.py
rpc: #OkexChain rpc address. Set default to 'https://exchainrpc.okex.org'
contract_address: #Cherryswap che-che staking pool address. Set default to '0x9Ab8BCf67fE8d8D2aD27D42Ec2A0fD5C206DAE60'
wallet_address: #Your contract's public address
private_key: #Your contract's(wallet) secret key
harvest_interval: #The time between a restake transaction and a harvest transaction (in minutes). Set default to 720 minutes