Please visit our website at zondax.ch
This package will continue to be actively maintained until 2023-12-31. After this date, it will no longer receive updates or bug fixes. Users are encouraged to seek alternative solutions after this period and are welcome to fork the project for continued development.
We are excited to announce that we have created a new package called izari-filecoin :link:, which will be the successor to filecoin-signing-tools. Izari Filecoin is an advanced and user-friendly package that includes several new features and improvements that were not available in this project. The new package is also better organized and easier to use. While this project will continue to be maintained, no new features will be added to it. Therefore, we strongly recommend that you switch to Izari Filecoin to take advantage of its new features and benefits.
You can find more information in the Documentation Site
Rust Native Library
WASM Library
Examples
Caller | Callee | Status | |
---|---|---|---|
Browser | WASM | Ready :heavy_check_mark: | Link |
Node.js / Mocha | WASM | Ready :heavy_check_mark: | Link |
C | Rust | Ready :heavy_check_mark: | Link |
C++ | Rust | Ready :heavy_check_mark: | Link |
Java | Rust | Ready :heavy_check_mark: | Link |
Kotlin | Rust | Ready :heavy_check_mark: | Link |
Go | Rust | Ready :heavy_check_mark: | Link |
Objective-C | Rust | Ready :heavy_check_mark: | Link |
Swift | Rust | Ready :heavy_check_mark: | Link |
Flutter | Rust | Ready :heavy_check_mark: | Link |
React Native | Rust | Planned :hourglass_flowing_sand: | [Soon]() |
TIP: A good place to look for reproducible steps is the circleci configuration of this project
You will need rust installed.
# Install wasm-pack in your system
$ make install_wasmpack
# Install some utilitary tools
$ make install_deps_rust
Note: wasm parck are required if you want to use the wasm version of the lib.
cargo test -p filecoin-signer
Build WASM and link it locally so examples are linked to the local version:
make build_npm
After this, you can run the following tests / examples:
Command | Description |
---|---|
make test_npm_unit |
Unit tests |
make test_npm_node |
Node integration tests |
make test_npm_browser |
Browser integration tests |