#filecoin #wallet #transaction #blockchain

anychain-filecoin

A Rust library for Filecoin-focused cryptocurrency wallets, enabling seamless transactions on the Filecoin blockchain

7 releases

new 0.1.6 Apr 21, 2024
0.1.5 Apr 18, 2024
0.1.3 Oct 23, 2023
0.1.1 Jul 6, 2023
0.1.0 Jun 15, 2023

#2977 in Magic Beans

Download history 21/week @ 2024-02-18 6/week @ 2024-03-31 119/week @ 2024-04-07

125 downloads per month

MIT/Apache

84KB
2K SLoC

anychain-filecoin

anychain-filecoin is a Rust library that provides a simple and unified interface for interacting with the Filecoin blockchain. It is designed to be easy to use, efficient, and extensible. This library is inspired by the anychain-filecoin project and follows a similar structure and design principles.

Features

  • Unified API for Filecoin blockchain interaction
  • Support for mainnet and testnet networks
  • Wallet management (create, import, and export)
  • Address generaREADME.mdtion and validation
  • Transaction building, signing, and broadcasting
  • Querying blockchain data (blocks, transactions, balances, etc.)
  • Extensible design for future improvements and additional features

Installation

Add the following to your Cargo.toml file:

[dependencies]
anychain-filecoin = "0.1.3"

Then run cargo build to download and compile the library.

Usage

Here's a simple example of how to use the library:

For more examples and detailed usage instructions, please refer to the documentation.

Contributing

We welcome contributions from the community! If you'd like to contribute, please follow these steps:

  1. Fork the repository
  2. Create a new branch for your changes
  3. Make your changes and commit them to your branch
  4. Create a pull request and describe your changes

Please make sure to follow the Rust coding guidelines and add tests for any new features or bug fixes.

License

anychain-filecoin is released under the MIT License. See the LICENSE file for more information.

Dependencies

~9.5MB
~177K SLoC