#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

new 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

#40 in #transactions

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

~9MB
~161K SLoC