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

You might be interested in

LEAVE YOUR COMMENT

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

kusama
Kusama (KSM) 354,05 4,97%
compound-governance-token
Compound (COMP) 345,07 1,74%
dash
Dash (DASH) 173,67 2,61%
zcash
Zcash (ZEC) 118,74 4,06%
yearn-finance
yearn.finance (YFI) 29.029,40 2,68%
bitcoin
Bitcoin (BTC) 41.262,98 2,44%
ethereum
Ethereum (ETH) 2.980,77 1,78%
tether
Tether (USDT) 0,848788 0,05%
cardano
Cardano (ADA) 2,04 1,86%
xrp
XRP (XRP) 0,925179 2,72%
dogecoin
Dogecoin (DOGE) 0,207266 1,20%
polkadot
Polkadot (DOT) 30,35 6,54%
usd-coin
USD Coin (USDC) 0,848788 0,08%
uniswap
Uniswap (UNI) 21,02 0,98%
bitcoin-cash
Bitcoin Cash (BCH) 539,65 2,91%
chainlink
Chainlink (LINK) 24,73 3,15%
matic-network
Polygon (MATIC) 1,18 5,11%
solana
Solana (SOL) 137,66 17,17%
litecoin
Litecoin (LTC) 155,02 1,26%
stellar
Stellar (XLM) 0,277081 1,81%
ethereum-classic
Ethereum Classic (ETC) 48,98 1,76%
eos
EOS (EOS) 4,45 2,08%
tron
TRON (TRX) 0,091240 0,84%
filecoin
Filecoin (FIL) 72,08 3,88%
aave
Aave (AAVE) 310,68 1,89%
monero
Monero (XMR) 228,54 3,51%
dai
Dai (DAI) 0,848788 0,07%
tezos
Tezos (XTZ) 5,48 1,98%
cosmos
Cosmos (ATOM) 32,36 10,37%
algorand
Algorand (ALGO) 1,66 1,56%