lotus_rs

Crates.iolotus_rs
lib.rslotus_rs
version0.1.0
sourcesrc
created_at2023-01-26 17:26:14.314648
updated_at2023-01-26 17:26:14.314648
descriptionFilecoin lotus JSON-RPC API wrapper
homepage
repository
max_upload_size
id768703
size29,005
Filmine Rust (github:alt-labs:filmine-rust)

documentation

README

Filecoin Lotus RPC client for rust

Getting Started

Initialize client by setting in env

"LOTUS_API_HOST_URL" "LOTUS_HTTP_CONTENT_TYPE" "LOTUS_API_TOKEN"

      let client = LotusClient::init(LotusConfig::from_env());

or you can pass them as values

  let client = LotusClient::init(LotusConfig::new(host_url, content_type, token))
Commit count: 0

cargo fmt