diff --git a/README.md b/README.md index a23d0ff8507f18acd066b1825cebfd2046cfdebe..d627d14e3a3fe2de9abf03f91a2187b2f562972b 100644 --- a/README.md +++ b/README.md @@ -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 +```