Thinking about an on chain zap…

Thinking about an on chain zap…

Thinking about an on chain zap spec:

Nostr addresses are bitcoin addresses

Alice zaps Bob 100,000 sats for note N

Output 1: Bob - 100,000 sats

Output 2: OP_RETURN Zap - Version=1 - N (32 bytes) - 4 bytes empty OR note/npub

Output 3: Alice - change



https://mempool.space/testnet4/tx/1b5760289e71309275145bb9b7b17eb3322b717641a80b6a490eb7fa53b4a428