Module

Ctl.Examples.IncludeDatum

This module creates a transaction that pays 2 Ada to the IncludeDatum script address and then spends the script Utxo. The script only checks that the value of the datum is equal to 42.

#contract

#only42Script

only42Script :: Contract Validator

checks if the datum equals 42

#main

Modules