Questions tagged [plutus-playground]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9
votes
2answers
85 views

Test-Focused EvaluatorTrace Monad?

Is there infrastructure for writing unit/integration tests for our contracts, without running the full playground? Is there a test-focused EvaluatorTrace monad, for example?
8
votes
3answers
87 views

Deriving Show Compilation Error on Plutus Playground

I seem to be getting a compilation error when I try to compile any of the example files on my local host configuration for the Plutus Playground. The error is pictured here: And basically it seems ...
8
votes
2answers
254 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 ...
7
votes
1answer
78 views

Confused by compilation message in plutus playground (week 5 pioneer program)

This is part of my attempt at solving the first homework assignment of week 5 in the plutus pioneer program. The rest of the unmodified file can be found here. {-# INLINABLE mkPolicy #-} -- This ...
7
votes
1answer
91 views

Plutus Pioneer Cohort 2 Lecture 3

I was going through the lecture on Youtube and this is the one with Vesting example where: wallet 1 gifts 20 ADA to wallet 2 in 2 different slots wallet 1 gifts 10 ADA to wallet 3 in a slot later on, ...
6
votes
1answer
393 views

What does @ prefix means?

like this: auctionInstance = Scripts.validator @Auctioning and Hello-world app from https://playground.plutus.iohkdev.io/tutorial/tutorials/plutus-playground.html#running-the-hello-world-app hello = ...
6
votes
2answers
232 views

I'm having issues with nix-shell

I keep getting this error, any thoughts? I have re-downloaded nix 3 times now and it's the same error as before. Not sure if it's the profiles or channels but this is what it gives me: '''trying https:...
6
votes
2answers
108 views

npm build of plutus client fails with "permission denied"

I am trying to run the Plutus playground using the Gitbook recipe (https://docs.plutus-community.com/docs/setup/WindowsWSL.html). At step 15, the server starts fine, but trying to run the client with &...
5
votes
1answer
56 views

Logistics of Developing Contracts

We've done a lot of development on the Plutus Playground; in what ways will the logistics of developing and deploying contracts differ in Gougen?
5
votes
1answer
43 views

Choosing Ubuntu over WSL for Plutus development

I use a low end laptop as my daily driver running a WSL Ubuntu-20.04 as my platform of choice. When trying to run the plutus-playground it often crashes. Should I try using Ubuntu or any other Linux ...
5
votes
1answer
82 views

Writing basic validator scripts

I need someone to explain to me line by line. The code is from plutu tutorials. https://docs.cardano.org/projects/plutus/en/latest/plutus/tutorials/basic-validators.html All the code in that page I ...
5
votes
0answers
37 views

Can you run the Plutus playground and serve the Haddock documentation from the VSCode devcontainer?

I am still looking to settle on a dev environment for Plutus contracts. I am thinking about using VSCode with the devcontainer, but would like to know how well it all integrates. Is it easy to have ...
4
votes
1answer
44 views

Is there any keyword to get the epoch details or stake-pool details in Plutus Smart Contract?

I am trying to write a smart contract where I can get the awards for delegators of a particular stake pool. I need to know if that is right now possible to do using Plutus, if yes, pls suggest me.
3
votes
0answers
27 views

When can we expect live deployment of the Plutus Playground

I am working with a low end device, and the live deployment of the playground is what I'm counting on. When can I expect it and is there any community deployed server that is active now?
3
votes
1answer
73 views

plutus-playground-server: user error (Error evaluating simulation: JsonDecodingError

I'm following the first lecture in the plutus pioneer program but I cannot set up the local environment. The error happens when running npm start on a nix-shell after initializing the playground ...
3
votes
1answer
68 views

Setting up Plutus environment for Apple Silicon computer

I'm trying to setup dependencies to write and test plutus contracts, but I'm worried that the dependencies may not be compatible with the M1 chip. I have been following these instructions https://www....
3
votes
0answers
94 views

Using Plutus PAB for development instead of Playground

trying to migrate away from the playground and seems like PAB is the way to go. The plutus starter repository orignally seems to be the best place to start but it seems to be outdated (i.e. still ...
2
votes
1answer
42 views

What is the benefit of installing plutus playground locally?

In these instructions for working through the plutus pioneer program, it suggests installing the playground locally: https://tutorials.cardanoacademy.io/plutus-pioneer-program/setting-up-plutus-...
2
votes
1answer
62 views

Plutus pioneer program - Lecture #1 - Can't understand behaviour of transactions

Why is the second bid of wallet 2 getting ignored when I test it like this? If the first transaction of wallet 2 was also valid, then the second suceeds. I'm just curious if this is somehow expected ...
2
votes
1answer
45 views

Failing to set up plutus on windows

So I'm using WSL Windows 10 and I set up IOHK hashes, but everytime I run nix-shell I get following error: build of '/nix/store/9im4jp068ykqsm4s8996px605p6zrw7q-Agda-plan-to-nix-pkgs.drv' failed. ...
1
vote
0answers
18 views

Error Starting plutus-playground-client

I'm having error running the plutus-playground-client. Not sure where to look, here is the complete error log. Any suggestions on how to fix? 0 info it worked if it ends with ok 1 verbose cli [ 1 ...
0
votes
1answer
13 views

plutus-playground-server sense of time is incorrect

I think my plutus-playground-server has an incorrect notion of time. I'm working on the homework for lecture 3 and keep running into issues with the simulator. Here's a screenshot of what I'm ...
0
votes
0answers
14 views

Plutus Pioneer Program Week02: grab endpoint not working and trace log being cut off

Here you can see the 'grab' endpoint being correctly set. And here you can see the Tx2 slot for the grab endpoint is missing. Also, some lines of the trace are being cut off, I'm not sure if this is ...