Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 6113

Plutus Playground provides an environment for writing and testing smart contracts before they are released on the Cardano blockchain.

2 votes
Accepted

Week 2 - Homework - valid validator call true/true after invalid call true/false from same w...

Your scenario fails because the way off-chain code was implemented: Once on-chain grab validation fails, the off-chain caller grab fails and the execution finishes. Why? - Because off-chain code is no …
kindofdev's user avatar
  • 1,304
1 vote
Accepted

Claiming two tokens by the locking account - owning tokens address

After reproducing the scenario in my local playground, I've checked that the error comes from the fact that the last action is Wait For 1 slot. If you set Wait For 2 instead, you will able to grab the …
kindofdev's user avatar
  • 1,304
2 votes
Accepted

Interpreter Error (error CallStack (from HasCallStack))

After debugging your code I've found that the issue comes from lock contract which it's not minting nor transferring funds to the script. So when you try to purchase there's no utxo sitting at the scr …
kindofdev's user avatar
  • 1,304
2 votes
Accepted

How do I test the on-chain validator in Vesting.hs?

The error that you are getting is due to you are using an invalid redeemer: Redeemer $ Builtins.mkI 17. The validation script needs () as redeemer. You should use unitRedeemer. In this case the error …
kindofdev's user avatar
  • 1,304
1 vote
Accepted

what is "WalletError (ValidationError (ScriptFailure (EvaluationError [\"PT5\"] \"CekEvaluat...

I've reproduced exactly the same scenario in the tests (homework 1) over the playground with your code and it works as expected: first attempt mints and second one fails because deadline. Most probabl …
kindofdev's user avatar
  • 1,304