Autostaker is a client-side CLI for interacting with the Stakebot.
- Clone the repo
git clone https://github.com/plural-labs/autostaker
. - Install the
autostaker
:go install
from the root directory. - Run
autostaker register <url> <account>
. For exampleautostaker register http://localhost:8000 cosmos1vhpsuaxg51gvvzwyhqejvwfved5ywa3n6vl4ld
. You will need to tell the command where your keyring is by appending the following flags:--app
i.e.--app gaia
--keyring-backend
i.e.--keyring-backend test
--keyring-dir
i.e.--keyring-dir ~/.gaiad
--tolerance
i.e.--tolerance 1000000
--frequency
i.e.--frequency daily
- You can confirm that everything was successful by running
autostaker status <url> <address>
It is also possible to manually trigger a restake: autostaker restake <url> <address>