]> Untitled Git - bdk-cli/commitdiff
docs: update sp code key params in docs example
authorVihiga Tyonum <withtvpeter@gmail.com>
Sat, 11 Jul 2026 03:30:11 +0000 (04:30 +0100)
committerVihiga Tyonum <withtvpeter@gmail.com>
Sat, 11 Jul 2026 03:30:11 +0000 (04:30 +0100)
README.md

index 7d15de93f6d8372e89b2a2867ccd82e43070f9e1..330a73b37dba7cb64531caf0c1ea8d922aca9ca3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -161,7 +161,7 @@ cargo run --features rpc -- wallet --wallet payjoin_wallet2 send_payjoin --ohttp
 
 To experiment with silent payments, you can get two public keys in compressed or uncompressed format, `A1` and `A2`, and produce a silent payment code by calling:
 ```shell
-cargo run --features silent-payments -- --network signet silent_payment_code --scan_public_key '<A1>' --spend_public_key '<A2>'
+cargo run --features silent-payments -- --network signet silent_payment_code --scan_key '<A1>' --spend_key '<A2>'
 ```
 
 Once you have a silent payment code, `SP_CODE_1` and an amount `AMOUNT_1` to send, you can create a valid transaction locking funds to a silent payment code derived address with the following command: