Skip to content

Commit

Permalink
Merge pull request #1597 from euonymos/patch-1
Browse files Browse the repository at this point in the history
docs: note on reference script example
  • Loading branch information
klntsky authored Mar 25, 2024
2 parents 5c82044 + 93584fb commit 8c105f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/PlutusV2/ReferenceScripts.purs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ example :: ContractParams -> Effect Unit
example cfg = launchAff_ do
runContract cfg contract

-- NOTE: If you are looking for an example of the most common case of
-- using reference scripts by referencing an output and not spending it,
-- you likely need to look at the example in `ReferenceInputsAndScripts.purs`.
contract :: Contract Unit
contract = do
logInfo' "Running Examples.PlutusV2.ReferenceScripts"
Expand Down

0 comments on commit 8c105f8

Please sign in to comment.