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

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published.

eos
EOS (EOS) 1,17 6,33%
aave
Aave (AAVE) 97,49 6,40%
the-graph
The Graph (GRT) 0,140532 7,84%
kusama
Kusama (KSM) 60,79 8,06%
waves
Waves (WAVES) 5,83 6,02%
dash
Dash (DASH) 53,80 0,26%
bitcoin
Bitcoin (BTC) 22.882,83 3,41%
ethereum
Ethereum (ETH) 1.682,14 4,89%
cardano
Cardano (ADA) 0,512794 4,00%
tether
Tether (USDT) 0,985201 0,10%
xrp
XRP (XRP) 0,365792 2,74%
solana
Solana (SOL) 40,62 3,70%
polkadot
Polkadot (DOT) 8,85 3,00%
usd-coin
USD Coin (USDC) 0,985201 0,04%
dogecoin
Dogecoin (DOGE) 0,069457 0,23%
uniswap
Uniswap (UNI) 8,29 8,34%
litecoin
Litecoin (LTC) 59,07 5,64%
chainlink
Chainlink (LINK) 8,40 1,30%
bitcoin-cash
Bitcoin Cash (BCH) 134,33 6,85%
algorand
Algorand (ALGO) 0,348055 4,38%
matic-network
Polygon (MATIC) 0,890313 4,14%
stellar
Stellar (XLM) 0,119239 7,88%
cosmos
Cosmos Hub (ATOM) 11,34 2,26%
filecoin
Filecoin (FIL) 8,19 9,28%
tron
TRON (TRX) 0,068191 2,10%
ethereum-classic
Ethereum Classic (ETC) 36,07 5,35%
dai
Dai (DAI) 0,985201 0,12%
tezos
Tezos (XTZ) 1,80 4,95%
monero
Monero (XMR) 158,03 4,34%