Skip to content

Instantly share code, notes, and snippets.

@arlenner
Created April 30, 2021 02:45
Show Gist options
  • Save arlenner/303783f0a9c4d8d042ab93ea80d134a9 to your computer and use it in GitHub Desktop.
Save arlenner/303783f0a9c4d8d042ab93ea80d134a9 to your computer and use it in GitHub Desktop.
CardanoNFTConcept
{-# LANGUAGE OverloadedStrings #-}
module Example where
import Language.Marlowe.Extended
main :: IO ()
main = print . pretty $ contract
{- Define a contract, Close is the simplest contract which just ends the contract straight away
-}
contract :: Contract
contract = Close
{"valueParameterDescriptions":[],"slotParameterDescriptions":[],"roleDescriptions":[],"contractType":"O","contractName":"","contractDescription":"","choiceDescriptions":[]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment