This is an overview of lecture 3 in the Plutus Pioneer Program: https://www.youtube.com/watch?v=Lk1eIVm_ZTQ
Lecture 3 continues to focus on the validator scripts, but we’ll be diving deeper to focus on the 3rd parameter the validator script receives, the Script Context.
The Script Context is an object that provides all the information about the transaction for the validator. Some important metadata for this lecture includes the list of HashKeys of wallets in the transaction and the current slot we are on in the block chain.
In this video we will go through many of the concepts that were talked about, the 2 examples, and then we’ll talk about the homework.
Plutus Pioneer Github Repo: https://github.com/input-output-hk/plutus-pioneer-program
Online playground if you don’t have access to one: https://playground.plutus-community.com
Homework solution repo: https://github.com/chang47/Plutus-Pioneer-Program-Solution
git clone https://github.com/input-output-hk/plutus-pioneer-program.git
00:00 – Intro
00:33 – Plutus updates that Lecture 3 made
01:53 – Learning about the Script Context
04:17 – Script Context example in Java
06:15 – Slot Range and Slots
07:45 – Interval
09:11 – Slot Range & Interval in Java
11:00 – Helper function to make intervals
13:10 – Helper function to compare intervals
14:48 – Testing haskell code on the CLI
16:53 – Example 1: Using Script Context
17:25 – Example 1: Playing with the example on the simulator
19:29 – Example 1: Going through the code
27:48 – Example 2: Using Parameterization
32:52 – Homework 1 Solution
40:48 – Homework 2 Solution
Error: Contact form not found.