Skip to content

Instantly share code, notes, and snippets.

@gauthamzz
Created January 31, 2019 21:25
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/89fbbcc8ba09a161bde6e2c7d43d7554 to your computer and use it in GitHub Desktop.
Save gauthamzz/89fbbcc8ba09a161bde6e2c7d43d7554 to your computer and use it in GitHub Desktop.
# Create the genesis block, for the node.
tendermint init
# Now that the gensis block is inilaised we can start
# the application on the system
tendermint node --proxy_app=kvstore
# This will start the kvstore application in your
# computer in port 26657.
# Lets test the kv store application by sending a request to the application
curl -s 'localhost:26657/broadcast_tx_commit?tx="gautham=awesome"'
# You will get a JSON file if its successful
# Now you can check if it actually worked
curl -s 'localhost:26657/abci_query?data="gautham"'
# Now this will give you an output 'awesome' or YXdlc29tZQ== which
# is awesome in base 64.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment