Skip to content

ant1g/tendermint-built-in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tendermint Built-in KVStore app

Install & build

Pull all vendor dependencies:

go mod vendor

Build app:

go build -o kvapp

Run

Configure node first, all config and data files will go into the run/ folder.

mkdir -p run && cp -r sample/* run/

Then start the node:

./kvapp

You can now send transactions through the Tendermint API:

curl -s 'localhost:26657/broadcast_tx_commit?tx="tendermint=rocks"'

This one should fail, as the validate function expect transaction content to be of the form "key=value".

curl -s 'localhost:26657/broadcast_tx_commit?tx="tendermint"'

Replaying an old transaction should also fail:

curl -s 'localhost:26657/broadcast_tx_commit?tx="tendermint=rocks"'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages