Getting started as on the Spark testnet

Pre-requirements

In order to be a Spark validator, you first must see that you meet the pre-requirements:

How to become a Spark validator

To quickly become a validator, follow this steps:

Step 1: Download the `quickstart.sh` script and an `.env` example file:

mkdir fuse-validator
cd fuse-validator
wget -O quickstart.sh https://raw.githubusercontent.com/fuseio/fuse-network/master/scripts/quickstart.sh
chmod 777 quickstart.sh
wget -O .env https://raw.githubusercontent.com/fuseio/fuse-network/master/scripts/examples/.env.validator.example

Step 2: Update the `.env` file:

set "sudo" on `PERMISSION_PREFIX` if running docker/docker-compose requires root

add the following line:
TESTNET=true

(optional) set 'VAL_NAME' to display a custom name on health.fusespark.io (cannot contain spaces)

Step 3: Run the script as a validator:

circle-check

Step 4: Stake and/or delegate!

Stake

To stake SPARK tokens, all you should do is send your SPARK tokens to the Spark Consensus contract address over the Sparknetwork from the validator address.

circle-check

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 Spark and send the SPARK tokens (native testnet tokens) to the Consensus contract address.

circle-info

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 SPARK tokens from any address to the Consensus contract address with the data: 0x5c19a95c000000000000000000000000<address without 0x>.

circle-check

Step 5: Wait for 1 cycle (approximately 1hour).

Wait until the next cycle is started.

circle-check

For live support, contact us on Telegramarrow-up-right or Discordarrow-up-right. Good luck and happy validating!

Last updated