Skip to content
Permalink
Browse files

wallet-api: Add StateMachine module

  • Loading branch information...
j-mueller committed Apr 15, 2019
1 parent ad0801f commit 80ec6dfed352d029e54943b57952453920c75c85
@@ -30,7 +30,6 @@ library
Language.PlutusTx.Coordination.Contracts.PubKey
Language.PlutusTx.Coordination.Contracts.Vesting
Language.PlutusTx.Coordination.Contracts.Swap
Language.PlutusTx.StateMachine
hs-source-dirs: src
default-language: Haskell2010
default-extensions: ExplicitForAll ScopedTypeVariables
@@ -49,7 +49,7 @@ w2 = EM.Wallet 2
w3 :: EM.Wallet
w3 = EM.Wallet 3

processAndNotify :: W.WalletAPI m => EM.Trace m ()
processAndNotify :: EM.Trace m ()
processAndNotify = void (EM.addBlocksAndNotify [w1, w2, w3] 1)

-- Wallet 1 locks some funds using the secret "hello". Then wallet 1
@@ -52,6 +52,7 @@ library
Wallet.Emulator.Types
Wallet.Generators
Wallet.Graph
Language.PlutusTx.StateMachine
Ledger
Ledger.Ada
Ledger.Ada.TH

0 comments on commit 80ec6df

Please sign in to comment.
You can’t perform that action at this time.