@trusource/server
v0.1.22
Published
TruSource oracle local test server
Downloads
102
Readme
@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.