Go to file
cygnet ad2c5b0e72
8 remove all unwrap (#9)
* Remove all unwraps from sending

* Remove unwraps from receiving

* Move Result type to utils
2023-07-24 23:15:04 +02:00
src 8 remove all unwrap (#9) 2023-07-24 23:15:04 +02:00
tests 8 remove all unwrap (#9) 2023-07-24 23:15:04 +02:00
.gitignore Initial commit 2023-07-23 14:15:45 +02:00
Cargo.lock Change format test vector: label value in hex format 2023-07-23 17:14:59 +02:00
Cargo.toml Convert project to library 2023-07-23 21:42:34 +02:00
README.md Update README.md (#4) 2023-07-24 00:29:12 +02:00

README.md

Silent Payments

This repo is a rust implementation of BIP352: Silent Payments. This BIP is still under development, and this repo is by no means ready for real use yet. At this point, the repo is no more than a rust rewrite of the reference.py python reference implementation.

The tests/resources folder contains a copy of the test vectors as of July 23rd 2023. However, for ease of reading the data, some slight changes have been made to the formatting:

  • Empty labels are given as an empty map {} rather than an empty list []
  • The label integer m is given in 32-byte big-endian hex format

You can test the code using the test vectors by running cargo test