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 14 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

eos
EOS (EOS) 2,40 2,77%
aave
Aave (AAVE) 187,40 7,43%
the-graph
The Graph (GRT) 0,448743 4,79%
kusama
Kusama (KSM) 212,22 5,09%
waves
Waves (WAVES) 11,37 3,41%
dash
Dash (DASH) 113,13 1,66%
bitcoin
Bitcoin (BTC) 36.350,03 1,61%
ethereum
Ethereum (ETH) 2.694,52 3,83%
cardano
Cardano (ADA) 1,22 8,31%
tether
Tether (USDT) 0,875082 0,64%
xrp
XRP (XRP) 0,640398 2,65%
solana
Solana (SOL) 117,72 3,04%
polkadot
Polkadot (DOT) 21,05 4,24%
usd-coin
USD Coin (USDC) 0,875082 0,28%
dogecoin
Dogecoin (DOGE) 0,141128 3,75%
uniswap
Uniswap (UNI) 13,43 12,80%
terra-luna
Terra (LUNA) 69,05 3,30%
litecoin
Litecoin (LTC) 118,10 6,28%
chainlink
Chainlink (LINK) 18,88 7,84%
bitcoin-cash
Bitcoin Cash (BCH) 323,23 3,09%
algorand
Algorand (ALGO) 1,09 6,49%
matic-network
Polygon (MATIC) 1,79 6,52%
stellar
Stellar (XLM) 0,217073 3,25%
cosmos
Cosmos (ATOM) 31,54 5,59%
filecoin
Filecoin (FIL) 24,13 2,87%
tron
TRON (TRX) 0,058816 2,36%
ethereum-classic
Ethereum Classic (ETC) 27,82 0,16%
dai
Dai (DAI) 0,875082 0,09%
tezos
Tezos (XTZ) 3,37 4,34%
monero
Monero (XMR) 179,72 0,09%