Giter Club home page Giter Club logo

besu-plugins's Introduction

Quorum Besu Plugins

CircleCI License Discord

Quorum Besu Plugins extends the Hyperledger Besu functionality. It uses the Plugin API to retrieve data from any Besu network, public or permissioned and feed it into an application or system.

This API exposes data about the following components:

  • Blocks
  • Balances
  • Transactions
  • Smart contracts
  • Execution results
  • Logs
  • Syncing state.

The current Besu recommended version is 20.10.0

We recommend using plugins with the last minor (i.e. 20.X) Besu version in production. That version will have undergone the most extensive testing with plugins. While patch releases of Besu should work with plugins, they are not put through the same QA cycle and are only tested by automatic tests. If you have a problem using plugins with a Besu patch release, please open an issue.

Useful Links

Plugins

Event streams

This plugin will listen to events occurring on the Ethereum network and will broadcast them to Kafka. Core broadcasting logic has been extracted to a common folder to facilitate the addition of support for other message brokers.

List of compatible message brokers:

List of events that can be sent by the plugin:

  • Block Propagated
  • Block Added
  • Block Reorg
  • Transaction Added
  • Transaction Dropped
  • Transaction Reverted
  • Sync Status Changed
  • Log Emitted

Quorum Besu Plugins users

See our user documentation.

Quorum Besu Plugins developers

Build Instructions

Install Prerequisites

  • Java 11

Build and Dist

Install Plugins

To allow Besu to access and use the plugin, copy the plugin (.jar) to the plugins directory.

git clone https://github.com/ConsenSys/besu-plugins.git
cd besu-plugins && ./gradlew distTar installDist

This produces:

  • Fully packaged distribution in build/distributions

You can find the jar of each plugin in build/libs of the module

Build and Test

To build, clone this repo and run with gradle:

git clone https://github.com/ConsenSys/besu-plugins.git
cd besu-plugins && ./gradlew

After a successful build, distribution packages are available in build/distributions.

Code Style

We use Google's Java coding conventions for the project. To reformat code, run:

./gradlew spotlessApply

Code style is checked automatically during a build.

Testing

All the unit tests are run as part of the build, but can be explicitly triggered with:

./gradlew test

besu-plugins's People

Contributors

abdelstark avatar matkt avatar shemnon avatar timbeiko avatar

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.