Loki testnet

The Loki testnet features a simpler architecture where Marlin runs a mock Heimdall layer with a permissioned validator list which doesn't need the validator to stake any tokens on any chain. This enables the validator to focus their efforts on solely the Bor layer.

This guide assumes you have the bor binary ready to use.

Step 1: Download the genesis file.

wget http://public.artifacts.marlin.pro/projects/mev-bor/1.0.1/genesis.json

Step 2: Initialize bor.

/path/to/bor --datadir /path/to/datadir init genesis.json

Step 3: (Only for mining nodes) Generate a sealing key.

/path/to/bor --datadir /path/to/datadir account new --password /path/to/pass.txt

Step 4: Start bor.

Without mining enabled:

/path/to/bor --datadir /path/to/datadir --syncmode 'full' --networkid 1137 --bor.heimdall '' --bootnodes "enode://edf8c774a442603c497989529940b92489b98d0382ba6e9a01f5b1587e09f1a9d40faff5396a77e39ffc89ae0a0b424c5e933379f4dc34da41dcc3618e190e20@"

With mining enabled:

/path/to/bor --datadir /path/to/datadir --syncmode 'full' --networkid 1137 --miner.gaslimit '20000000' --miner.gastarget '20000000' --mine --unlock 0xSEALINGKEY --password /path/to/pass.txt --allow-insecure-unlock --bor.heimdall '' --bootnodes "enode://edf8c774a442603c497989529940b92489b98d0382ba6e9a01f5b1587e09f1a9d40faff5396a77e39ffc89ae0a0b424c5e933379f4dc34da41dcc3618e190e20@"

That's it! Once the node is synced, see here to setup the gateway.

Revision #7
Created Thu, Oct 7, 2021 1:02 PM by Roshan
Updated Wed, Mar 23, 2022 4:21 AM by Roshan