1 unstable release
0.1.0 | Jan 26, 2023 |
---|
#7 in #lotus
21KB
578 lines
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))
Dependencies
~18–31MB
~522K SLoC