@trusource/server

0.1.22 • Public • Published

@trusource/server

Locally test smart contract calls to a Trusource oracle.

Install

$ npm install @trusource/server

Usage

Installing the package creates trusource-server command line utility, which can be used as follows.

$ trusource-server --spec <path-to-oas.json>

options

-d, --debug             output extra debugging
-p, --port [number]     port number to listen on        default 8545

OAS

OpenAPI specification used by the @trusource/server to locally listen for contract events, fetch data and make callbacks. The oas for a given api can be found here.

Readme

Keywords

Package Sidebar

Install

npm i @trusource/server

Weekly Downloads

7

Version

0.1.22

License

MIT

Unpacked Size

6.23 kB

Total Files

7

Last publish

Collaborators

  • bmoyroud
  • mo-huss