Files
2026-06-28 20:30:30 -07:00

1.2 KiB

bitping-example-client

Bitping

Bitping is the root of all the things.

Super quick start

First, we'll need to build bitping:

make build

Next, we'll run the watcher

./build/bin/bitping watch --eth "wss://mainnet.infura.io/ws"

Getting started

Most of the work we'll do within bitping is through the Makefile. Checkout the Makefile for details about how these things work.

Basically, the way that this works is that bitping listens on all the available blockchains for block events. This can be events where blocks are mined or contracts are called.

Blockchain status:

  • ethereum
  • btc
  • eos

Feel free to add another blockchain here. We'll add the as we see fit and the need. To add a blockchain to the watch command is straight-forward. Each blockchain needs to implement the blockchain interface and implement the following methods:

  • NewClient()
  • Run()

How does it work?

The system itself is pretty simple. bitping comprises three parts:

  1. The watcher
  2. The queryer
  3. The executor

Each of these has their own distinct purposes. At the root

License

Ari Lerner