Skip to content

Commit ec6a138

Browse files
committed
Adding flare-stake-tool additional steps for BLS information
1 parent 811e1db commit ec6a138

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

docs/network/guides/using-flare-stake-tool.mdx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,34 @@ If you encounter any issues during this process, refer to the [Troubleshooting](
410410
- **amount**: Amount must be provided in FLR units.
411411
- **node ID**, **start time** and **end time**: Use the values noted down from the [setup](#setup).
412412

413+
If you are adding a validator node, you also need to provide the proof of possession **BLS public key** and **BLS signature**.
414+
415+
Retrieve these details using the following command:
416+
417+
```bash
418+
curl -X POST --data '{
419+
"jsonrpc":"2.0",
420+
"id" :1,
421+
"method" :"info.getNodeID"
422+
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info | jq
423+
```
424+
425+
The output will be similar to the following:
426+
427+
```plaintext
428+
{
429+
"jsonrpc": "2.0",
430+
"result": {
431+
"nodeID": "NodeID-CGeHNYkQJX4qb21x976PEcNt3FqsUZfXL",
432+
"nodePOP": {
433+
popBLSPublicKey ---> "publicKey": "0xb6a40b905128c010e4d7b0cbd6f7b7912a1da9a6022a8c720887b5183a4f2f109c678027316ae4757f7f987f1fa5addb",
434+
popBLSSignature ---> "proofOfPossession": "0xb9394ef2992a77a3b70440c2fdb3b2a53f23fb8579460322b69a290bf3de7fafc2665b155b5300c08a1e7bcb45bb7eaf0ca7f596650b0423f61f329744e37f6908c1d7e4191378d5f0ff7fd7f8abd02d37a2be9dd95635a0b1f744b043cb5d9e"
435+
}
436+
},
437+
"id": 1
438+
}
439+
```
440+
413441
3. If you selected **Add a validator node**, you have to set the **delegation fee**. This is the percentage of all rewards that the node owner keeps.
414442
The rest is split proportionally between the self-bond and all delegators that contributed stake. 10 means 10%, so the maximum value is 100.
415443

@@ -420,6 +448,8 @@ If you encounter any issues during this process, refer to the [Troubleshooting](
420448
? Enter start time(E.g. 1693185095): ●●●●●●●●
421449
? Enter end time(E.g. 1693185095): ●●●●●●●●
422450
? Enter delegation fee(E.g. 10): 10
451+
? Please enter the popBLSPublicKey: 0x●●●●●●●●
452+
? Please enter the popBLSSignature: 0x●●●●●●●●
423453
```
424454

425455
4. You are then asked to confirm the staking transaction on your hardware wallet.

0 commit comments

Comments
 (0)