Collection of RESTful APIs provided by Ethereum 2.0 clients
API browser: https://ethereum.github.io/eth2.0-APIs/
API facilitating communication between a Validator Client and a Beacon Node
To render spec in browser you will need any http server to load index.html
file
in root of the repo.
python -m SimpleHTTPServer 8080
And api spec will render on http://localhost:8080.
npm install simplehttpserver -g
# OR
yarn global add simplehttpserver
simplehttpserver
And api spec will render on http://localhost:8000.
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