28 releases (breaking)

0.20.0 Jan 22, 2024
0.19.0 Sep 15, 2023
0.18.2 Jan 2, 2023
0.18.1 Dec 13, 2022
0.1.0 Mar 15, 2019

#1165 in Magic Beans

Download history 1087/week @ 2023-11-11 1199/week @ 2023-11-18 1004/week @ 2023-11-25 1078/week @ 2023-12-02 971/week @ 2023-12-09 751/week @ 2023-12-16 561/week @ 2023-12-23 702/week @ 2023-12-30 801/week @ 2024-01-06 1164/week @ 2024-01-13 1125/week @ 2024-01-20 1076/week @ 2024-01-27 1086/week @ 2024-02-03 1042/week @ 2024-02-10 1316/week @ 2024-02-17 1498/week @ 2024-02-24

5,219 downloads per month
Used in 14 crates (12 directly)

MIT license

435KB
7.5K SLoC

Build Status Codecov branch unsafe forbidden Crates.io Documentation License: MIT MSRV

Rust Monero Library

Library with support for de/serialization on block data structures and key/address generation and scanning related to Monero cryptocurrency.

Supports (or should support)

  • De/serialization of Monero blocks and transactions (consensus encoding)
  • Address and subaddress creation, de/serialization and validation
  • Private keys and one-time keys creation, de/serialization and validation
  • Transaction owned output detection and amount recovery with view keypair
  • Serde support on most structures with feature serde

Documentation

Currently can be found on docs.rs/monero. Patches to add usage examples and to expand on existing docs would be extremely appreciated.

Features

serde

The serde feature enables implementation of serde on serializable types across the library.

experimental

The experimental feature enable the method signature_hash in Transaction, the method computes the message to be signed by the CLSAG signature algorithm. This method is featured as experimental at the moment because it lacks reviews and tests.

Contributing

Contributions are generally welcome. If you intend to make larger changes please discuss them in an issue before PRing them to avoid duplicate work and architectural mismatches.

Releases and Changelog

See CHANGELOG.md and RELEASING.md.

About

This started as a research project sponsored by TrueLevel SA, it is now developed and maintained by the Monero Rust Contributors and NOT by the Monero Core Team.

Licensing

The code in this project is licensed under the MIT License

Dependencies

~1.8–3MB
~67K SLoC