Questions tagged [simulator]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
51 views

Specify balance during wallet creation in PAB simulator

Using the PAB Simulator from the plutus-starter (version 1.0.9, commit: a85818c27926f34d627225636f463cc6698706fc), I'm getting some odd behavior in terms of wallet creation. I've created a simple ...
3
votes
1answer
49 views

Funding emulator wallets with custom currencies

How exactly can I fund the emulator wallets with custom currencies? Please show an emulator example doing so.
2
votes
0answers
53 views

What is achieved by invoking endpoint for wallet in the emulator?

As per entire code below, give always mandates that Wallet 2 be given: thePkh :: PubKeyHash thePkh = pubKeyHash $ walletPubKey $ Wallet 2 theVal :: Value theVal = ADA.toValue (ADA.Lovelace 3_000_000) ...
1
vote
0answers
86 views

Weird behavior on validation of outputs

So I have a validator that, in particular, checks how many outputs are produced. os = txInfoOutputs info mkValidator :: ... mkValidator = traceIfFalse "Wrong outputs" checkOutput where ...
6
votes
1answer
96 views

The PAB is no longer working after upgrading the Plutus version

I upgraded the Plutus version used by my project to: 2f11c28bd8f6d630daab582255e16d8408075bd7 PS: It is the same version Lars used in his latest lecture (Iteration #2 - Lecture #8) Here is the code I'...
8
votes
2answers
244 views

Plutus Pioneer Program - Problem with plutus playground client

I'm setting up my environment to run the example from lecture #1 (Week01 auction) All compilations went well but when I try the evaluate in the simulator I always receive: interpreter Errors ...
9
votes
1answer
65 views

Blockchain Simulator Chokes on Validation Error

I'm working through Plutus pioneer homework week 2 file Homework1.hs. I believe I've setup the script correctly, but I find that when running the simulator with a transaction that's expected to fail, ...