How do Kaspa's script size and operation limits change after the Toccata hard fork?

After the Toccata hard fork activates, Kaspa raises its script size and operation limits from tight ceilings to one million each. Before activation, a single script element can be at most 520 bytes, the total script size is capped at 10,000 bytes, and only 201 operations per script are allowed. After activation, all three limits rise to 1,000,000. Those post-activation numbers are script-engine maximums — in practice, Kaspa's transient mass bounds on transactions will cap scripts before those ceilings are ever reached. For developers building on Kaspa, the upgrade means far more complex scripting logic becomes possible without hitting hard byte or instruction limits.

Learn more ›