Simple farmersworld bot for:
- Claiming tools, membership cards, crops
- Raising and feeding animals
Can be launched via VScode (on local host) or used from web app
On some RPC servers account chest data returned from fetch request is not always accurate it leads to problems with feeding animals. You need to check sometimes that RPC server on witch bot currently working fetching data correctly. Best server is - https://chain.wax.io
- Install nodejs latest version download here
- Clone repository
git clone https://github.com/Splash-07/fw-bot
- Install all dependencies
npm i
- Start bot on localhost
npm start
- Claim tools, membership cards, crops
- Raising animals
- Feeding chicks and dairy cow (optionally)
- Restore energy (optionally)
- Repair tools (optionally)
- Storing charges depending on quantity and grade of membership cards (less CPU usage)
- Storing membership cards depending on the rarity of the card (less CPU usage) (optionally)
- Login with wax.wallet
- Fetch blockchain data with eosio rpc api
- Auto fetch data every 26sec
- Finding asset with lowest cooldown (adjusted according mbs cards that you have, checking if charges can be stored)
- If cooldown is over -> preforming energy restore action | repair action if conditions are meet -> performing claim | feed action
- If there no food for feeding animals -> skipping this asset
- Repeating 4th - 6th steps
Pull requests are welcome. For feature requests and bug reports, please open an issue first to discuss what you would like to change.
Consider supporting next projects - ivrjw.wam