decred / dcrwebapi

ISC License
18 stars 50 forks source link

dcrwebapi

Build Status ISC License

dcrwebapi implements a simple HTTP API which provides summary data about the Decred blockchain and ecosystem. Some data such as a list of Voting Service Providers is hard-coded, and some is collected from external sources such as GitHub and dcrdata.

Voting Service Providers

Data from dcrwebapi is used to populate the VSP list of both decred.org and Decrediton.

To add a new VSP to the API, VSP operators must open a pull request on this respository after following the operator guidelines and coordinating with the Decred community.

API

API calls are documented in api.md.

Docker

To build the image:

docker build -t decred/dcrwebapi .

By default, the container exposes port 80. To run the image:

docker run --rm -d -p [local port]:80 decred/dcrwebapi

License

dcrwebapi is licensed under the copyfree ISC License.