#filecoin #blockchain #wallet #transaction #data-structures

no-std anychain-filecoin

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

10 releases

0.1.9 Nov 3, 2024
0.1.8 Aug 31, 2024
0.1.6 Apr 21, 2024
0.1.3 Oct 23, 2023
0.1.0 Jun 15, 2023

#41 in #transactions

Download history 18/week @ 2024-08-03 6/week @ 2024-08-10 3/week @ 2024-08-17 209/week @ 2024-08-31 5/week @ 2024-09-07 7/week @ 2024-09-14 21/week @ 2024-09-21 3/week @ 2024-09-28 11/week @ 2024-10-12 2/week @ 2024-10-19 141/week @ 2024-11-02 11/week @ 2024-11-09 4/week @ 2024-11-16

156 downloads per month

MIT/Apache

85KB
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.9"

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

~10MB
~185K SLoC