You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script editor is the primary tool that Hashmal uses. Unlike other tools, it can't
be closed. This document assumes that one is using the default format, "Human," for the script
editor. The other format, "Hex," is more intuitive due to its limited nature.
Data Entry
To enter hex data into the editor, prefix the data with 0x. If 0x is not present, Hashmal
may interpret the data as hex anyway, but this behavior shouldn't be relied on.
To enter ASCII data into the editor, surround the data with quotation marks. For example, this
human-readable script:
OP_RETURN "a b c"
is equivalent to the following hex-encoded script:
6a056120622063
Opcode Entry
When entering opcodes, an opcode can be entered with or without its OP_ prefix.
NOTE: The opcodes OP_1, OP_2, ...OP_16 must have the OP_ prefix to be interpreted as opcodes.
Otherwise, they will be interpreted as hex digits.