Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ğ
Ğcli-v2s
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
Rust
Ğcli-v2s
Commits
15b907eb
Verified
Commit
15b907eb
authored
2 years ago
by
Pascal Engélibert
Browse files
Options
Downloads
Patches
Plain Diff
doc: smith commands
parent
9b3dea39
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-0
19 additions, 0 deletions
README.md
with
19 additions
and
0 deletions
README.md
+
19
−
0
View file @
15b907eb
...
...
@@ -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
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment