mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
feat: draft readme
This commit is contained in:
parent
4ec5fd01ec
commit
ea8525fc24
32
README.md
32
README.md
@ -9,6 +9,7 @@
|
||||
[![API Reference](https://godoc.org/github.com/Kava-Labs/kava?status.svg)](https://godoc.org/github.com/Kava-Labs/kava)
|
||||
[![GitHub](https://img.shields.io/github/license/kava-labs/kava.svg)](https://github.com/Kava-Labs/kava/blob/master/LICENSE.md)
|
||||
[![Twitter Follow](https://img.shields.io/twitter/follow/kava_labs.svg?label=Follow&style=social)](https://twitter.com/kava_labs)
|
||||
[![riot.im](https://img.shields.io/badge/riot.im-JOIN%20CHAT-green.svg)](https://riot.im/app/#/room/#kava-validators:matrix.org)
|
||||
|
||||
</div>
|
||||
|
||||
@ -20,6 +21,37 @@
|
||||
|
||||
</div>
|
||||
|
||||
## Installing
|
||||
|
||||
This guide assumes you have worked with `cosmos-sdk` blockchains previously. If you are just getting started, great! See the complete guide [here](https://medium.com/kava-labs).
|
||||
|
||||
#### Installing KVD
|
||||
|
||||
```
|
||||
git clone https://github.com/Kava-Labs/kava.git
|
||||
cd kava
|
||||
go install ./cmd/kvd ./cmd/kvcli
|
||||
```
|
||||
|
||||
#### Create a Wallet
|
||||
```
|
||||
kvd init --chain-id=kava-testnet-1 <your-moniker>
|
||||
kvcli keys add <your_wallet_name>
|
||||
```
|
||||
|
||||
**Be sure to back up your mnemonic!**
|
||||
|
||||
#### Create a Genesis Transaction
|
||||
```
|
||||
kvd add-genesis-account $(kvcli keys show <your_wallet_name> -a) 1000000kava
|
||||
kvd gentx --name <your_wallet_name> --amount 1000000kava
|
||||
```
|
||||
|
||||
A genesis transaction should be written to `$HOME/.kvd/config/gentx/gentx-<gen_tx_hash>.json`
|
||||
|
||||
#### Submit Genesis Transaction
|
||||
To be included in the genesis file for testnet one, post your genesis transaction as a PR on this repo [here](https://github.com/Kava-Labs/kava/pulls)
|
||||
|
||||
## License
|
||||
|
||||
Copyright © Kava Labs, Inc. All rights reserved.
|
||||
|
Loading…
Reference in New Issue
Block a user