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:

  • You know what it means to be a Spark validator - Becoming a validator.

  • You have at least 100K SPARK tokens or you will have an aggregated delegation of at least 100K SPARK tokens - To apply for SPARK test tokens fill out this form

  • You have an always-on hardware that meets the pre-requisites - How to run network nodes

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:

./quickstart.sh

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.

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.

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>.

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

Wait until the next cycle is started.

For live support, contact us on Telegram or Discord. Good luck and happy validating!

Last updated