Mesh LogoMesh

Tutorials

Step-by-step tutorials for building Cardano applications with Mesh SDK.

Learn to build on Cardano with hands-on tutorials. Each tutorial includes working code, explanations, and best practices.

Getting started

Start here if you are new to Mesh or Cardano development.

TutorialTimeLevel
Installation & Setup10 minBeginner
Next.js Integration15 minBeginner
React Hooks & Components20 minBeginner
Wallet Connection15 minBeginner

Transactions

Learn to build and submit Cardano transactions.

TutorialTimeLevel
Send ADA & Tokens20 minBeginner
Transaction Builder30 minIntermediate
Multi-Asset Transactions25 minIntermediate
Server-Side Transactions30 minIntermediate

Send ADA example

import { MeshTxBuilder } from '@meshsdk/core';

const txBuilder = new MeshTxBuilder({
  fetcher: provider,
  submitter: provider,
});

const unsignedTx = await txBuilder
  .txOut(recipientAddress, [{ unit: 'lovelace', quantity: '5000000' }])
  .changeAddress(await wallet.getChangeAddress())
  .selectUtxosFrom(await wallet.getUtxos())
  .complete();

const signedTx = await wallet.signTx(unsignedTx);
const txHash = await wallet.submitTx(signedTx);

NFT development

Create and manage NFTs on Cardano.

TutorialTimeLevel
Mint Your First NFT30 minBeginner
Multi-Signature Minting45 minIntermediate
Advanced NFT Metadata35 minIntermediate
Burning Assets25 minIntermediate

Mint NFT example

const tx = await txBuilder
  .mint('1', policyId, assetName)
  .mintingScript(mintingScript)
  .txOut(recipientAddress, [
    { unit: policyId + assetName, quantity: '1' },
    { unit: 'lovelace', quantity: '2000000' }
  ])
  .changeAddress(changeAddress)
  .selectUtxosFrom(utxos)
  .complete();

Smart contracts

Build with Plutus and Aiken smart contracts.

TutorialTimeLevel
Getting Started with Aiken40 minIntermediate
Your First Aiken Script50 minIntermediate
Smart Contract Transactions60 minAdvanced
Advanced Contract Patterns90 minAdvanced

Lock funds to script

const tx = await txBuilder
  .txOut(scriptAddress, [{ unit: 'lovelace', quantity: '10000000' }])
  .txOutDatumHashValue(datum)
  .changeAddress(changeAddress)
  .selectUtxosFrom(utxos)
  .complete();

Unlock funds from script

const tx = await txBuilder
  .spendingPlutusScript(languageVersion)
  .txIn(scriptUtxo.input.txHash, scriptUtxo.input.outputIndex)
  .txInScript(scriptCbor)
  .txInDatumValue(datum)
  .txInRedeemerValue(redeemer)
  .txOut(recipient, outputValue)
  .txInCollateral(collateralTxHash, collateralIndex)
  .changeAddress(changeAddress)
  .selectUtxosFrom(utxos)
  .complete();

Advanced topics

For experienced developers building production applications.

TutorialTimeLevel
Custom Providers45 minAdvanced
Provider Integration30 minIntermediate
Local Development with Yaci40 minAdvanced
Production Best Practices60 minAdvanced

Framework integrations

Use Mesh with your preferred framework.

FrameworkTutorialTime
Next.jsFull Stack Guide45 min
SvelteSvelte Integration30 min
Node.jsBackend Guide35 min

Learning paths

Follow these structured paths based on your goals.

Path 1: Web developer to dApp developer

StepTutorialTime
1Installation & Setup10 min
2Wallet Connection15 min
3Send ADA & Tokens20 min
4React Hooks & Components20 min
5Mint Your First NFT30 min
6Next.js Integration45 min

Total: ~2.5 hours | Beginner to Intermediate

Path 2: Smart contract developer

StepTutorialTime
1Getting Started with Aiken40 min
2Your First Aiken Script50 min
3Smart Contract Transactions60 min
4Advanced Contract Patterns90 min
5Local Development with Yaci40 min
6Production Best Practices60 min

Total: ~5.5 hours | Intermediate to Advanced

Path 3: NFT collection creator

StepTutorialTime
1Installation & Setup10 min
2Wallet Connection15 min
3Mint Your First NFT30 min
4Advanced NFT Metadata35 min
5Multi-Signature Minting45 min
6Server-Side Transactions30 min

Total: ~2.5 hours | Beginner to Intermediate


Additional resources

ResourceDescription
API ReferenceComplete API documentation
Code ExamplesWorking repositories
FAQCommon questions
Use CasesReal-world applications
Developer ResourcesTools and communities

Get help

ChannelBest for
DiscordReal-time support
GitHub DiscussionsTechnical Q&A
Stack OverflowSearchable answers

After these tutorials

You will be ready to:

  • Build production Cardano dApps
  • Create NFT collections and marketplaces
  • Develop DeFi applications
  • Integrate smart contracts
  • Contribute to the Cardano ecosystem

Start now with the Getting Started Guide.

On this page