Giter VIP home page Giter VIP logo

hs-abci's Introduction

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

hs-abci's People

Contributors

albertov avatar anton-k avatar martyall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hs-abci's Issues

Having trouble trying to revive this

I wanted to ask how to get this counter app working. I saw that at some point you were satisfied with it, but I am have some trouble. I forked this repo and vendored the necessary .proto files from tendermint and google, updated the generated files, and updated the LTS. You can find the repo/branch here https://github.com/f-o-a-m/hs-abci/tree/update-lts-and-protos.

I can see that if I'm running the latest tendermint binaries and I start the node, then start the counter that the node makes a connection with the counter and starts to communicate. unfortunately it never makes it past this conduit before getting stuck in an await (see here). I can verify that some bytes come in, but I can't tell what they are and it stops almost immediately.

Anything you could say would be helpful

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.