cardano-cli-1.22.0
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.Byron.Tx

Synopsis

Documentation

newtype TxFile Source #

Constructors

TxFile FilePath 

Instances

Instances details
Eq TxFile Source # 
Instance details

Defined in Cardano.CLI.Byron.Tx

Methods

(==) :: TxFile -> TxFile -> Bool #

(/=) :: TxFile -> TxFile -> Bool #

Ord TxFile Source # 
Instance details

Defined in Cardano.CLI.Byron.Tx

Show TxFile Source # 
Instance details

Defined in Cardano.CLI.Byron.Tx

IsString TxFile Source # 
Instance details

Defined in Cardano.CLI.Byron.Tx

Methods

fromString :: String -> TxFile #

newtype NewTxFile Source #

Constructors

NewTxFile FilePath 

Instances

Instances details
Eq NewTxFile Source # 
Instance details

Defined in Cardano.CLI.Byron.Tx

Ord NewTxFile Source # 
Instance details

Defined in Cardano.CLI.Byron.Tx

Show NewTxFile Source # 
Instance details

Defined in Cardano.CLI.Byron.Tx

IsString NewTxFile Source # 
Instance details

Defined in Cardano.CLI.Byron.Tx

prettyAddress :: Address -> Text Source #

Pretty-print an address in its Base58 form, and also its full structure.

normalByronTxToGenTx :: ATxAux ByteString -> GenTx ByronBlock Source #

The GenTx is all the kinds of transactions that can be submitted and "normal" Byron transactions are just one of the kinds.

txSpendGenesisUTxOByronPBFT :: Config -> NetworkId -> SigningKey -> Address -> NonEmpty TxOut -> ATxAux ByteString Source #

Generate a transaction spending genesis UTxO at a given address, to given outputs, signed by the given key.

txSpendUTxOByronPBFT :: NetworkId -> SigningKey -> NonEmpty TxIn -> NonEmpty TxOut -> ATxAux ByteString Source #

Generate a transaction from given Tx inputs to outputs, signed by the given key.

nodeSubmitTx :: NetworkId -> GenTx ByronBlock -> ExceptT ByronTxError IO () Source #

Submit a transaction to a node specified by topology info.