so protocol

P2SH inscriptions

Why Doginals hid their envelopes in pay-to-script-hash rather than Taproot.

Updated 2026-09-114 min readp2sh · protocol

Wax-sealed envelope with a Shiba cameo

Pay-to-script-hash (P2SH) lets a sender pay a hash of a script; the recipient later reveals the script and satisfies it. Apezord required that redeem scripts start with inscription push-data, then allowed the rest of the script to do whatever scripts do. It is a lockbox with a label glued on the inside of the lid.

Adaptation, not cosplay

Bitcoin Ordinals leaned on Taproot and witness space after the 2021 Taproot activation. Dogecoin did not follow that upgrade path. Using P2SH was the available elegance: the envelope is revealed at spend time, miners see a valid script, indexers see ord. There are no restrictions, in the founding note, on what else the redeem script may do after the pushes.

Sources

Primary texts for this chapter. The full index lives on Doginals sources.