signing
Installation
SKILL.md
Signing Skill
Provides cryptographic message signing for the Stacks and Bitcoin ecosystems. Four signing standards are supported:
- SIP-018 — Structured Clarity data signing. Signatures are verifiable both off-chain and by on-chain smart contracts via
secp256k1-recover?. - Stacks messages — SIWS-compatible plain-text signing. Used for wallet authentication and proving address ownership.
- Bitcoin messages — BIP-137/BIP-322 hybrid. BIP-137 for legacy (1...) and wrapped SegWit (3...) addresses; BIP-322 "simple" for native SegWit (bc1q) and Taproot (bc1p) addresses. Compatible with Electrum, Bitcoin Core, and modern wallets.
- Schnorr (BIP-340) — Taproot-native signing over raw 32-byte digests. Used for Taproot script-path spending, multisig coordination, and OP_CHECKSIGADD witness assembly.
- Nostr events (NIP-06) — Sign Nostr event objects using the NIP-06 derived key (
m/44'/1237'/0'/0/0) by default, or from a wallet key path viakeySource.
Usage
bun run signing/signing.ts <subcommand> [options]