diff options
| author | sneurlax <sneurlax@gmail.com> | 2024-10-12 01:55:27 -0500 |
|---|---|---|
| committer | sneurlax <sneurlax@gmail.com> | 2024-10-12 01:55:27 -0500 |
| commit | dc103c890cc1752f246fef3f8e472bc852ddd487 (patch) | |
| tree | 703e210358fe6759a626f008271a0069a6537358 /impls/monero.rs/example/README.md | |
| parent | 44c1676a0982a60626b7f0b03702ac287df2304e (diff) | |
refactor library loading
and update docs
Diffstat (limited to 'impls/monero.rs/example/README.md')
| -rw-r--r-- | impls/monero.rs/example/README.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/impls/monero.rs/example/README.md b/impls/monero.rs/example/README.md new file mode 100644 index 0000000..3b6ba4c --- /dev/null +++ b/impls/monero.rs/example/README.md @@ -0,0 +1,30 @@ +# `monero_c/impls/monero.rs/example` +Refer to the latest documentation at +https://github.com/MrCyjaneK/monero_c/blob/master/README.md and +https://github.com/MrCyjaneK/monero_c/blob/master/impls/monero.rs/README.md for +the latest documentation. + +## `monero_c` library +A `monero_c` library is required to use these bindings. 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 can be placed in +one of several supported locations relative to the binary in use: +- `.` + that is, if your binary is in `target/debug` or `target/release`, the library + should also be adjacent to the binary in `release` or `debug`, respectively. + If you're distributing your binary, place the library in the same directory. +- `../../lib` + so if your binary gets built to `target/profile`, then your library can be + in `lib`. +- `../../../../release` + which is a holdover from the original `monero_c` bindings and may not be + practical for your project unless it's also structured as a child of the + `monero_c` repository. + +and 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` |
