mantra-0.4.0.0
Safe HaskellNone
LanguageHaskell2010

Mantra.Script

Contents

Description

Minting tokens.

Synopsis
  • mintingScript :: Hash PaymentKey -> Maybe SlotNo -> (SimpleScript SimpleScriptV2, ScriptHash)

Minting

mintingScript Source #

Arguments

:: Hash PaymentKey

The hash of the payment key.

-> Maybe SlotNo

The last slot on which minting can occur, if any.

-> (SimpleScript SimpleScriptV2, ScriptHash)

The script and its hash.

Create a minting script.