Skip to content

christophercampbell/cometbft-kvstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cometbft-kvstore

kvstore with cometbft

https://docs.cometbft.com/v0.37/guides/go-built-in

curl -s 'localhost:26657/broadcast_tx_commit?tx="cometbft=rocks"'
 curl -s 'localhost:26657/abci_query?data="cometbft"' | jq '.result.response.value' | xargs -I{} bash -c 'base64 -d <<< {}'

Setup 4 nodes as persistent peers

cometbft init --home <pathN>

get peer node ids

cometbft show-node-id --home <pathN>
  • <pathN>/config/genesis.toml: configure genesis with each validator's public info and voting power, and same chain ID
  • <pathN>/config/config.toml: add all nodes as persistent_peers: node-id@ip:port in CSV format

Start the servers

kvstore --cmt-home <pathN>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages