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,19 +40,31 @@ 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
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.
Testnet tokens can be obtained at https://testnet-faucet.jackalprotocol.com/
Mainnet tokens can be purchased on https://frontier.osmosis.zone/
```sh
jprovd client gen-key --home=$PHOME
```
3. jprovd client config chain-id {chain-id} --home=$PHOME
4. jprovd client config node {your node} --home=$PHOME
3. Configure the chain-id
Some users may find it easier to complete steps 3 and 4 manually. Instructions for Ubuntu are below:
```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:
a. In your terminal, while inside of the PHOME directory, type 'nautilus'. This will open the nautilus file explorer
b. At the top right corner, make sure 'Show Hidden Files' is checked
@ -60,21 +72,35 @@ Your keybase identity can be left as `""` if you don't want to link your provide
d. Open the client.toml file to manually type in the 'chain-id' and 'node'
e. Save and close the client.toml file
Testnet and Mainnet chain-ids can be found here: https://github.com/JackalLabs/jackal-chain-assets.
If you are not running your own tendermint RPC node, Jackal Labs is currently hosting a testnet tendermint RPC node. Endpoint below:
Testnet and Mainnet chain-ids can be found here: https://github.com/JackalLabs/jackal-chain-assets.
If you are not running your own tendermint RPC node, Jackal Labs is currently hosting a testnet tendermint RPC node. Endpoint below:
https://testnet-rpc.jackalprotocol.com:443
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/
example:
jprovd init "https://storagep1.chainstrategies.cloud" "9000" "" --home=$PHOME
5. Initialize the provider
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
6. jprovd start --home=$PHOME
```sh
jprovd init {IP_ADDRESS} {STORAGE_IN_BYTES} {KEYBASE_IDENTITY} --home=$PHOME
```
example:
```sh
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.
Link for TB to Bytes converter: https://www.convertunits.com/from/TB/to/byte
6. Start the provider
```sh
jprovd start --home=$PHOME
```