plutus-ledger-0.1.0.0: Wallet API
Safe HaskellNone
LanguageHaskell2010

Ledger.Scripts

Description

This module re-exports the module Scripts, but with additional functionality.

This module contains orphan instances of HasTextEnvelope, since the Cardano Node CLI expects serialised binary values to be wrapped with a TextEnvelope.

Synopsis

Documentation

toCardanoApiScript :: Script -> Script PlutusScriptV1 Source #

Convert a Script to a 'cardano-api' script

toCardanoAPIData :: BuiltinData -> ScriptData Source #

Convert a BuiltinsData value to a 'cardano-api' script data value.