Cardano Plutus Pioneer Program: Week 2 Overview | Validation Scripts & Homework

This is an overview of lecture 2 in the Plutus Pioneer Program: https://www.youtube.com/watch?v=E5KRk5y9KjQ

The main focus of lecture 2 is about validator scripts.

Validator scripts is the code that runs on the block chain that decides whether or not a smart contract should release their funds to a wallet. In this video we will go through the 6 examples lecture 2 went through and we will also cover the homework assignments

Resources:
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

Commands used:
git clone https://github.com/input-output-hk/plutus-pioneer-program.git
git pull
nix-shell
cabal repl

00:00 – Intro
00:46 – Setting up VM to use cabal and starting a local playground
05:04 – Example 1: Basic Validator Script Implementation
05:18 – Example 1: What is the Validator Script
05:53 – Example 1: What a function is in Haskell
06:50 – Example 1: What is Data
07:43 – Example 1: Paramaters of a validator script
09:35 – Example 1: What are side effects and pure functions
11:35 – Example 1: Using Template Haskell to create a Validator Type
13:19 – Example 1: Creating a hash and script address
16:43 – Example 2 & 3: Throwing Error Messages
18:38 – Example 4: Unlock ADA with Redeemer
21:39 – Example 5: Using Different Types
24:55 – Example 6: Creating Custom Data Types
27:49 – Homework 1 Solution
31:54 – Homework 2 Solution
34:47 – Conclusion

(Visited 25 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published.

eos
EOS (EOS) 0,899225 4,13%
aave
Aave (AAVE) 57,78 8,34%
the-graph
The Graph (GRT) 0,095905 6,73%
kusama
Kusama (KSM) 47,89 4,91%
waves
Waves (WAVES) 5,17 8,33%
dash
Dash (DASH) 44,13 6,01%
bitcoin
Bitcoin (BTC) 19.234,52 2,40%
ethereum
Ethereum (ETH) 1.086,43 3,52%
cardano
Cardano (ADA) 0,448000 2,71%
tether
Tether (USDT) 0,945805 0,19%
xrp
XRP (XRP) 0,321766 4,02%
solana
Solana (SOL) 33,67 7,61%
polkadot
Polkadot (DOT) 6,94 5,14%
usd-coin
USD Coin (USDC) 0,947695 0,30%
dogecoin
Dogecoin (DOGE) 0,063142 8,32%
uniswap
Uniswap (UNI) 4,69 8,51%
litecoin
Litecoin (LTC) 49,99 5,59%
chainlink
Chainlink (LINK) 6,03 2,98%
bitcoin-cash
Bitcoin Cash (BCH) 98,35 6,91%
algorand
Algorand (ALGO) 0,297912 5,22%
matic-network
Polygon (MATIC) 0,490032 3,16%
stellar
Stellar (XLM) 0,108976 3,52%
cosmos
Cosmos Hub (ATOM) 6,98 6,31%
filecoin
Filecoin (FIL) 5,26 4,52%
tron
TRON (TRX) 0,062705 0,81%
ethereum-classic
Ethereum Classic (ETC) 14,76 6,02%
dai
Dai (DAI) 0,946750 0,14%
tezos
Tezos (XTZ) 1,46 4,20%
monero
Monero (XMR) 112,50 1,99%