Skip to content

Commit

Permalink
Add Cardano.Api.Experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Jul 31, 2024
1 parent 2a5373b commit e586d1a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions cardano-api/cardano-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ library
Cardano.Api.ChainSync.Client
Cardano.Api.ChainSync.ClientPipelined
Cardano.Api.Crypto.Ed25519Bip32
Cardano.Api.Experimental
Cardano.Api.Ledger
Cardano.Api.Network
Cardano.Api.Shelley
Expand Down
40 changes: 40 additions & 0 deletions cardano-api/src/Cardano/Api/Experimental.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
-- | This module provides an experimental library interface that is intended
-- to replace the existing api. It is subject to dramatic changes so use with caution.
module Cardano.Api.Experimental
(
-- * Tx related
UnsignedTx (..)
, UnsignedTxError (..)
, makeUnsignedTx
, makeKeyWitness
, signTx
, convertTxBodyToUnsignedTx
, EraCommonConstraints
, EraShimConstraints
, obtainShimConstraints
, obtainCommonConstraints
, hashTxBody
, evaluateTransactionExecutionUnitsShelley

-- Era related
, BabbageEra
, ConwayEra
, Era (..)
, ToConstrainedLedgerEra
, UseEra
, ApiErasToLedgerEras
, AvailableErasToSbe
, ApiEraToExperimentalEra
, DeprecatedEra (..)
, useEra
, protocolVersionToSbe
, babbageEraOnwardsToEra
, sbeToEra
)
where


import Cardano.Api.Fees (evaluateTransactionExecutionUnitsShelley)
import Cardano.Api.Experimental.Eras
import Cardano.Api.Experimental.Tx

0 comments on commit e586d1a

Please sign in to comment.