hdwallet_servicex 0.1.20 copy "hdwallet_servicex: ^0.1.20" to clipboard
hdwallet_servicex: ^0.1.20 copied to clipboard

A Flutter plugin for HD wallet services with multi-chain support including Bitcoin, Ethereum, Solana, Filecoin, and more. Built with Rust for high performance and security.

hdwallet_services #

A Flutter plugin for HD (Hierarchical Deterministic) wallet services with multi-chain support. Built with Rust for high performance and security.

Pub Version (including pre-releases) License

Features #

  • 🔐 HD wallet creation and management
  • 🌐 Multi-chain support: Bitcoin, Ethereum, Solana, Filecoin, Substrate, Tron, CKB, Tezos, Aptos, Sui, Starknet, and more
  • ⚡ High performance Rust-based cryptographic operations
  • 🔒 Secure key management via FFI
  • 📱 Support for Android and iOS platforms

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  hdwallet_services: ^0.1.20

Then run:

flutter pub get

Platform Requirements #

Android #

  • Minimum SDK: 21
  • Supported architectures: arm64-v8a, armeabi-v7a, x86, x86_64

iOS #

  • Minimum iOS version: 11.0
  • Supported architectures: arm64 (real devices)

Setup and Tools #

  1. Add Rust build targets

For Android

rustup target add aarch64-linux-android armv7-linux-androideabi x86_64-linux-android i686-linux-android

For iOS

For real devices (required):

rustup target add aarch64-apple-ios  x86_64-apple-ios

For simulator (optional, Apple Silicon Macs):

rustup target add aarch64-apple-ios-sim

Note: x86_64 simulator support is limited due to dependency constraints.

  1. Cargo Plugins
cargo install --no-default-features --force cargo-make

we also use dart-bindgen which requires LLVM/Clang. Install LLVM (10+) in the following way:

ubuntu/linux

  1. Install libclangdev - sudo apt-get install libclang-dev.

Windows

  1. Install Visual Studio with C++ development support.
  2. Install LLVM or winget install -e --id LLVM.LLVM.

MacOS

  1. Install Xcode.
  2. Install LLVM - brew install llvm.

Build and Test #

In the Root of the project simply run:

cd native
export LIBCLANG_PATH=/opt/homebrew/opt/llvm/lib
export DYLD_LIBRARY_PATH=/opt/homebrew/opt/llvm/lib
cargo make --profile release

Update tcx

cargo update -p tcx

Generate protobuf type #

Install protoc Download here

dart pub global activate protoc_plugin
protoc --dart_out=./gen *.proto
0
likes
0
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for HD wallet services with multi-chain support including Bitcoin, Ethereum, Solana, Filecoin, and more. Built with Rust for high performance and security.

License

unknown (license)

Dependencies

fast_base58, ffi, fixnum, flutter, hex, path_provider, pointycastle, protobuf

More

Packages that depend on hdwallet_servicex

Packages that implement hdwallet_servicex