Skip to content

Commit

Permalink
CM-406 - Added use of the "test" keyring-backend
Browse files Browse the repository at this point in the history
  • Loading branch information
njmurarka committed Mar 30, 2020
1 parent 0ead283 commit 5c7fc34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
5 changes: 1 addition & 4 deletions docs/commands/useful.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ for other commands, see below:
>Example:
$ blzcli keys show vuser
Enter keyring passphrase:
{
"name": "vuser",
"type": "local",
Expand Down Expand Up @@ -171,7 +170,6 @@ request transaction
>Example:
$ blzcli query auth account (blzcli keys show <key name> -a)
Enter keyring passphrase:
{
"type": "cosmos-sdk/Account",
"value": {
Expand Down Expand Up @@ -229,7 +227,6 @@ request transaction
>Example:
$ blzcli query distribution rewards bluzelle1<...>
Enter keyring passphrase:
{
"rewards": [
{
Expand All @@ -250,4 +247,4 @@ request transaction
]

***
[prev](./qAndTX.md)
[prev](./qAndTX.md)
9 changes: 3 additions & 6 deletions docs/setup/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ document.
blzcli config output json
blzcli config indent true
blzcli config trust-node true
blzcli config keyring-backend test
where “bluzelle” is the zone’s chain-id.

Expand All @@ -71,10 +72,7 @@ document.

blzcli keys add vuser
which will produce the output

Enter a passphrase to encrypt your key to disk:
Repeat the passphrase:
which will produce the output

- name: vuser
type: local
Expand Down Expand Up @@ -106,11 +104,10 @@ document.
9. As this is the first node in the zone, it needs an initial transaction for
the blockchain.

blzd gentx --name vuser --amount 10000000000000ubnt
blzd gentx --name vuser --amount 10000000000000ubnt --keyring-backend test
which will produce the output:

Password to sign with 'vuser':
Genesis transaction written to "/home/rich/.blzd/config/gentx/gentx-<...>.json"

remember to specify the amount of coins to bond using the --amount
Expand Down
4 changes: 1 addition & 3 deletions docs/setup/deployaddl.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Deploy Additional Nodes
blzcli config output json
blzcli config indent true
blzcli config trust-node true
blzcli config keyring-backend test

5. Edit ".blzd/config/config/config.toml" to add the address of a node that is
already a member of the zone that this node will be joining to the comma
Expand Down Expand Up @@ -71,9 +72,6 @@ Deploy Additional Nodes
blzcli keys add vuser

which will produce the following output

Enter a passphrase to encrypt your key to disk:
Repeat the passphrase:

- name: vuser
type: local
Expand Down

0 comments on commit 5c7fc34

Please sign in to comment.