I managed to:
1. Create a Silent Payment address from my npub,
2. Send a Silent Payment from Cake Wallet (the only wallet I could find that supported it)
3. Detect the valid transaction outputs that containthe Silent Payment
4. Swept the funds from the Silent Payment to a fresh bitcoin address that I control using the corresponding nsec (redacted in diagram, below, of course)
So the bottom line, I have shown that any npub can receive silent payments and sweep those funds to another wallet. Total privacy on the public blockchain. No one know I received or sent the funds.
I have the command line working and I will figure how to wire this into the web app in the coming days. That should put an end to the debate of using your social nsec as a wallet.
The command line looks like:
$>openetr sweep-silent-payment NSEC TXID DESTINATION_ADDRESS
/cc
Alex Gleason (nprofile…4m66) Gigi (nprofile…tf6v) VitorPamplona (nprofile…x58v) jb55 (nprofile…2ln2) Derek Ross (nprofile…8m4j)
#silentpayments
