Skip to content

An BC-UR registry implementation with rust-lang

Notifications You must be signed in to change notification settings

solflare-wallet/ur-registry-rust

 
 

Repository files navigation

UR Registry Rust

Yet another implementation for BC-UR registries.

Libs

Interfaces

Build

  1. Install Android NDK 22.1.7171670

Open your Android Studio

Open SDK manager

Open tab SDK tools

Check Show package Details

Found target version.

  1. Install cargo-lipo, cbindgen and cargo-ndk

cargo install cargo-lipo

cargo install cargo-ndk

  1. Add rust components

Android:

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

iOS:

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

  1. Config

Android:

Make sure you only have NDK 22.1.7171670, if not, you should setup the environment variable firstly:

Copy the file .ndk_home.example and change the content to your version;

  1. Build

Debug:

make

Release:

source .ndk_home && make release

About

An BC-UR registry implementation with rust-lang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 46.2%
  • Rust 35.4%
  • C 7.2%
  • Ruby 3.3%
  • Makefile 3.0%
  • Swift 2.8%
  • Other 2.1%