29 releases (breaking)

0.21.0 May 1, 2024
0.20.0 Jan 22, 2024
0.19.0 Sep 15, 2023
0.18.2 Jan 2, 2023
0.1.0 Mar 15, 2019

#20 in #amount

Download history 1121/week @ 2024-06-28 814/week @ 2024-07-05 772/week @ 2024-07-12 847/week @ 2024-07-19 799/week @ 2024-07-26 924/week @ 2024-08-02 767/week @ 2024-08-09 1201/week @ 2024-08-16 1003/week @ 2024-08-23 1449/week @ 2024-08-30 1783/week @ 2024-09-06 1091/week @ 2024-09-13 1891/week @ 2024-09-20 1345/week @ 2024-09-27 1604/week @ 2024-10-04 1725/week @ 2024-10-11

6,734 downloads per month
Used in 15 crates (13 directly)

MIT license

440KB
8K 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.7–3MB
~66K SLoC