Skip to content
Snippets Groups Projects
Commit 4f60c040 authored by Moul's avatar Moul
Browse files

[doc] Update documentation with new CLI

parent 0fc45e95
No related branches found
No related tags found
1 merge request!146Merge dev into master branch to complete v0.8.0 development cycle
Pipeline #6784 passed
...@@ -35,7 +35,7 @@ To process automated transactions, Silkaj needs to have an authentication file a ...@@ -35,7 +35,7 @@ To process automated transactions, Silkaj needs to have an authentication file a
In order to create this file, with your wallet’s secret credentials, run following command: In order to create this file, with your wallet’s secret credentials, run following command:
```bash ```bash
silkaj generate_auth_file silkaj authfile
Please enter your Scrypt Salt (Secret identifier): Please enter your Scrypt Salt (Secret identifier):
Please enter your Scrypt password (masked): Please enter your Scrypt password (masked):
Using default values. Scrypt parameters not specified or wrong format Using default values. Scrypt parameters not specified or wrong format
...@@ -48,7 +48,7 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...@@ -48,7 +48,7 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finally, you just have to run following command: Finally, you just have to run following command:
```bash ```bash
silkaj tx --auth-file --amountUD 20 --output `cat recipients.txt | tr '\n' ':' | sed -e 's/:*$//'` silkaj --auth-file tx --amountUD 20 --output `cat recipients.txt | tr '\n' ':' | sed -e 's/:*$//'`
``` ```
Note: Each pubkey will receive 20 UD. Note: Each pubkey will receive 20 UD.
...@@ -57,7 +57,7 @@ Note: Each pubkey will receive 20 UD. ...@@ -57,7 +57,7 @@ Note: Each pubkey will receive 20 UD.
If you want to automate a transaction on each first day of the month, you can set a `crontab` on your machine (preferably a server running 7/24): If you want to automate a transaction on each first day of the month, you can set a `crontab` on your machine (preferably a server running 7/24):
```bash ```bash
0 0 1 * * silkaj tx --auth-file --yes --amountUD 20 --output `cat recipients.txt | tr '\n' ':' | sed -e 's/:*$//'` 0 0 1 * * silkaj --auth-file tx --yes --amountUD 20 --output `cat recipients.txt | tr '\n' ':' | sed -e 's/:*$//'`
``` ```
Note: the `--yes` option won’t prompt a confirmation. Note: the `--yes` option won’t prompt a confirmation.
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