Skip to content

Commit

Permalink
Changed Keyring backend from File to OS in README
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrinivas8687 committed Jul 22, 2021
1 parent c750785 commit 48bddff
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@

### Linux

```sh
``` sh
sudo apt-get update && \
sudo apt-get install openresolv wireguard-tools
```

### Mac

```sh
``` sh
brew install wireguard-tools
```

or

```sh
``` sh
port install wireguard-tools
```

## Install Sentinel CLI client

```sh
``` sh
curl --silent https://raw.githubusercontent.com/sentinel-official/cli-client/development/scripts/install.sh | sh
```

Expand All @@ -38,18 +38,18 @@ curl --silent https://raw.githubusercontent.com/sentinel-official/cli-client/dev

Need not perform this step again in case you have already done it once.

```sh
``` sh
sentinelcli keys add \
--home "${HOME}/.sentinelcli" \
--keyring-backend file \
--keyring-backend os \
<KEY_NAME>
```

Pass flag `--recover` to recover the key.

2. Query the active nodes and choose one

```sh
``` sh
sentinelcli query nodes \
--home "${HOME}/.sentinelcli" \
--node https://rpc.sentinel.co:443 \
Expand All @@ -61,10 +61,10 @@ curl --silent https://raw.githubusercontent.com/sentinel-official/cli-client/dev

3. Subscribe to a node

```sh
``` sh
sentinelcli tx subscription subscribe-to-node \
--home "${HOME}/.sentinelcli" \
--keyring-backend file \
--keyring-backend os \
--chain-id sentinelhub-2 \
--node https://rpc.sentinel.co:443 \
--gas-prices 0.1udvpn \
Expand All @@ -73,7 +73,7 @@ curl --silent https://raw.githubusercontent.com/sentinel-official/cli-client/dev

4. Query the active subscriptions of your account address

```sh
``` sh
sentinelcli query subscriptions \
--home "${HOME}/.sentinelcli" \
--node https://rpc.sentinel.co:443 \
Expand All @@ -84,10 +84,10 @@ curl --silent https://raw.githubusercontent.com/sentinel-official/cli-client/dev

5. Connect

```sh
``` sh
sudo sentinelcli connect \
--home "${HOME}/.sentinelcli" \
--keyring-backend file \
--keyring-backend os \
--chain-id sentinelhub-2 \
--node https://rpc.sentinel.co:443 \
--gas-prices 0.1udvpn \
Expand All @@ -99,7 +99,7 @@ curl --silent https://raw.githubusercontent.com/sentinel-official/cli-client/dev

1. Disconnect

```sh
``` sh
sudo sentinelcli disconnect \
--home "${HOME}/.sentinelcli"
```
Expand Down

0 comments on commit 48bddff

Please sign in to comment.