You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.
This task addresses how we setup up a testnet. Inspired by the Nimbus testnet, the proposed general experience looks like this:
$ mkdir /tmp/testnet
$ cd /tmp/testnet
$ trinity-beacon testnetGenerating 400 validator key pairsGenerating genesis state, setting genesis time 1 min later.Moving 200 validators' private keys under Alice's controlMoving 200 validators' private keys under Bob's controlYou can now run Alice and Bob with trinity-beacon --trinity-root-dir=/tmp/testnet/alice trinity-beacon --trinity-root-dir=/tmp/testnet/bob
$ trinity-beacon --trinity-root-dir=/tmp/testnet/alice... Starting Alice
$ # In another terminal
$ trinity-beacon --trinity-root-dir=/tmp/testnet/bob... Starting Bob
How can it be fixed
trinity-beacon testnet is a BaseMainProcessPlugin that does the following jobs
If the directory is non-empty, exits. Otherwise,
mkdir keys, generate many, say 400, key pairs
write genesis_state.yaml
mkdir alice and bob, these are the trinity_root_dir for them
distribute keys to Alice and Bob
arguments
--num: number of validators
--genesis-delay: number seconds before the genesis
The text was updated successfully, but these errors were encountered:
What is wrong?
This task addresses how we setup up a testnet. Inspired by the Nimbus testnet, the proposed general experience looks like this:
How can it be fixed
trinity-beacon testnet
is a BaseMainProcessPlugin that does the following jobsIf the directory is non-empty, exits. Otherwise,
mkdir
keys
, generate many, say 400, key pairswrite
genesis_state.yaml
mkdir
alice
andbob
, these are thetrinity_root_dir
for themdistribute keys to Alice and Bob
arguments
--num
: number of validators--genesis-delay
: number seconds before the genesisThe text was updated successfully, but these errors were encountered: