/eth2.0-APIs

Collection of RESTful APIs provided by Ethereum 2.0 clients

Primary LanguageHTMLCreative Commons Zero v1.0 UniversalCC0-1.0

Ethereum 2.0 APIs

CI

Collection of RESTful APIs provided by Ethereum 2.0 clients

API browser: https://ethereum.github.io/eth2.0-APIs/

Validator

API facilitating communication between a Validator Client and a Beacon Node

Render

To render spec in browser you will need any http server to load index.html file in root of the repo.

Python
python -m SimpleHTTPServer 8080

And api spec will render on http://localhost:8080.

NodeJs
npm install simplehttpserver -g

# OR

yarn global add simplehttpserver

simplehttpserver

And api spec will render on http://localhost:8000.

Contributing

Api spec is checked for lint errors before merge.

To run lint locally, install linter with

npm install -g @stoplight/spectral

# OR

yarn global add @stoplight/spectral

and run lint with

spectral lint beacon-node-oapi.yaml