Rust and Cargo are required to use wallet.rs. You can find installation instructions in the Rust documentation.
We recommend you update Rust to the latest stable version rustup update stable. The nightly version should be fine, but there is a chance some changes are not compatible.
no_std is not currently supported, but we are working on it, and we will provide it as a feature once the new implementation is ready.
Installing openssl with vcpkg :$ ./vcpkg.exe install openssl:x64-windows$ ./vcpkg.exe integrate install# you may want to add this to the system environment variables since you'll need it to compile the crate$ set VCPKGRS_DYNAMIC=1
Installing openssl with chocolatey :$ choco install openssl# you may need to set the OPENSSL_ROOT_DIR environment variable$ set OPENSSL_ROOT_DIR="C:\Program Files\OpenSSL-Win64"
cmake and openssl can be installed with Homebrew by running the following commands:
You can install cmake and openssl with your distro's package manager or download from their websites. On Debian and Ubuntu you will also need the build-essential package.
To use the library, add this to your Cargo.toml :
In order to use the library, you first need to create an AccountManager :