The comments have pointed out that the Starter project actually doesn’t receive inputs correctly… oops! Follow Nikola Paunović solution in the comments below to get the inputs working properly for you!
In the second video of the series we’re taking look at the Starter project on the Plutus Playground which is a starter script to create a smart contract.
We will be taking a deep dive into multiple concepts needed to create a plutus smart contract:
1) Validator Scripts with Datum and Redeemers to send transactions across the network
2) Getting user inputs with Schema with Endpoints
3) Transpiling code into Plutus Core to be used on the blockchain.
And as always we’ll be doing light introduction on some of the Haskell syntax that shows up in the project.
At the end of the video, you should be a more confident blockchain developer being able to understand how other Plutus scripts work
🚀 Code from the video:
Plutus Playground: https://playground.plutus.iohkdev.io/
Writing Validator Scripts and Data types: https://docs.cardano.org/projects/plutus/en/latest/tutorials/basic-validators.htmlcontract/src/Language/Plutus/Contract/Types.hs
Plutus TX and Haskell Template: https://docs.cardano.org/projects/plutus/en/latest/tutorials/plutus-tx.html
00:00 – Intro
00:55 – Starter project introduction
05:12 – Validator Scripts
07:18 – Datum/Redeemer Types
09:32 – Finding Data in the source code
11:06 – Plutus Core vs Plutux Tx
12:41 – Template Haskell: Creating Plutus Core code for the blockchain
15:20 – Getting/Retrieving user inputs from Endpoints
18:05 – Walking through the starter project
26:40 – Implementing our validator script
29:18 – Conclusion
Donate Ada: addr1qxws6z9qxkycclpxxpnkq202wxrlc7ke29zmpydj40a2z8aq4jx95m2pnvdrwrsrl5m30j0vce0w7k5zt0aeqzcsurwqulm5hc