hdwallet_service 0.1.17+8 copy "hdwallet_service: ^0.1.17+8" to clipboard
hdwallet_service: ^0.1.17+8 copied to clipboard

Hdwallet service for wallet.

hdwallet_service #

Hdwallet service

Pub Version (including pre-releases)

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

rustup target add aarch64-apple-ios x86_64-apple-ios
  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
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