Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dashevo/abci

Package Overview
Dependencies
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dashevo/abci

Tenderdash ABCI server

  • 0.17.0-dev.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
28
increased by300%
Maintainers
8
Weekly downloads
 
Created
Source

js-abci

ABCI server for Node.js. Supports Tendermint version 0.33+.

Usage

npm install abci

Requires Node.js v10.9+

let createServer = require('abci')

let server = createServer({
  info (request) {
    console.log('got info request', request)
    return { ... }
  }

  // implement any ABCI method handlers here
})
server.listen(26658)

let server = createServer(app)

Returns a net.Server that accepts ABCI connections from a Tendermint node.

app should be an object with ABCI method handler functions. Each handler receives one request argument, and can return the response value or a Promise which resolves to the response value. cb responds to the ABCI request with either the error or response value.

Supported ABCI methods are:

echo
flush
info
setOption
initChain
query
beginBlock
checkTx
deliverTx
endBlock
commit

Keywords

FAQs

Package last updated on 21 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc