0.1.5 • Published 11 months ago

@deroll/rpc v0.1.5

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

Cartesi JSON-RPC API

JSON-RPC API to query Cartesi application inputs and outputs.

The implementation is written in TypeScript and uses a GraphQL connection to the node to serve its requests.

Spec

The API specification is written in OpenRPC format and can be found in the openrpc.json file. The specification is also available in the OpenRPC Playground.

Running

To run the RPC server, execute the command below, where <graphqlUri> is the URL of the GraphQL endpoint of the Cartesi node:

npx @deroll/rpc <graphqlUri>