Skip to content

Instantly share code, notes, and snippets.

@gauthamzz
Last active January 31, 2019 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gauthamzz/2cd0213d995aacbded84cb9d4f674237 to your computer and use it in GitHub Desktop.
Save gauthamzz/2cd0213d995aacbded84cb9d4f674237 to your computer and use it in GitHub Desktop.
Tendermint KV store
# Lets do in a different way
tendermint init --home ".node"
# Start a tendermint node
tendermint node --home ".node"
# Open a new terminal and start kvstore from abci-console
abci-console kvstore
# Open new terminal and start abci-console
abci-cli console
I[2019-01-31|22:16:34.170] Starting socketClient module=abci-client impl=socketClient
> deliver_tx "gautham=awesome"
-> code: OK
> commit
-> code: OK
-> data.hex: 0x0400000000000000
> query "gautham"
-> code: OK
-> log: exists
-> height: 0
-> key: gautham
-> key.hex: 6761757468616D
-> value: awesome
-> value.hex: 617765736F6D65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment