Damus
Vitor Pamplona · 105w
Hum.. is it possible to send funds on-chain to a new address that is controlled by a nostr private key? In other words, can I unilaterally assemble a UTXO that unlocks itself with a simple NIP98 eve...
Ronin profile picture
Every nsec is an onchain wallet, when creating a nostr account you could create an xpub for the user, the user could keep it private in a nsec bunker, other user would send an event asking the npub for an address and the bunker would give it. Or the xpub can just be public if the user wants.
5❤️1
Vitor Pamplona · 105w
No, without the xpub step. My idea was just to use the regular nostr pubkey to send sats to people that are not Bitcoin ready yet.
nym · 105w
You could use Bitcoin Script. // Main script OP_OVER OP_HASH160 <recipient_pubkey_hash> OP_EQUALVERIFY OP_DEPTH 0 OP_GREATERTHAN OP_IF <verify_nostr_event> OP_VERIFY <unlock_utxo> OP_ELSE OP_RETURN OP_ENDIF // <verify_nostr_event> <push_event_id> <push_event_pubkey> <push_event_co...