/protobuf

Chainweaver is REST API for all blockchain developers (Blockcypher alternative)

Primary LanguageJavaScriptApache License 2.0Apache-2.0

FOSSA Status CircleCI

Interface Definition of Chainweaver API

Build Flow

Build Flow

Data Flow

The data flow chart between REST API and Ethereum's JSON RPC is shown below.

Some things to note:

The fields that set wei are properly handled by Custom Mashaler so that they do not overflow when responding to the REST API. The flow chart is annotated with the example of how balance as a typical field of wei is converted.

Data Flow

For developer

In this project you can develop by preparing the following environment.

  • Be able to use the make command
  • Docker daemon is running on your machine

Build

make build

Render Protocol Buffers Document

make render-protobuf-document

Render OpenAPI Document

make render-openapi-document

Test REST API with postman

export BASE_URL=URL
export TOKEN=YOUR_TOKEN
make test

Document

Protocol Buffers

OpenAPI

Reference

License Scan

FOSSA Status