Created
January 31, 2019 21:25
-
-
Save gauthamzz/89fbbcc8ba09a161bde6e2c7d43d7554 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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