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
94
+
pcTxFileDir ="./txs"
76
95
, -- Dry run mode will build the tx, but skip the submit step
77
96
pcDryRun =False
97
+
, pcLogLevel =Debug
78
98
, -- Protocol params file location relative to the cardano-cli working directory (needed for the cli)
79
-
pcProtocolParamsFile ="./protocol.json"
99
+
, pcProtocolParamsFile ="./protocol.json"
80
100
}
81
101
BotPlutusInterface.runPAB @MyContracts pabConf
82
102
```
@@ -107,7 +127,7 @@ The fake PAB consists of the following modules:
107
127
-**BotPlutusInterface.Contract** handling contract effects by creating the necessary files and calling cardano-cli commands (a few effects are mocked)
108
128
-**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
129
-**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.
130
+
- 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
131
-**BotPlutusInterface.UtxoParser** parse the output of the `cardano-cli query utxo` command
112
132
-**BotPlutusInterface.Files** functions for handling script, datum and redeemer files
113
133
-**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