From 5e4051c6a9abbc3d8ea6f05d2f2679fde4d6d17f Mon Sep 17 00:00:00 2001 From: Bi Phan <102435501+BiPhan4@users.noreply.github.com> Date: Fri, 27 Jan 2023 00:26:07 -0500 Subject: [PATCH] better code blocks formatting --- docs/nodes/providers/2_setting_up.md | 66 +++++++++++++++++++--------- 1 file changed, 46 insertions(+), 20 deletions(-) diff --git a/docs/nodes/providers/2_setting_up.md b/docs/nodes/providers/2_setting_up.md index 02b0494..1853d4b 100644 --- a/docs/nodes/providers/2_setting_up.md +++ b/docs/nodes/providers/2_setting_up.md @@ -40,41 +40,67 @@ 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 c. Navigate to your '.jackal-storage' folder to access the config folder 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. - -5. jprovd init {IP_ADDRESS} {STORAGE_IN_BYTES} {KEYBASE_IDENTITY} --home=$PHOME + We will also be hosting a tendermint rpc node for mainnet, which will be made accessible to the public at launch of Jackal Storage. - example: - 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 + 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/ -6. jprovd start --home=$PHOME +5. Initialize the provider + +```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 ```