Skip to content

Cardano Developer Knowledge Base

Concepts, recipes, pitfalls and more for building on Cardano, from your first wallet connection to a working dApp.

Browse everything

Type
Level

Concept

Datums and redeemers

A datum is data attached to a UTxO at a script address — it's the "state" the validator can read. A redeemer is data supplied at…

Intermediate · Conway era
Concept

Introduction to Cardano Smart Contracts

Cardano smart contracts are Plutus scripts designed to enable secure and efficient decentralized applications, differing from traditional contracts by operating on the eUTXO model.

Intermediate
Concept

Introduction to Plutus: Cardano’s Smart Contract Platform

Plutus is Cardano's smart contract development platform, allowing developers to create secure and reliable decentralized applications using Haskell-based high-level language and a robust architecture.

Intermediate
Concept

The UTxO model vs the account model

Cardano tracks value as a set of unspent transaction outputs (UTxOs), not as account balances. Every transaction consumes whole UTxOs and produces new ones. This is…

Beginner · Conway era
Concept

Understanding Cardano Tokens

Cardano's native tokens are built directly into the blockchain, allowing for seamless creation and transfer of multiple tokens without the need for smart contracts, unlike Ethereum's…

Intermediate
Concept

Understanding Cardano Transaction Fees

Cardano transaction fees are predictable and calculated using a linear formula based on transaction size and computational resources. This ensures network security and prioritization of transactions.

Intermediate
Concept

Understanding Native Assets in Cardano

Explore how Cardano enables users to create and manage custom tokens natively on the blockchain, enhancing ecosystem functionality without requiring smart contracts.

Intermediate
Concept

Understanding the Cardano Transaction Lifecycle

The Cardano transaction lifecycle involves spending existing UTxOs to create new ones, using a model that ensures atomicity and determinism without external state dependencies.

Intermediate
Concept

Understanding the eUTXO Model in Cardano

The eUTXO model in Cardano enhances the UTXO model by supporting smart contracts and multi-assets, providing deterministic transaction execution and improved scalability over account-based models.

Intermediate
Concept

Validators are predicates, not state machines

A Cardano validator is a pure function that returns true or false — "may this UTxO be spent under these conditions?" It doesn't execute state changes.…

Intermediate · Conway era
Recipe

Build a vesting contract with Aiken and Mesh

Write a time-lock vesting validator in Aiken that lets an owner lock ADA for a beneficiary. The beneficiary can only claim after a deadline; the owner…

Intermediate · Conway era
Recipe

Build and submit a transaction with Evolution SDK

Build a simple ADA transfer with Evolution SDK (formerly cardano-js-sdk). Understand where Evolution fits vs Mesh — Evolution is lower-level, more flexible, and better suited for…

Beginner · Conway era
Recipe

Deploy and use reference scripts to save transaction fees

Reference scripts (CIP-0033) let you deploy a compiled Aiken validator once to a UTxO, then reference it in future transactions instead of including the full script…

Advanced · Conway era
Recipe

Mint a CIP-25 NFT with Mesh SDK

Build a one-shot minting policy in Mesh SDK that mints a single NFT with CIP-25 metadata on Cardano's preview testnet. A one-shot policy uses a specific…

Beginner · Conway era
Recipe

Prove wallet ownership with CIP-8 message signing

Use CIP-8 to request a cryptographic signature from a wallet, then verify it server-side. Proves the user controls an address — zero passwords, zero accounts, just…

Beginner · Conway era
Recipe

Query UTxOs and on-chain data with Blockfrost

Use the Blockfrost REST API to fetch all UTxOs at a Cardano address, parse ADA and native token balances, and handle pagination. This is the foundation…

Beginner · Conway era
Recipe

Token-gate a Next.js page with Mesh and CIP-30

Add wallet-based token gating to a Next.js page in under 50 lines. If the connected wallet holds a token under a specific policy ID, show the…

Beginner · Conway era
Recipe

Write unit tests for Aiken validators

