diff options
Diffstat (limited to 'impls/monero.rs/README.md')
| -rw-r--r-- | impls/monero.rs/README.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/impls/monero.rs/README.md b/impls/monero.rs/README.md new file mode 100644 index 0000000..e9e8da9 --- /dev/null +++ b/impls/monero.rs/README.md @@ -0,0 +1,31 @@ +# `monero_rust` +Proof of concept `monero_c` bindings for Rust. + +## Getting started +<!-- +### Prerequisites +You may need +``` +sudo apt-get install libhidapi-dev +``` +--> +### Build or download `monero_c` library +Build or download the `monero_c` library for your architecture. Follow the +upstream docs at https://github.com/MrCyjaneK/monero_c or download the latest +release from https://github.com/MrCyjaneK/monero_c/releases. The library must +be placed in `../../../../release` (as in `monero_c/release`) and its name +should match your platform as in: +- Android: `libmonero_libwallet2_api_c.so` +- iOS: `MoneroWallet.framework/MoneroWallet` +- Linux: `monero_libwallet2_api_c.so` +- macOS: `monero_libwallet2_api_c.dylib` +- Windows: `monero_libwallet2_api_c.dll` + +### Run demo +With the library in a supported location, from `monero_c/impls/monero_rust`: +``` +cargo run +``` + +## Using `monero_rust` in your own crate +Refer to the `example` folder. Library placement is the same as for the demo. |
