Go to file
cygnet c3b8d65e03
Improve sender interface (#10)
* Refactor tests: add utils.rs for test helper functions

* Refactor sending

* Add SilentPaymentAddress struct

* Use structs instead of tuples as func arguments

* Change create_outputs function and remove amounts

* Use is_testnet in SilentPaymentAddress struct

* Provide pre-computed tweak data to create_outputs function

* Git rebase main

* Provide ecdh shared secret as argument to create_output

* Rename create_outputs -> generate_recipient_pubkeys
2023-08-15 20:06:58 +02:00
src Improve sender interface (#10) 2023-08-15 20:06:58 +02:00
tests Improve sender interface (#10) 2023-08-15 20:06:58 +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 test vectors to August 4 version (#12) 2023-08-07 02:02:15 +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 August 4th 2023.

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