Wallet Library For CryptoNote Based Crypto Currencies

codecov

Pure Wallet without cache

Usage

  1. load and save

``` // Create a wallet object let mut wallet = Wallet::new();

// Load wallet from a wallet file with a password.
wallet.load(String::from("tests/vig.wallet"), String::from(""));

// Save current wallet to a new file with a new password.
wallet.save(String::from("tests/vig-new.wallet"), String::from("abcd"));

```

  1. to Address ``` let prefix: u64 = 0x3d; let mut wallet = Wallet::new(); wallet.load(String::from("tests/vig.wallet"), String::from(""));

    // Get an Address object let address = wallet.to_address(prefix); let addressStr = address.get(); println!("{}" , addressStr);

```