Zenroom Smart Contracts & Policies
Last updated
Last updated
contracts are part of Planetmint's transactions specification. They can be utilized to attest the computation of certain logic to the network. To do so, a contract can be defined with given inputs and the expected outputs of the computation. This will then be submitted to the network, where a node can validate the logic execution and output.
Previously was integrated into to allow for human-readable conditions and fulfilments. These contracts were stateless, which implies that the conditions and fulfilments need to be transacted in the same transaction. However, aims to make stateful smart contracts possible, enabling asynchronous and party-independent contract processing.
As for network-wide or asset-based policies, specifies how these can be implemented and how these can be used to verify a transaction state before it is committed to the network.