Skip to content

Commit 01591f3

Browse files
Initial implementation of BOLT 12 payer proof test vector CLI
Add a Rust CLI tool that generates and verifies test vectors for BOLT 12 payer proofs as specified in lightning/bolts#1295. The tool uses the rust-lightning implementation from lightningdevkit/rust-lightning#4297. Features: - Generate deterministic test vectors with configurable seed - Verify test vectors from JSON files - Support for basic proofs, proofs with notes, and invalid test cases - Uses refund flow for explicit payer key control Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 parents  commit 01591f3

8 files changed

Lines changed: 1605 additions & 0 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/target
2+
3+
# Generated test vector files
4+
test_vectors.json
5+
test_output.json

0 commit comments

Comments
 (0)