jb55 on Nostr: i had to write a python script to create the json for the bitcoin-core descriptor ...
i had to write a python script to create the json for the bitcoin-core descriptor wallet, not sure if anyone else has done this yet but i can release this.
its basically:
bitcoin-cli createwallet nostr
bitcoin-cli -rpcwallet=nostr importdescriptors '[{"desc":"tr(<wif-nsec>)#0d08ujnx","active":false,"timestamp":1697958000,"internal":true}]'
then bitcoin-core will have access to all your nostr onchain txs
Published at
2026-05-20 20:00:01 GMTEvent JSON
{
"id": "dfbff28188b0ad7ae132f374f556aa9e11d5d8e2105a9261766c4167223b67d8",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1779307201,
"kind": 1,
"tags": [
[
"client",
"Damus Notedeck"
],
[
"t",
"0d08ujnx"
]
],
"content": "i had to write a python script to create the json for the bitcoin-core descriptor wallet, not sure if anyone else has done this yet but i can release this.\n\nits basically:\n\nbitcoin-cli createwallet nostr\nbitcoin-cli -rpcwallet=nostr importdescriptors '[{\"desc\":\"tr(\u003cwif-nsec\u003e)#0d08ujnx\",\"active\":false,\"timestamp\":1697958000,\"internal\":true}]'\n\nthen bitcoin-core will have access to all your nostr onchain txs",
"sig": "8b1bec3e3dd45869a7782658a8300447769d1d9f8026e0165f4f0d862f90c55516338c445cba710499094d25cf9d30e67e8b8480dd6b2e731c3f990772a0f6a9"
}