nodes & keplr fix

This commit is contained in:
Marston Connell 2022-10-27 09:35:06 -04:00
parent 8d6ce7cf73
commit a9b2485471
15 changed files with 114 additions and 15 deletions

View File

@ -1,4 +1,4 @@
{
"label": "Validators & Nodes",
"label": "Nodes & Providers",
"position":11
}

View File

@ -24,7 +24,7 @@ canined init <alias> --chain-id=<chain-id>
Then we want to replace our generated genesis file with the one used to start the network.
```sh
wget -O ~/.canine/config/genesis.json https://raw.githubusercontent.com/JackalLabs/woof/master/genesis/woof-final.json
wget -O ~/.canine/config/genesis.json https://jackaldao.com/wp-content/uploads/2022/10/genesis-final.txt
```
As a validator, you'll need to set a minimum gas price like so:

View File

@ -0,0 +1,4 @@
{
"label": "Full Nodes",
"position":0
}

View File

@ -0,0 +1,48 @@
---
sidebar_position: 1
---
# Creating Provider
## Disclaimer
This guide assumes you either have access to a full node over a network connection or are using the same machine as the full node.
## Setting up ZFS Without Mirroring
Setting up ZFS allows us to combine multiple drives together, in this case we are merging two drives. We don't recommend you only merge drives with striping and instead we recommend mirroring. However mirroring is a longer process and different for each configuration. In our case, this machine is only running with 24TB across 2 drives. We are less concerned about a drive failing as that would wipe half our storage anyways.
List all drives with :
```sh
sudo fdisk -l
```
You should end up seeing something like this
```sh
...
Disk /dev/sda: 12.75 TiB, 14000519643136 bytes, 27344764928 sectors
Disk model: ST14000NM001G-2K
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 4DE192A1-7AFF-F64D-93D5-CA48B806DAA0
Disk /dev/sdb: 12.75 TiB, 14000519643136 bytes, 27344764928 sectors
Disk model: ST14000NM001G-2K
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: D2827F71-7F0A-EE4A-BB12-1B2172641DBE
...
```
Note down the Disk paths that you wish to use for your storage provider, in this case it is `/dev/sdb` and `/dev/sda`. Now we create a new pool as follows:
```sh
sudo zpool create {pool-name} /dev/sdb /dev/sda ...
```
This folder will now have the drives mounted at `/{pool-name}`. For more in-depth guides to using zfs, check out [this page](https://zfsonlinux.org/).

View File

@ -0,0 +1,26 @@
---
sidebar_position: 2
---
# Setting Up Canined
## Canined Init
We need to set up canine to live inside the mount point we just created as that is where all the files are stored.
:::info
The chain must be live on main-net to complete the following actions
:::
```sh
canined init [node-name] --home={path-to-pool-from-before}
canined config chain-id canine-1
canined config keyring-backend test
canined tx storage init-provider {IP_ADDRESS} {STORAGE_IN_BYTES} --from {KEY_NAME} --gas-prices=0.002ujkl
canined start-provider --from {KEY_NAME} --gas-prices=0.002ujkl -y
```

View File

@ -0,0 +1,4 @@
{
"label": "Storage Providers",
"position":2
}

View File

@ -0,0 +1,25 @@
---
sidebar_position: 1
---
# Creating Validator
## Disclaimer
This guide assumes you are using the same machine as the full node.
## Setting Up
```sh
canined tx staking create-validator \
--amount 1000000ujkl \
--commission-max-change-rate 0.10 \
--commission-max-rate 0.2 \
--commission-rate 0.1 \
--from {WALLET_NAME} \
--min-self-delegation 1 \
--moniker {YOUR_MONIKER} \
--pubkey $(canined tendermint show-validator) \
--chain-id canine-1 \
--gas-prices 0.02ujkl
```

View File

@ -1,4 +1,4 @@
{
"label": "Validators",
"position":10
"position":1
}

View File

@ -1,8 +0,0 @@
---
sidebar_position: 1
---
# Jackal Wallet
## Coming Soon

View File

@ -4,6 +4,6 @@ sidebar_position: 5
# Validators
The Jackal Validators are secure web servers, dedicated machines that participate in the consensus protocol by broadcasting cryptographic signatures, or votes, to agree upon the next block. Voting power is determined by the amount of staking tokens delegated by non-validators and bonded as collateral to earn a reward. These non-validators, or delegators, incur the risk of getting punished (slashed) if the delegate validator gets hacked or violates the protocol.
To set up a validator and become a contributing part of the network, read the installation instructions [here](/docs/nodes/installation)
To set up a validator and become a contributing part of the network, read the installation instructions [here](/docs/nodes/nodes/installation)

View File

@ -4,7 +4,7 @@ sidebar_position: 2
# Keplr Wallet
The Keplr browser extension is a wallet for accessing some Jackal applications in the [Cosmos ecosystem](https://cosmos.network/). Keplr can be used to exchange/manage JKL and other Cosmos-based tokens, participate in governance from the [Jackal Dashboard](/docs/using-jackal/dashboard.md), and use Jackal Storage __without privacy__.
The Keplr browser extension is a wallet for accessing some Jackal applications in the [Cosmos ecosystem](https://cosmos.network/). Keplr can be used to exchange/manage JKL and other Cosmos-based tokens, participate in governance from the [Jackal Dashboard](/docs/using-jackal/dashboard.md), and use Jackal Storage.
To use Jackal applications with a __high privacy and security posture__, create a new [Jackal Wallet](/docs/using-jackal/wallet/jackalwallet.md) or import private keys into a Jackal Wallet.

View File

@ -76,7 +76,7 @@ function HomepageHeader() {
<article className='col col--4'>
<Link
className="card main-card padding--lg margin-bottom--lg"
to="/docs/nodes/installation">
to="/docs/nodes/nodes/installation">
<h2>Become A Validator</h2>
<div>Validate blocks on the network and earn $JKL as a reward.</div>
</Link>
@ -84,7 +84,7 @@ function HomepageHeader() {
<article className='col col--4'>
<Link
className="card main-card padding--lg margin-bottom--lg"
to="/docs/nodes/testnet">
to="/docs/nodes/nodes/testnet">
<h2>Join the Testnet</h2>
<div>Join the testnet to deploy your dApp & interact with Jackal for free.</div>
</Link>