/anychain

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

Primary LanguageRustMIT LicenseMIT

Anychain

A Rust library for multi-chain cryptowallet, supporting transactions of crypto assets on many different public blockchains including Bitcoin, Ethereum, Tron, Filecoin, etc.

Rust CI

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

Build the source

cargo build --release

Crates

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

Supported Chains

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

License

This project is licensed under the MIT license.

Contact

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