0xcregis
anychain
Rust

Multi-chain Rust wallet sdk, supports Bitcoin, Ethereum, Tron, Solana etc. https://cregisoffical.gitbook.io/anychain/

Last updated Jun 17, 2026
250
Stars
34
Forks
5
Issues
0
Stars/day
Attention Score
89
Language breakdown
Rust 100.0%
Makefile 0.0%
Files click to expand
README

Anychain

Rust CI

What is Anychain?

Anychain is a multi-chain supported blockchain development framework designed to simplify interactions with various blockchains such as Ethereum, Bitcoin, Tron, and more. It provides a suite of tools and libraries that enable developers to easily create, manage, and operate blockchain addresses, transactions, and smart contracts.

What Can Anychain Do?

  • Multi-Chain Support: Interact with multiple blockchain platforms, allowing developers to use different blockchains within the same project.
  • Address Management: Easily create and verify blockchain addresses.
  • Transaction Generation: Generate and sign transactions, supporting various cryptocurrencies.
  • Smart Contract Interaction: Interact with smart contracts, call contract methods, and handle return values.
  • Bandwidth Estimation: Estimate the bandwidth required for transactions, helping developers optimize transaction costs.

Who Needs Anychain?

  • Blockchain Developers: Developers looking to quickly build applications that interact with multiple blockchains.
  • Fintech Companies: Companies that need to integrate various cryptocurrency payment and transaction functionalities.
  • Blockchain Researchers: Academics and researchers who want to experiment and study different blockchains.
  • Startups: Startups aiming to leverage blockchain technology to build innovative products.

Why Choose Anychain?

  • Ease of Use: Anychain offers a simple and intuitive API, allowing developers to get started quickly and reducing the learning curve.
  • Flexibility: Supports multiple blockchains, enabling developers to choose the most suitable chain based on their needs.
  • Active Community: Anychain has an active developer community that provides support and shares best practices.
  • High Performance: An optimized codebase ensures efficient transaction processing and low latency.

Features

Common Traits when it comes to building transactions for different blockchains, they are

  • PublicKey
  • Address
  • Amount
  • Transaction
  • Network
  • Format

Common crates used in building transactions for different blockchains, they are

  • base58
  • secp256k1
  • hex
  • rand

Functions

  • Build raw unsigned transactions for different blockchains according to parameters taken from the user of this library
  • Build signed transactions for different blockchains by merging the raw transaction and the corresponding signature
taken from the user of this library

Architecture & Design Doc

flowchart LR
    A[iOS/Android App] --> |Link library| B[anychain-ffi-rust];
    B --> |Wrap| C[anychain-bitcoin C library];
    C --> |Implement| D[anychain-core];

Design Principles for AnyChain Wallet SDK

Build the source

cargo build --release

Crates

| Name | Description | Crates.io | Documentation | |-----------------------|------------------------|--------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------| | [anychain-core] | Core types and traits. | [Crates.io][anychain-core] | [Documentation][anychain-core-docs] | | [anychain-kms] | BIP32、BIP39. | [Crates.io][anychain-kms] | [Documentation][anychain-kms-docs] | | [anychain-bitcoin] | Bitcoin impl. | [Crates.io][anychain-bitcoin] | [Documentation][anychain-bitcoin-docs] | | [anychain-ethereum] | Ethereum impl. | [Crates.io][anychain-ethereum] | [Documentation][anychain-ethereum-docs] | | [anychain-filecoin] | Filecoin impl. | [Crates.io][anychain-filecoin] | [Documentation][anychain-filecoin-docs] | | [anychain-tron] | Tron impl. | [Crates.io][anychain-tron] | [Documentation][anychain-tron-docs] | | [anychain-ripple] | Ripple impl. | [Crates.io][anychain-ripple] | [Documentation][anychain-ripple-docs] | | [anychain-polkadot] | Polkadot impl. | [Crates.io][anychain-polkadot] | [Documentation][anychain-polkadot-docs] | | [anychain-solana] | Solana impl. | [Crates.io][anychain-solana] | [Documentation][anychain-solana-docs] | | [anychain-ton] | Ton impl. | [Crates.io][anychain-ton] | [Documentation][anychain-solana-docs] |

Supported Chains

  • Bitcoin
  • BitcoinCash
  • Dogecoin
  • Litecoin
  • Ethereum
  • Filecoin
  • Tron
  • Ripple
  • Arbitrum, Optimism, and Avalanche
  • Polkadot
  • Neo
  • Solana
  • Sui
  • Aptos
  • Sei
  • Ton

License

This project is licensed under the [MIT license][license].

Contact

Feel free to join anychain sdk Telegram for discussions on code and research.

[anychain-core]: https://github.com/0xcregis/anychain/tree/main/anychain-core [anychain-kms]: https://github.com/0xcregis/anychain/tree/main/anychain-kms [anychain-bitcoin]: https://github.com/0xcregis/anychain/tree/main/anychain-bitcoin [anychain-ethereum]: https://github.com/0xcregis/anychain/tree/main/anychain-ethereum [anychain-filecoin]: https://github.com/0xcregis/anychain/tree/main/anychain-filecoin [anychain-tron]: https://github.com/0xcregis/anychain/tree/main/anychain-tron [anychain-ripple]: https://github.com/0xcregis/anychain/tree/main/anychain-ripple [anychain-polkadot]: https://github.com/0xcregis/anychain/tree/main/anychain-polkadot [anychain-solana]: https://github.com/0xcregis/anychain-solana [anychain-ton]: https://github.com/0xcregis/anychain-ton [anychain-core]: https://crates.io/crates/anychain-core [anychain-kms]: https://crates.io/crates/anychain-kms [anychain-bitcoin]: https://crates.io/crates/anychain-bitcoin [anychain-ethereum]: https://crates.io/crates/anychain-ethereum [anychain-filecoin]: https://crates.io/crates/anychain-filecoin [anychain-tron]: https://crates.io/crates/anychain-tron [anychain-ripple]: https://crates.io/crates/anychain-ripple [anychain-polkadot]: https://crates.io/crates/anychain-polkadot [anychain-solana]: https://crates.io/crates/anychain-solana [anychain-ton]: https://crates.io/crates/anychain-ton [anychain-core-docs]: https://docs.rs/anychain-core [anychain-kms-docs]: https://docs.rs/anychain-kms [anychain-bitcoin-docs]: https://docs.rs/anychain-bitcoin [anychain-ethereum-docs]: https://docs.rs/anychain-ethereum [anychain-filecoin-docs]: https://docs.rs/anychain-filecoin [anychain-tron-docs]: https://docs.rs/anychain-tron [anychain-ripple-docs]: https://docs.rs/anychain-ripple [anychain-polkadot-docs]: https://docs.rs/anychain-polkadot [anychain-solana-docs]: https://docs.rs/anychain-solana [anychain-ton-docs]: https://docs.rs/anychain-ton [license]: https://github.com/0xcregis/anychain/blob/main/LICENSE

© 2026 GitRepoTrend · 0xcregis/anychain · Updated daily from GitHub