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

#22 in #amount

Download history 971/week @ 2024-07-23 845/week @ 2024-07-30 814/week @ 2024-08-06 1092/week @ 2024-08-13 893/week @ 2024-08-20 1134/week @ 2024-08-27 1756/week @ 2024-09-03 1434/week @ 2024-09-10 1567/week @ 2024-09-17 1599/week @ 2024-09-24 1323/week @ 2024-10-01 1766/week @ 2024-10-08 1829/week @ 2024-10-15 1523/week @ 2024-10-22 1188/week @ 2024-10-29 1471/week @ 2024-11-05

6,198 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