☝️Protocol Rules
The Rules to adhere to
only inscriptions can mutate state
each inscription specifies the contract, function and arguments
each contract has access to event logger API, metadata and ecosystem API
each contract function is either executed fully or not at all, it must not be executed halfway and mutate persistent state
contracts must not access the underlying hardware or damage the hardware or software, if they do they are invalid and will be rejected / removed.
contracts must have a reasonable execution time, otherwise they are invalid and will be rejected / removed
contracts must be pure. Running the inscription with the same beginning state must always result in the same end state
contracts don't have access to any other APIs, then the ones provided by the protocol
contracts are written in TypeScript or JavaScript
contracts are immutable
Last updated