We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Cosign
CosignThe owner signs, then a named cosigner. A service can approve each transfer without ever holding the funds.
What it is
A cosign lock is P2PKH for the owner, followed by a second check against one fixed public key. The owner cannot move the output alone, and the cosigner cannot move it at all without the owner. Token issuers use it so their service can apply rules to each transfer.
Script pattern
-
OP_DUP OP_HASH160 <owner pubkey hash> OP_EQUALVERIFYChecks the owner's key, as P2PKH does. -
OP_CHECKSIGVERIFYChecks the owner's signature, and stops if it fails. -
<cosigner pubkey>33 bytes: the cosigner's key. -
OP_CHECKSIGChecks the cosigner's signature.
How it is spent
The cosigner's signature, then the owner's signature and public key: <cosigner sig> <owner sig> <owner pubkey>.
Background
Cosign ships in @1sat/templates. The MNEE stablecoin uses it, so each MNEE transfer carries the issuer's approval.
On chain
None in our index yet.
Transactions with an output of exactly this script shape, by template hash 752b2ba09caa… Transaction pages need sign-in.
Specification
- @1sat/templates
- /api/v1/types/cosign
- /api/v1/txs?type=cosign every stored tx of this type, newest first, with an API key or signed in.