Efficient multi-input transaction grinding for OP_CAT Bitcoin covenants
This post was first published on Medium. In a previous post, we have implemented Bitcoin covenants using OP_CAT, based on this Schnorr trick. We can greatly simplify signature calculation (s) by choosing specific signing key and ephemeral key. s = 1 + e Bitcoin Script, more specifically OP_ADD, only works on 32-bit signed integer and thus cannot directly add…