← Back to Bitcoin Improvement Proposals
BIPinformationalopcodesscript

BIP 347: OP_CAT in Tapscript

This BIP defines OP_CAT a new tapscript opcode which allows the concatenation of two values on the stack. This opcode would be activated via a soft fork by redefining the opcode OP_SUCCESS126. See our implementation PR in bitcoin-inquisition: https://github.com/bitcoin-inquisition/bitcoin/pull/39

1nack
EthanHeilman·Updated May 3, 2025·1 review·0 attestations·View source
Collections:BIPs — Merged

Specification

This BIP defines OP_CAT a new tapscript opcode which allows the concatenation of two values on the stack. This opcode would be activated via a soft fork by redefining the opcode OP_SUCCESS126.

See our implementation PR in bitcoin-inquisition: https://github.com/bitcoin-inquisition/bitcoin/pull/39

Discussion (0 threads)

Loading discussions...