2 releases (1 unstable)

1.0.0-rc.5 Feb 12, 2024
0.1.0 Dec 5, 2023

#2589 in Magic Beans

32 downloads per month

BSD-3-Clause

1MB
23K SLoC

Minotari Wallet

Foreign Function interface for the Minotari Android and Minotari iOS Wallets.

This crate is part of the Tari Cryptocurrency project.

Build setup (Mac)

See README.md in wallet_ffi crate

Setup (Windows)

See README.md in wallet_ffi crate

Running migrations:

  • Ensure that you installed diesel with the sqlite feature flag:
    • cargo install diesel_cli --no-default-features --features sqlite
  • If you updated the tables the following needs to be run from the base_layer/wallet/ folder:
    • manually delete base_layer/wallet/test.sqlite3 if present
    • diesel setup --database-url test.sqlite3
    • diesel migration run --database-url test.sqlite3
  • After running this, make sure that the diesel update did not change BigInt to Integer in schema.rs (check for any unwanted changes)

Dependencies

~90MB
~1.5M SLoC