Adding Accounts
Adding your first account after installing Telliot
Last updated
Adding your first account after installing Telliot
Last updated
The reporter (Telliot) needs to know which accounts (wallet addresses) are available for submitting values to the oracle. Use the command line to add necessary reporting accounts/private keys.
Make sure you're in python's virtual environment (venv)
:
Everytime you run Telliot or DVM you need to enter this virtual environment. To enter it, go to telliot-feeds
folder and run source venv/bin/activate
. To exit it, run deactivate
.
Through the command line you can use cd <name of folder>
to enter a folder and cd ..
to move one folder up (go back).
First decide where you want to report: PulseChain Mainnet (369) or PulseChain Testnet (943). To add an account for reporting on PulseChain Mainnet (369) run the following :
Remember to replace myacc
and yourPrivateKey
in this example with the private key that holds your FETCH for reporting and an account's name to save it locally.
You'll be asked to type a password. The characters are not visible while you type. Then you re-type the password to confirm it.
OPTIONAL: if you want to add another wallet address (or the same one) to another chain, for example testnet (943), repeat the process but type 943 at the end.
Done! Your account should be ready to submit reports!
Remeber: if you want to report to other chains using the same address just follow the same process but change the name of the account and chain ID. Below is an example using the same wallet address, but to report to Pulsechain mainnet:
To check the wallets you have added, run telliot account find
To view other options for managing accounts with Telliot, use the command: