Tim Bouma on Nostr: Updated Nostr Silent Payments gist at the link below. The gist now includes two ...
Updated Nostr Silent Payments gist at the link below.
The gist now includes two example scripts to validate a silent payment transaction and sweep a silent payment transaction. The example scripts have been implemented using the Python standard libraries only (no additional installs such as secp256k1, bech32, etc.) so you can see how everything works from the ground up - even how the public key points are created, added, etc.
Also, the threat model has been updated. Though it can be used by your primary social media npub, that is not recommended.
There are many different use cases (not related to social media) where an npub with a corresponding NIP-05 address may be required to privately receive funds.
https://gist.github.com/trbouma/77648ebe1005b181b67d1c4b42c7f31dPublished at
2026-06-01 12:45:04 UTCEvent JSON
{
"id": "56f370ccf3b5015f699b749a0af21eb612e4554a8c8abab4a69df52b6272ee4a",
"pubkey": "06b7819d7f1c7f5472118266ed7bca8785dceae09e36ea3a4af665c6d1d8327c",
"created_at": 1780317904,
"kind": 1,
"tags": [
[
"r",
"wss://espelho.girino.org/"
],
[
"r",
"wss://atlas.nostr.land/invoices"
],
[
"r",
"wss://nostr.openhoofd.nl/"
],
[
"r",
"wss://relay.getsafebox.app/"
],
[
"r",
"wss://relay.primal.net/"
],
[
"r",
"wss://relay.nostrplebs.com/"
],
[
"client",
"Primal Web"
]
],
"content": "Updated Nostr Silent Payments gist at the link below.\n\nThe gist now includes two example scripts to validate a silent payment transaction and sweep a silent payment transaction. The example scripts have been implemented using the Python standard libraries only (no additional installs such as secp256k1, bech32, etc.) so you can see how everything works from the ground up - even how the public key points are created, added, etc.\n\nAlso, the threat model has been updated. Though it can be used by your primary social media npub, that is not recommended. \n\nThere are many different use cases (not related to social media) where an npub with a corresponding NIP-05 address may be required to privately receive funds.\n\n\nhttps://gist.github.com/trbouma/77648ebe1005b181b67d1c4b42c7f31d",
"sig": "d023c34ab127e4d6dc5eb69d77fafdd83fc7afec99be03b5cc73af0ae2db39a1cf6c6743152270030f4851077cce742c5424834dce44cd64c1107f7cc049f85b"
}