Skip to content

albertov/hs-abci

Repository files navigation

Haskell Tendermint Interface (ABCI)

Build blockchain applications in Haskell for Tendermint

Build Status

Running the test suites

> make install
> make test

Running the counter example app

You should start a tendermint node if you want to run the counter app. Assuming you have the tendermint binary somewhere in your path, you can start a fresh node with

> tendermint unsafe_reset_all
> tendermint init
> tendermint node

You can then run the counter app with

> make run-counter

You can now post transactions to the tendermint node via curl, for example to change the count to the number 1 you can run

> curl 'localhost:26657/broadcast_tx_commit?tx=0x01'

You can also smoke test the counter app using the abci-cli test suite. Assuming the counterapp and you have abci-cli binaries in your path (see here) you can run

> abci-cli test

Releases

No releases published

Packages

No packages published

Languages