Skip to content

Commit

Permalink
Merge pull request #2002 from Sifchain/task/staking_and_compilitation…
Browse files Browse the repository at this point in the history
…_readme_changes

A few changes to make steps accurate for sifndoded 1st time run
  • Loading branch information
brianosaurus authored Oct 7, 2021
2 parents 66515c1 + 3176cc0 commit 0def221
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 13 deletions.
6 changes: 5 additions & 1 deletion docs/chainOps/k8s/tutorials/betanet.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ rake "sifnode:status[my-cluster,sifnode]"

In order to become a validator, that is a node which can participate in consensus on the network, you'll need to stake `rowan`.

1. Get the public key of your node:
1. Ask for Rowan to stake

Use the address from step 3 above to request Rowan from administrators on our Discord server https://discord.gg/geqyCWSU5K

2. Get the public key of your node:

```bash
rake "sifnode:keys:kubernetes:public[<cluster>,<provider>,<namespace>]"
Expand Down
6 changes: 5 additions & 1 deletion docs/chainOps/k8s/tutorials/testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ rake "sifnode:status[my-cluster,sifnode]"

In order to become a validator, that is a node which can participate in consensus on the network, you'll need to stake `rowan`.

1. Get the public key of your node:
1. Ask for Rowan to stake

Use the address from step 3 above to request Rowan from administrators on our Discord server https://discord.gg/geqyCWSU5K

2. Get the public key of your node:

```bash
rake "sifnode:keys:kubernetes:public[<cluster>,<provider>,<namespace>]"
Expand Down
22 changes: 13 additions & 9 deletions docs/chainOps/standalone/tutorials/betanet.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,19 @@ make -C ./deploy bundler
export GOPATH=~/go
export PATH=$PATH:$GOPATH/bin
```
4. Compile `sifnoded`:

4. Generate a new mnemonic key for your node. This key is what your node will use to eventually sign transactions/blocks on the network.
```bash
make install
```

5. Generate a new mnemonic key for your node. This key is what your node will use to eventually sign transactions/blocks on the network.

```bash
rake "sifnode:keys:generate:mnemonic"
```

5. Import your newly generated key:
6. Import your newly generated key:

```bash
rake "sifnode:keys:import[<moniker>]"
Expand All @@ -41,7 +46,7 @@ e.g.:
rake "sifnode:keys:import[my-node]"
```

6. Check that it's been imported accordingly:
7. Check that it's been imported accordingly:

```bash
rake "sifnode:keys:show[<moniker>]"
Expand All @@ -59,13 +64,12 @@ e.g.:
rake "sifnode:keys:show[my-node]"
```

7. Compile `sifnoded`:
8. Ask for Rowan

Use the address from the command in step 7 to ask for Rowan on our Discord server https://discord.gg/geqyCWSU5K if you plan to stake as a validator.

```bash
make install
```

8. Boot your node:
9. Boot your node:

```bash
rake "sifnode:standalone:boot[<chain_id>,<moniker>,'<mnemonic>',<gas_price>,<bind_ip_address>,'<flags>']"
Expand All @@ -92,7 +96,7 @@ and your node will start synchronizing with the network. Please note that this m

## Stake to become a validator

In order to become a validator, that is a node which can participate in consensus on the network, you'll need to stake `rowan`.
In order to become a validator, that is a node which can participate in consensus on the network, you'll need to stake `rowan`. Make sure you have asked for Rowan for your node as mentioned in step 8 above.

1. Get the public key of your node:

Expand Down
8 changes: 6 additions & 2 deletions docs/chainOps/standalone/tutorials/testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ e.g.:
rake "sifnode:keys:show[my-node]"
```

8. Boot your node:
8. Ask for Rowan

Use the address from the command in step 7 to ask for Rowan on our Discord server https://discord.gg/geqyCWSU5K if you plan to stake as a validator.

9. Boot your node:

```bash
rake "sifnode:standalone:boot[<chain_id>,<moniker>,'<mnemonic>',<gas_price>,<bind_ip_address>,'<flags>']"
Expand All @@ -92,7 +96,7 @@ and your node will start synchronizing with the network. Please note that this m

## Stake to become a validator

In order to become a validator, that is a node which can participate in consensus on the network, you'll need to stake `rowan`.
In order to become a validator, that is a node which can participate in consensus on the network, you'll need to stake `rowan`. Make sure you have asked for Rowan for your node as mentioned in step 8 above.

1. Get the public key of your node:

Expand Down

0 comments on commit 0def221

Please sign in to comment.