mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-11-04 03:57:44 +00:00 
			
		
		
		
	
						commit
						fe955f626f
					
				@ -38,7 +38,7 @@ go install -tags "ledger" ./cmd/kvd ./cmd/kvcli
 | 
			
		||||
#### Create a Wallet
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
kvd init --chain-id=kava-testnet-1 <your-moniker>
 | 
			
		||||
kvd init --chain-id=kava-testnet-1.1 <your-moniker>
 | 
			
		||||
kvcli keys add <your_wallet_name>
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
@ -47,15 +47,15 @@ kvcli keys add <your_wallet_name>
 | 
			
		||||
#### Create a Genesis Transaction
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
kvd add-genesis-account $(kvcli keys show <your_wallet_name> -a) 1000000kva
 | 
			
		||||
kvd gentx --name <your_wallet_name> --amount 1000000kva --ip <your-public-ip>
 | 
			
		||||
kvd add-genesis-account $(kvcli keys show <your_wallet_name> -a) 1000000000000ukva
 | 
			
		||||
kvd gentx --name <your_wallet_name> --amount 1000000000000ukva --ip <your-public-ip>
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
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, fork this repo and copy your genesis transaction to the `testnet-1/gentx` directory. Submit your fork including your genesis transaction as a PR on this repo [here](https://github.com/Kava-Labs/kava/pulls)
 | 
			
		||||
To be included in the genesis file for testnet one, fork this repo and copy your genesis transaction to the `testnet-1.1/gentx` directory. Submit your fork including your genesis transaction as a PR on this repo [here](https://github.com/Kava-Labs/kava/pulls)
 | 
			
		||||
 | 
			
		||||
## License
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@ const (
 | 
			
		||||
	appName = "kava"
 | 
			
		||||
	// DefaultKeyPass contains the default key password for genesis transactions
 | 
			
		||||
	DefaultKeyPass   = "12345678"
 | 
			
		||||
	Bech32MainPrefix = "k"
 | 
			
		||||
	Bech32MainPrefix = "kava"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// default home directories for expected binaries
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										0
									
								
								testnet-1.1/gentx/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								testnet-1.1/gentx/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user