Skip to main content

Comparison

Compared To CashScript

This list are the todos of how a BitScript would differ.

Language / Compiler

  • remove native introspection
  • remove CashTokens introspection
  • remove support for bigint (only 32-bit math)
  • remove / (division), % (modulo) and * (multiplication)
  • remove split(int) and reverse() on bytes
  • remove logical && (AND) and || (OR) operators
  • remove int-to-byte casting and the reverse
  • add compile target to the arifact (script/segwitscript/tapscript)
  • double check clean-stack rules for compile target
  • introduce difference between script & tapscript (OP_CHECKSIGADD, OP_SUCCESS)
  • apply different VM limits for script & tapscript

depending on upcoming BTC softfork activating or not:

  • remove checkDataSig
  • remove byte concatenation
  • add PreimageIntrospection()

SDK

  • remove CashTokens support
  • add segwit & taproot address support to transaction-builder
  • add segwit & taproot addressType to contracts