You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
, -- Directory where the encoded transaction files will be saved
81
+
pcTxFileDir ="./txs"
76
82
, -- Dry run mode will build the tx, but skip the submit step
77
83
pcDryRun =False
84
+
, pcLogLevel =Debug
78
85
, -- Protocol params file location relative to the cardano-cli working directory (needed for the cli)
79
-
pcProtocolParamsFile ="./protocol.json"
86
+
, pcProtocolParamsFile ="./protocol.json"
80
87
}
81
88
BotPlutusInterface.runPAB @MyContracts pabConf
82
89
```
@@ -107,7 +114,7 @@ The fake PAB consists of the following modules:
107
114
-**BotPlutusInterface.Contract** handling contract effects by creating the necessary files and calling cardano-cli commands (a few effects are mocked)
108
115
-**BotPlutusInterface.PreBalance** doing some preparations so the cli can process the rest (non-ada asset balancing, addig tx inputs, adding minimum lovelaces, add signatories)
109
116
-**BotPlutusInterface.CardanoCLI** wrappers for cardano-cli commands
110
-
- For development purposes, I created an ssh wrapper, so I can call relay these commands through an ssh connection. This is not nice, unsafe, and pretty slow, so I'm hoping to get rid of this pretty soon.
117
+
- For development purposes, I created an ssh wrapper, so I can call relay these commands through an ssh connection. This is not nice, unsafe, and pretty slow, avoid using it if you can.
111
118
-**BotPlutusInterface.UtxoParser** parse the output of the `cardano-cli query utxo` command
112
119
-**BotPlutusInterface.Files** functions for handling script, datum and redeemer files
113
120
-**BotPlutusInterface.Types** configuration for the fake pab
This directory contains a simple "Hello World" script. There are two versions: one using an integer literal (needed because the Plutus interpreter doesn't currently accept byte string literals) and a slighly more complicated one using a bytestring parameter.
4
-
5
-
``plutus-helloworld'' -- very simple numeric version
6
-
7
-
``plutus-helloworld-bytestring'' -- more compex version using bytestring constant
3
+
Simple guessing game contract to demonstrate locking and redeeming funds with datums and redeemers
This directory contains a simple "Hello World" script. There are two versions: one using an integer literal (needed because the Plutus interpreter doesn't currently accept byte string literals) and a slighly more complicated one using a bytestring parameter.
4
-
5
-
``plutus-helloworld'' -- very simple numeric version
6
-
7
-
``plutus-helloworld-bytestring'' -- more compex version using bytestring constant
0 commit comments