Cardano Developer Knowledge Base
Concepts
Core Cardano ideas explained, with Ethereum comparisons and common misconceptions.
Browse 8Recipes
Step-by-step builds with code, prerequisites and AI-ready prompts.
Browse 3Pitfalls
Errors builders hit, what causes them and how to fix them.
Browse 3Comparisons
Side-by-side looks at tools and approaches, with a clear recommendation.
Browse 6Mini-DApps
Small working dApps that combine recipes, with code and example transactions.
Browse 1Tracks
Guided learning paths that put concepts, recipes and pitfalls in order.
BrowseBrowse everything
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…
ConceptIntroduction 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.
ConceptIntroduction 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.
ConceptThe 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…
ConceptUnderstanding 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…
ConceptUnderstanding 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.
ConceptUnderstanding 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.
ConceptUnderstanding 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.
ConceptUnderstanding 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.
ConceptValidators 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.…
RecipeBuild 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…
RecipeBuild 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…
RecipeDeploy 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…
RecipeMint 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…
RecipeProve 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…
RecipeQuery 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…
RecipeToken-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…
RecipeWrite 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…
PitfallMin-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…
PitfallScript 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…
PitfallValidator 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…
ComparisonAiken 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…
ComparisonLight 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.
ComparisonMesh 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…
Mini-DAppCIP-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…
Mini-DAppGrocery List DApp
Create, manage, and share grocery lists using Cardano's smart contracts. Learn basic operations like adding, editing, and deleting items.
Mini-DAppSimple Charity DApp
A decentralized application for transparent charitable donations, enabling real-time tracking and enhancing trust through blockchain technology.
Mini-DAppSimple Quiz dApp: A Beginner’s Guide
Learn how to build a basic quiz dApp on Cardano using smart contracts to handle submissions and scoring.
Mini-DAppSimple 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.
Mini-DAppToken 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…
TrackFrom 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…
Nothing matches those filters yet.