What is Verification mode in Silverscript?

Verification mode is the default execution mode for Silverscript covenant declarations — it automatically reads the current transaction state so the developer only has to write the validation rules. Using built-in introspection opcodes, Silverscript pulls the current state from the transaction context without the developer needing to pass it in manually; the script then checks whether the covenant's conditions are satisfied. Because state-reading is handled automatically, Verification mode requires less code and covers most scripting use cases on Kaspa, making it the recommended starting point for writing covenant scripts.

Learn more ›