Installation
Install with one line script
Wallet creation
Create wallet
⚠️ store seed phrase, important during recovering
Recover wallet
⚠️ store seed phrase, important during recovering
Validator creation
After successful synchronisation we can proceed with validation creation.
Set up Yoda
Yoda requires indexer to run properly. Please make sure if your node has set indexer in config.toml file as "kv". Before setting up Yoda, the Lambda function executor need to be set up to execute data sources. If this step has not been done yet, please follow the instructions on the following pages (select either one of these methods):
To check Yoda version, use the following command.
Configure Yoda
Use the command below to config your Yoda.
Then, add multiple reporter accounts to allow Yoda to submit transactions concurrently.
🔴Make sure to save mnemonic phrases for all keys generated above
Lastly, configure the Lambda Executor endpoint to helps running data source scripts and return results to Yoda. More details about the executor can be found in this section.
Start Yoda
The first time running Yoda, you will need to register and start yoda services by running the following commands.
After yoda service has been started, logs can be queried by running journalctl -u yoda.service -f
command. The log should be similar to the following log example below. Once verified, you can stop tailing the log by typing Control-C
.
Wait for the latest blocks to be synced
It is imperative to exercise caution and allow adequate time for the newly started BandChain node to synchronize its blocks until it has reached the latest block. The latest block can be verified on CosmoScan.
Register Reporters and Become Oracle Provider
Yoda contains multiple reporters. You will need to register the reporters to help the validator submit transactions of reporting data.
Firstly, reporter accounts must be created on BandChain by supplying a small amount of BAND tokens.
Secondly, register reporters to the validator, so that oracle requests for validator can be assigned to the reporters.
Finally, activate the validator to become an oracle provider
If all procedures are successful, then the oracle provider status for the validator should be active.
Congratulations, now you have become a validator on BandChain. Thanks #kjnodes for yoda instructions.
Last updated