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.
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
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)
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.