Write inline unit tests directly in Aiken using the test keyword. Test your vesting validator against valid claims, invalid signers, and early withdrawals. Run everything with…

Intermediate · Conway era
Pitfall

Min-ADA error when minting NFTs with metadata

Transaction fails to build or submit with an error like OutputTooSmallUTxO, “insufficient ada in output”, or “Min ADA value not satisfied”. Often happens when minting NFTs…

Beginner · Conway era
Pitfall

Script transaction fails with “missing collateral”

Transaction submission fails with NoCollateralInputs, InsufficientCollateral, or “Collateral required for script execution.” Happens specifically on transactions that spend from a script address or run a minting…

Intermediate · Conway era
Pitfall

Validator with time check fails because validity interval isn’t set

A validator that uses valid_after, valid_until, or any time-related check rejects an otherwise-valid spend. Off-chain test harness shows the deadline has passed, but the validator returns…

Intermediate · Conway era
Comparison

Aiken vs Plutus vs Plutarch: which validator language?

For 95% of new projects: Aiken. It has a gentle learning curve, fast tooling, excellent error messages, and active community development. Use Plutarch only if you…

Intermediate · Conway era
Comparison

Light Wallets vs Full-Node Wallets on Cardano

Choose Cardano Wallet for full-node security, Daedalus for a comprehensive desktop experience, and Yoroi for lightweight convenience.

Intermediate
Comparison

Mesh SDK vs Evolution SDK: Which off-chain library?

Mesh for DApp builders, Evolution for wallet/exchange/infrastructure builders. Mesh prioritises developer experience with high-level helpers and React components; Evolution prioritises composability and control. They're not competitors…

Beginner · Conway era
Mini-DApp

CIP-25 NFT minter mini-DApp

A complete one-page Next.js DApp that lets a user connect a Cardano wallet, upload an image to IPFS, fill in NFT metadata, and mint a CIP-25…

Beginner · Conway era
Mini-DApp

Grocery List DApp

Create, manage, and share grocery lists using Cardano's smart contracts. Learn basic operations like adding, editing, and deleting items.

Intermediate
Mini-DApp

Simple Charity DApp

A decentralized application for transparent charitable donations, enabling real-time tracking and enhancing trust through blockchain technology.

Intermediate
Mini-DApp

Simple Quiz dApp: A Beginner’s Guide

Learn how to build a basic quiz dApp on Cardano using smart contracts to handle submissions and scoring.

Beginner
Mini-DApp

Simple Voting DApp

Learn how to create a basic voting dApp on Cardano where users can create polls, vote, and view results in real time using smart contracts.

Beginner
Mini-DApp

Token vesting vault mini-DApp

A time-locked vesting contract with a clean web UI. Owner deposits ADA for a beneficiary; beneficiary can claim after the deadline; owner can reclaim anytime. Demonstrates…

Intermediate · Conway era
Track

From Solidity to Sundae — Cardano for EVM developers

A guided path for Solidity / Ethereum developers to become productive Cardano developers in roughly a working day. Starts with mental-model adjustments (UTxOs vs accounts, validators…

Intermediate · Conway era

About Learn Crypto

Hi, I'm Peter, I've been podcasting since 2013

After years of trading and learning about crypto, I decided that Cardano was my chain of choice and put all my efforts into understanding everything about Cardano and the broader crypto and blockchain space. Learn Crypto is where I share all that I learn with you.

Follow & contact Peter (opens Chatsoon in a new tab)

Peter Bui
ADAOZ Stake Pool

Support Our Content

Delegate to Our Stake Pool ADAOZ

Delegate to our stake pool and help us continue to create content for the Cardano ecosystem.

Pool ID: 6658713e2cbfa4e347691a0435953f5acbe9f03d330e94caa3a0cfb4

Stake Your ADA

Keep Up To Date!

Sign up for our newsletter. Latest crypto news, airdrops, courses and everything you need to know about Cardano, Midnight and the wider crypto space.