So apparently you can create multisig bitcoin tx using Nostr npubs...
It works surprisingly cleanly because Nostr npubs are already x-only secp256k1 keys, exactly the format Taproot uses.
How it would work:
1. Take the two npubs' raw hex pubkeys (x-only, 32 bytes).
2. Build a Taproot script-path output with both keys: <key1> OP_CHECKSIG <key2> OP_CHECKSIGADD 2 OP_NUMEQUAL - a standard 2-of-2 under BIP-342.
3. To spend, each nsec produces a BIP-340 Schnorr signature over the Bitcoin sighash. Same signature scheme Nostr uses, different message.
It works surprisingly cleanly because Nostr npubs are already x-only secp256k1 keys, exactly the format Taproot uses.
How it would work:
1. Take the two npubs' raw hex pubkeys (x-only, 32 bytes).
2. Build a Taproot script-path output with both keys: <key1> OP_CHECKSIG <key2> OP_CHECKSIGADD 2 OP_NUMEQUAL - a standard 2-of-2 under BIP-342.
3. To spend, each nsec produces a BIP-340 Schnorr signature over the Bitcoin sighash. Same signature scheme Nostr uses, different message.
5โค๏ธ2๐ค2