Why did Kaspa expand its script system from 4-byte to 8-byte integers?

Kaspa's scripting layer now supports 8-byte integers, doubling the previous 4-byte limit on numbers used inside scripts. In Kaspa's script engine, every calculation, comparison, or stack operation works with integers — whole numbers stored in a fixed amount of space measured in bytes. Four bytes cap the representable range at roughly 2 billion; 8 bytes raises that ceiling to over 9 quintillion, making the scripting system capable of handling far larger values without hitting an artificial wall. Understanding this matters because any developer or protocol building on Kaspa that performs arithmetic or comparisons inside scripts can now do so with a much wider numeric range than before.

Learn more ›