Filecoin Signing Tools

Features: Rust Native Library: Secp256k1, Multisig, BLS, Hardware Wallet support (Ledger Nano S/X), Filecoin transactions (CBOR <> JSON serialization)
License Apache 2.0 Circleci NPM Package
WARNING
The documentation is being updated. We will have a completely new layout in the following week.
Features
Rust Native Library
- Secp256k1
- Multisig
- BLS
- Hardware Wallet support (Ledger Nano S/X)
- Filecoin transactions (CBOR <> JSON serialization)
WASM Library
- Secp256k1
- Multisig
- BLS
- Hardware Wallet support (Ledger Nano S/X) Documentation
- Filecoin transactions (CBOR <> JSON serialization)
JSON RPC Server
- Focus: Exchange integration
- Exposes most of the functions available in the signing library
- Lotus integration:
- nonce caching
- determine testnet vs mainnet
- retrieve nonce
- submit signed transaction
- retrieve tx status
FFI Examples
Caller
Callee
Status
Node.js
JSONRPC Service
Ready ✔️
Browser
WASM
Ready ✔️
Browser
WASM + Ledger
Ready ✔️
Node.js / Mocha
WASM
Ready ✔️
Rust
Rust + Ledger
Ready ✔️
C
Rust
Ready ✔️
C++
Rust
Ready ✔️
Java
Rust
Ready ✔️
Kotlin
Rust
Ready ✔️
Go
Rust
Ready ✔️
Objective-C
Rust
Ready ✔️
Swift
Rust
Ready ✔️
Flutter
Rust
Ready ✔️
React Native
Rust
Planned ⏳
- Workflow examples
Running tests and examples
TIP: A good place to look for reproducible steps is the circleci configuration of this project
Installing dependencies
make deps
Rust
cargo test -p filecoin-signer
Service
To run these tests, you need to set two environment variables first so tests can reach a Lotus node:
LOTUS_SECRET_URL
some_url
LOTUS_SECRET_JWT
some_jwt
Then you can run:
cargo test -p filecoin-signer
WASM
Build WASM and link it locally so examples are linked to the local version:
make link_wasm
After this, you can run the following tests / examples:
Command
Description
make test_wasm_unit
Unit tests
make test_wasm_node
Node integration tests
make test_wasm_browser
Browser integration tests
make test_wasm_ledger
Ledger integration tests
Other Articles

Polkadot Ledger App: Improved Compatibility and Transaction Clarity
The Polkadot Ledger App has been updated with Gen5 support, a modern NBGL UI, clearer asset transaction displays, and improved signing reliability. The new version is already available to install via Ledger Live

Filecoin Network v27 “Golden Week” Upgrade: Here's What to Expect
Get ready for Filecoin’s next step forward: NV27 “Golden Week”. Going live Sept 24, it strengthens miner security, streamlines sector operations, and improves developer tools. Upgrade to Lotus v1.34.0 today.

Polkadot Ledger Migration Assistant: Now Live
The Polkadot Ledger Migration Assistant offers a complete solution for migrating from legacy Ledger accounts to the new Polkadot generic app. With support for 17 networks users can safely transition their entire portfolio through one unified interface.