Skip to content

Commit

Permalink
Completed some TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon committed Jan 5, 2024
1 parent 79e6908 commit 5a8763d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions docs/node/initial.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 <your_secret_key>
```

#### 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

Expand All @@ -234,9 +232,10 @@ Register your address so that your node start to stake with it:
node_start_staking <your_address>
```

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!
2 changes: 1 addition & 1 deletion docs/node/run.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5a8763d

Please sign in to comment.