Questions tagged [plutus-pioneer-program]

A program to recruit and train developers in Plutus for the Cardano ecosystem. Use this tag for questions regarding the Plutus pioneer program, its lectures or homework.

Filter by
Sorted by
Tagged with
5
votes
1answer
51 views

Understanding do notation with Monads in Plutus Pioneer Week 04

I have a question regarding a block of code from th Week04 Plutus Pioneer Program. The block is in Writer.hs foo'' :: Writer Int -> Writer Int -> Writer Int -> Writer Int foo'' x y z = do ...
2
votes
2answers
108 views

Plutus Pioneer Week 2 Smart Contracts

Do I need to run the cabal build for all the weekly modules? Will it do the following for all of the modules? Please confirm. In order, the following will be built (use -v for more details): - plutus-...
8
votes
1answer
141 views

plutus starter course

So I am trying to start a plutus project from scratch, as we are always just editing the .hs source files in the plutus pioneering program homeworks, wondering what are the bare necessary files needed ...
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.
7
votes
1answer
97 views

Plutus tutorial similar to Ethereums "CryptoZombies"

Is anyone aware of a similar tutorial as Ethereum's "CryptoZombies" being built for Plutus on Cardano? I'm currently in the Pioneer program, and although we're incredibly lucky to have Lars ...
7
votes
1answer
80 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 ...
4
votes
1answer
95 views

Why does my test of Plutus contract crash?

I tried to equip the EnglishAuction.hs contract from Plutus Pioneer Program week 01 with test routine designed according to what Lars presented in later lectures: doTest :: IO() doTest = ...
4
votes
1answer
53 views

Plutus Pioneer Week02: otherScript validator

In gift.hs, I do not understand the logic for why in the lookups for the grab contract there is Constraints.otherScript validator. The grabber is the consumer of the UTXO and thus the burden of ...
8
votes
3answers
283 views

Plutus Pioneer Program - Lecture #1- Cabal Build error

I started following the lectures on youtube and got this error when I try to build the English Auction Warning: The build command is a part of the legacy v1 style of cabal usage. Please switch to ...
4
votes
1answer
116 views

403 Forbidden when trying to run nix-shell during setup for Plutus Pioneer Program

I've seen other questions similar to this about a 404 error, but this is different. I have the IOHK Plutus cache set up as per the instructions. Getting the following error: trying https://bintray.com/...
6
votes
2answers
113 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 &...
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 = ...
8
votes
3answers
99 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 ...
6
votes
2answers
62 views

Failed to build eventful-sql-common-0.2.0

For lecture 10 of plutus pioneering program, we had to run cabal run uniswap-pab to create the contract IDs. I got this - plutus-pioneer-program-week10-0.1.0.0 (exe:uniswap-pab) (first run) Starting ...
2
votes
1answer
78 views

Nix shell fails to start for Plutus

maciej@ola:~/workdir/plutus/plutus$ nix-env --version nix-env (Nix) 2.3.12 Running the nix-shell command for the default.nix in Plutus and getting a genuine http 404 error that stops the whole nix ...
5
votes
1answer
63 views

What is the correct Plutus repo tag for Plutus Pioneer Program week01?

I'm starting out with the Plutus Pioneer Program at https://github.com/input-output-hk/plutus-pioneer-program. One of the first steps is to clone the Plutus repo https://github.com/input-output-hk/...
7
votes
2answers
106 views

Referencing onchain contract as 3rd party

In solidity and EVM, it is possible to reference external contracts by providing the address and interface to the contract: address ckAddress = 0x06012c8cf97BEaD5deAe237070F9587f8E7A266d; ...
2
votes
1answer
37 views

How does smCheck work?

In the PPP lecture 7 state machines are introduced. They are used to make the guessing game more concise. One of the situations is where the first player has won and needs to prove their guess by ...
5
votes
1answer
167 views

When actually a validator is deployed to the blockchain?

I'm re-watching the Plutus Pioneer Program and in the video #2 I don't exactly get it here: https://youtu.be/E5KRk5y9KjQ?t=1782 There's the same contract code used by Wallet1 and Wallet2. Each of them ...
4
votes
1answer
97 views

Is it possible to make multiple transactions atomic?

A concrete example would be flash loans, where you could borrow some value from a lending script, do something interesting with it, and return the borrowed amount to the script with a fee, all in one ...
5
votes
1answer
290 views

What are the ways of making NFTs unique?

In the week 5 of Plutus Pioneer Program Lars described how to make NFT by spending an UTxO while minting, therefore ensuring the uniqueness of the token. Are there any other ways of making NFTs unique?...
5
votes
3answers
167 views

What prevents a bad user to provide a wrong signature to a transaction?

What prevents a bad user to provide a wrong PubKeyHash and sign it with a different signature in the Signed.hs example from the Plutus Pioneer Program NFT lecture? Policy: Policy:mkPolicy :: ...
10
votes
7answers
2k views

As I front-end developer, how should I start learning more about blockchain and should I start with Plutus?

I'm currently a front-end dev - HTML, Javascript, CSS, PhP. I'd like to get into blockchain, but I don't know where to start. Any advice? Should I start by learning Plutus? If so, where should I start?...
11
votes
1answer
72 views

Plutus Contracts Delegation

Is there or will there be such a thing where delegators can stake to a smart contract itself, rather than a pool?

1
2