set "sudo" on `PERMISSION_PREFIX` if running docker/docker-compose requires root
(optional) set 'VAL_NAME' to display a custom name on health.fuse.io (cannot contain spaces)
Step 3: Run the script as a validator:
After running the script successfully, you will see your address in the health site.
Step 5: Stake and/or delegate!
Stake
To stake FUSE tokens, all you should do is send your FUSE tokens to the Fuse Consensus contract address over the Fuse network from the validator address.
The Fuse Consensus contract address: 0x3014ca10b91cb3D0AD85fEf7A3Cb95BCAc9c0f79
The easiest way to do so, is to import your private key or key-store file to your favourite wallet (for example Metamask), switch network to Fuse and send the FUSE tokens (native tokens) to the Consensus contract address.
You can find your key-store (containing your private key) and the password for the created account in:
$HOME/fusenet/config/keys/FuseNetwork/UTC--xxxx
$HOME/fusenet/config/pass.pwd
Delegate
To delegate, just send the FUSE tokens from any address to the Consensus contract address with the data: 0x5c19a95c000000000000000000000000<address without 0x>.
Example:
For the address: 0xb8ce4a040e8aa33bbe2de62e92851b7d7afd52de
Use: 0x5c19a95c000000000000000000000000b8ce4a040e8aa33bbe2de62e92851b7d7afd52de as the data.
5c19a95c is for the delegate(address) function signature.
b8ce4a040e8aa33bbe2de62e92851b7d7afd52dein this example is an address you're delegating to (without the 0x prefix)
Step 6: Wait for 1 cycle (approximately 48 hours).
Wait until the next cycle is started.
You can see that you are validating both in the health site and on the explorer site.
For live support, contact us on Telegram or Discord. Good luck and happy validating!