Skip to content

Lotus JS API JSON-RPC query module

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

filecoin-shipyard/js-lotus-client-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lotus JS Client - RPC query module

This library supplies a low-level interface for making calls to the Lotus JSON-RPC API.

See filecoin-shipyard/js-lotus-client for examples that show how to use this provider.

Re-generating TypeScript definitions

TypeScript definitions are generated by go-tsgen in https://github.com/filecoin-shipyard/js-lotus-client-schema. It links directly to Lotus. Updating the version of Lotus in its go.mod should generate updated TypeScript definitions.

There is an npm script here that can build and run the latest version locally if you have Go installed:

npm run build:ts

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.