(with a mildly condescending tone)
You can enable fancy optimizations by creating a config.site
file. To do this, open your favorite text editor and type:
To remove a submodule you need to:
object Main extends App { | |
AvoidLosingGenericType.run() | |
AvoidMatchingOnGenericTypeParams.run() | |
TypeableExample.run() | |
TypeTagExample.run() | |
} | |
class Funky[A, B](val foo: A, val bar: B) { | |
override def toString: String = s"Funky($foo, $bar)" | |
} |
This document describes how to prepare hosted PAB deployment from scratch that can operate on Alonzo purple testnet.
The following required to be run on host machine to use PAB with contracts in hosted scenario on testnet (for 2020-11-05 PAB Release):
Note: we are using somewhat more involved setup with a bit custom docker compose, and wallet and chain-index being built from sources, but there is ready to go node+wallet docker solution available
This example illustrates manually passing serialized data from a Plutus validator and then deserializing it. It uses Plutus.Debug
.
Change traceIfFalse
to Plutus.Debug.debugIfFalse
with added arguments containing the data to be passed out of the script. Here we change
traceIfFalse "R" $ any (checkScriptOutput addr hsh value) allOutputs