Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 543 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 543 Bytes

viabtc-openrpc

ViaBTC API OpenRPC Specification

Install dev dependencies

Prerequisites:

  • Node.JS
  • npm

$ npm install --dev

Documentation Server

open-rpc-generator uses Gatsby as the documentation server. There is a npm script that automatically generates a Gatsby server from the viabtc-openrpc.json file.

$ npm run docs:generate

This will generate required files for Gatsby. Then you can run the server:

$ cd docs/gatsby/
$ npm install

It can take a while to install modules. Then:

$ npm run start