From 5a8763de4ec795c9262cf477ce9f8fa452501a5e Mon Sep 17 00:00:00 2001 From: Leo-Besancon Date: Fri, 5 Jan 2024 11:26:04 +0100 Subject: [PATCH] Completed some TODOs --- docs/node/initial.mdx | 19 +++++++++---------- docs/node/run.mdx | 2 +- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/node/initial.mdx b/docs/node/initial.mdx index abc28b388..5e361a79a 100644 --- a/docs/node/initial.mdx +++ b/docs/node/initial.mdx @@ -207,16 +207,14 @@ The procedure depends on how you have saved your wallet in the first place. #### If you have saved your secret/private key Then you can import it in the client using the following command: -``` -TODO +```shell +wallet_add_secret_keys ``` #### If you have saved an encrypted wallet file - -Then you can import it in the client by -TODO - +Then you can import it in the client by placing the .yaml file in `massa\massa-client\wallets` +TODO: Check whether this is true? ### Enabling staking on your node @@ -234,9 +232,10 @@ Register your address so that your node start to stake with it: node_start_staking ``` -TODO command to check that the address is registered for staking - -Now you can leave the node running, and it will start producing blocks just after Genesis! - +To check whether the address is registered for staking, you can run: +```shell +node_get_staking_addresses +``` +Now you can leave the node running, and it will start producing blocks just after Genesis! diff --git a/docs/node/run.mdx b/docs/node/run.mdx index 6b0bd86c6..62a7297ce 100644 --- a/docs/node/run.mdx +++ b/docs/node/run.mdx @@ -133,7 +133,7 @@ reports of the same error. ::: -## WHat next ? +## What next ? Congratulations, you are now running a node. But your node is still not staking, so it is not producing blocks nor receiving rewards.