Cardano Plutus Project Starter Fix | Plutus Playground Smart Contracts + Haskell Explanation

It turns out the Starter project on the Plutus Playground has problems, it doesn’t take any value besides the default input!

In this video we will be looking at fixing the project by:
1) Creating a new custom data type to take inputs
2) Integrate the data type into the rest of the project

Along the way, we will be doing additional light explaination on some of the Haskell syntax that shows up in more detail.

For other similar video’s, check out our Cardano Plutls Playground Tutorial playlist:
https://www.youtube.com/playlist?list=PL53JxaGwWUqAE59_XRxhwDuN1QrBgbIav

00:00 – Intro
00:35 – Introduction to the problem
02:15 – Defining custom user input data types for endpoint
04:44 – Using the new custom data type
07:32 – Importing missing module
08:20 – Implement validator script
09:09 – Test our changes on the simulator
10:12 – Conclusion

Donate Ada: addr1qxws6z9qxkycclpxxpnkq202wxrlc7ke29zmpydj40a2z8aq4jx95m2pnvdrwrsrl5m30j0vce0w7k5zt0aeqzcsurwqulm5hc

(Visited 75 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) 0,874688 4,14%
aave
Aave (AAVE) 109,09 4,57%
the-graph
The Graph (GRT) 0,347884 12,56%
kusama
Kusama (KSM) 41,41 7,60%
waves
Waves (WAVES) 3,17 8,15%
dash
Dash (DASH) 32,00 4,28%
bitcoin
Bitcoin (BTC) 61.330,56 0,96%
ethereum
Ethereum (ETH) 3.154,16 4,16%
cardano
Cardano (ADA) 0,589725 3,40%
tether
Tether (USDT) 0,915378 0,53%
xrp
XRP (XRP) 0,576163 2,96%
solana
Solana (SOL) 175,77 2,77%
polkadot
Polkadot (DOT) 8,75 3,26%
usd-coin
USDC (USDC) 0,917702 0,28%
dogecoin
Dogecoin (DOGE) 0,127428 7,62%
uniswap
Uniswap (UNI) 10,57 5,58%
terra-luna
Terra Luna Classic (LUNC) 0,000126 5,58%
litecoin
Litecoin (LTC) 77,58 0,23%
chainlink
Chainlink (LINK) 16,30 3,83%
bitcoin-cash
Bitcoin Cash (BCH) 357,40 1,23%
algorand
Algorand (ALGO) 0,222398 9,08%
matic-network
Polygon (MATIC) 0,918445 6,30%
stellar
Stellar (XLM) 0,118203 0,74%
cosmos
Cosmos Hub (ATOM) 10,46 5,80%
filecoin
Filecoin (FIL) 7,89 3,96%
tron
TRON (TRX) 0,113270 2,21%
ethereum-classic
Ethereum Classic (ETC) 27,83 2,95%
dai
Dai (DAI) 0,916954 0,35%
tezos
Tezos (XTZ) 1,13 5,75%
monero
Monero (XMR) 127,60 0,08%