Skip to content

Commit

Permalink
fix(docs): instructions for sortition keygen
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshpinto committed Dec 13, 2024
1 parent 9f2b915 commit 81287e3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/run-node/6-flare-systems-provider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,13 @@ Accounts for Fast Updates submission need to be generated and funded with gas fe
These can be any accounts **not used** for the five accounts in [register addresses](#register-addresses).
You are recommended to use **three** separate accounts to avoid nonce conflicts.

Register the generated sortition key via the `EntityManager` contract by calling [`registerPublicKey`](/network/fsp/solidity-reference/IEntityManager#registerpublickey) with your identity address.
When registering the sortition key using the explorer, you will need to manually create a signature:

```bash
docker run --rm ghcr.io/flare-foundation/fast-updates/go-client:latest keygen --key <sortitionKeyPrivateKey> --address <identityAddress>
```

Register the generated sortition key and signature via the `EntityManager` contract by calling [`registerPublicKey`](/network/fsp/solidity-reference/IEntityManager#registerpublickey) with your identity address, use the signature generated by the previous command as the input to `_verificationData`.

<details>
<summary>Automated registration on testnets.</summary>
Expand Down

0 comments on commit 81287e3

Please sign in to comment.