@filecoin-shipyard/lotus-client-rpc
v1.2.0
Published
Lotus JS Client RPC Library
Downloads
11,381
Maintainers
Keywords
Readme
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
- Apache 2.0, (LICENSE-APACHE / http://www.apache.org/licenses/LICENSE-2.0)
- MIT (LICENSE-MIT / http://opensource.org/licenses/MIT)
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.