The First Modular AI Chain
Go to file
rhuairahrighairigh f46dbd02e2 prettify readme
2018-08-17 17:38:18 -04:00
cmd update to app v0.23.1 and add staking 2018-08-14 18:13:54 -04:00
internal adjust starting tokens 2018-08-17 16:33:48 -04:00
testnets add new testnet 2018-08-17 17:20:41 -04:00
.dockerignore add testnet details 2018-08-17 11:32:38 -04:00
.gitignore remove deployment from main repo 2018-08-14 10:06:01 -04:00
docker-compose.yml fix missed port numbers 2018-08-17 11:38:15 -04:00
Dockerfile minor docker file update 2018-08-15 15:09:35 -04:00
Gopkg.lock update dependencies, remove lcd 2018-08-14 18:14:16 -04:00
Gopkg.toml update dependencies, remove lcd 2018-08-14 18:14:16 -04:00
kava-logo.svg prettify readme 2018-08-17 17:38:18 -04:00
README.md prettify readme 2018-08-17 17:38:18 -04:00

Kava


A decentralized fast-finality blockchain for interoperable payment channel networks. Building on the work of Tendermint and Interledger.

Project status: We're currently in a very early public testnet. With future features being implemented.

Try it out - send txs using our public node, or run a full node to sync to the testnet, or even run a validator.

Install

Source

Requirements: go installed and set up.

mkdir -p $GOPATH/src/github.com/kava-labs
cd $GOPATH/src/github.com/kava-labs
git clone https://github.com/kava-labs/kava
cd kava
go install ./cmd/kvd
go install ./cmd/kvcli

Docker

TODO

Run a Full Node

kvd init --name <your-name> --chain-id kava-test-0

This will generate config and keys in $HOME/.kvd and $HOME/.kvcli. The default password is 'password'.

Copy the testnet genesis file (from https://raw.githubusercontent.com/Kava-Labs/kava/master/testnets/kava-test-1/genesis.json) into $HOME/.kvd/config/, replacing the existing one.

Add the kava node address (0dfd43e440e34fc193ddee4ae99547184f3cb5d1@validator.connector.kava.io:26656) to seeds in $HOME/.kvd/config/config.toml

Start your full node

kvd start

Run a Validator

Join the validator chat. riot.im Follow setup for a full node above. Get you address with kvcli keys list. Should look like cosmosaccaddr10jpp289accvkhsvrpz4tlj9zhqdaey2tl9m4rg. Ask @rhuairahrighairidh in the chat to give you some coins.

Get your validator pubkey with kvd tendermint show_validator

kvcli stake create-validator \
        --amount 1000KVA \
        --pubkey <you validator pubkey from above> \
        --address-validator <your address from above> \
        --moniker "<your name>" \
        --chain-id kava-test-0 \
        --from <your name>

Now you should be participating in consensus and validating blocks!

Running a validator requires that you keep validating blocks. If you stop then your stake will be slashed. In order to stop validating, first remove yourself as validator, then you can stop your node.

kvcli stake unbond begin \
	--address-delegator <your address> \
	--address-validator <your address> \
	--chain-id kava-test-0 \
	--shares-percent 1 \
	--from <your name>