Skip to content
Snippets Groups Projects
Verified Commit 15b907eb authored by Pascal Engélibert's avatar Pascal Engélibert :bicyclist:
Browse files

doc: smith commands

parent 9b3dea39
No related branches found
No related tags found
No related merge requests found
......@@ -19,3 +19,22 @@ Send 10 ĞD from Alice to Ferdie:
List certifications and session keys that will expire within one month:
cargo run -- --url wss://gdev.librelois.fr:443/ws expire --blocks 432000
### Smith
You want to rotate keys and go online to start forging blocks.
Smith nodes must not expose a public RPC API. Then you can either use SSH directly, or make an SSH bridge by adding this to your local `.bashrc`:
```bash
alias duniter-rpc='ssh -L 9944:localhost:9944 duniter@gdev.example.tld'
```
Now the command `duniter-rpc` will open an SSH session and a bridge to your RPC API.
When your node is ready to forge blocks, rotate keys and go online:
```bash
gcli update-keys
gcli --secret "my secret phrase" go-online
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment