better code blocks formatting

This commit is contained in:
Bi Phan 2023-01-27 00:26:07 -05:00 committed by GitHub
parent 62c4577a97
commit 5e4051c6a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,17 +40,29 @@ Your keybase identity can be left as `""` if you don't want to link your provide
::: :::
1. Export the path to your storage pool
```sh ```sh
1. export PHOME={path-to-pool-from-before} export PHOME={path-to-pool-from-before}
```
2. jprovd client gen-key --home=$PHOME 2. Generate your provider's private key
Before completing step 5 below, your account will need tokens. ```sh
Testnet tokens can be obtained at https://testnet-faucet.jackalprotocol.com/ jprovd client gen-key --home=$PHOME
Mainnet tokens can be purchased on https://frontier.osmosis.zone/ ```
3. jprovd client config chain-id {chain-id} --home=$PHOME 3. Configure the chain-id
4. jprovd client config node {your node} --home=$PHOME
```sh
jprovd client config chain-id {chain-id} --home=$PHOME
```
4. Configure the rpc node your provider will use to connect to the chain
```sh
jprovd client config node {your node} --home=$PHOME
```
Some users may find it easier to complete steps 3 and 4 manually. Instructions for Ubuntu are below: Some users may find it easier to complete steps 3 and 4 manually. Instructions for Ubuntu are below:
@ -67,14 +79,28 @@ Your keybase identity can be left as `""` if you don't want to link your provide
We will also be hosting a tendermint rpc node for mainnet, which will be made accessible to the public at launch of Jackal Storage. We will also be hosting a tendermint rpc node for mainnet, which will be made accessible to the public at launch of Jackal Storage.
5. jprovd init {IP_ADDRESS} {STORAGE_IN_BYTES} {KEYBASE_IDENTITY} --home=$PHOME Before completing step 5 below, your account will need tokens.
Testnet tokens can be obtained at https://testnet-faucet.jackalprotocol.com/
Mainnet tokens can be purchased on https://frontier.osmosis.zone/
5. Initialize the provider
```sh
jprovd init {IP_ADDRESS} {STORAGE_IN_BYTES} {KEYBASE_IDENTITY} --home=$PHOME
```
example: example:
```sh
jprovd init "https://storagep1.chainstrategies.cloud" "9000" "" --home=$PHOME jprovd init "https://storagep1.chainstrategies.cloud" "9000" "" --home=$PHOME
```
Please note that 'https://' is required to be included in the ip or init will throw an error. Please note that 'https://' is required to be included in the ip or init will throw an error.
Link for TB to Bytes converter: https://www.convertunits.com/from/TB/to/byte Link for TB to Bytes converter: https://www.convertunits.com/from/TB/to/byte
6. jprovd start --home=$PHOME 6. Start the provider
```sh
jprovd start --home=$PHOME
``` ```