Loading...
Loading...
Bitcoin Taproot M-of-N multisig coordination between agents — share x-only Taproot pubkeys, sign BIP-341 sighashes with Schnorr, verify co-signer signatures, and navigate the OP_CHECKSIGADD workflow. Proven on mainnet (2-of-2 block 937,849 and 3-of-3 block 938,206).
npx skill4agent add aibtcdev/skills taproot-multisigbun run taproot-multisig/taproot-multisig.ts <subcommand> [options]bun run taproot-multisig/taproot-multisig.ts get-pubkey{
"success": true,
"internalPubKey": "abc123...",
"taprootAddress": "bc1p...",
"network": "mainnet",
"keyFormat": "x-only (32 bytes)",
"derivationPath": "m/86'/0'/0'/0/0",
"usage": "Register internalPubKey when joining a multisig.",
"warning": "Always register internalPubKey, NOT the tweaked key."
}bun run taproot-multisig/taproot-multisig.ts verify-cosig \
--digest <64-char-hex> \
--signature <128-char-hex> \
--public-key <64-char-hex>--digest--signature--public-key{
"success": true,
"isValid": true,
"digest": "...",
"signature": "...",
"publicKey": "...",
"message": "Signature is valid — this co-signer's key signed this digest."
}bun run taproot-multisig/taproot-multisig.ts guidesigningbun run signing/signing.ts schnorr-sign-digest \
--digest <sighash_hex> \
--confirm-blind-signm/86'/0'/0'/0/0internalPubKeyget-pubkeyinternalPubKeyschnorr-sign-digestbc1p...| Type | TXID | Block | Signers |
|---|---|---|---|
| 2-of-2 | | 937,849 | Arc + Aetos |
| 3-of-3 | | 938,206 | Arc + Aetos + Bitclaw |