Cardano SDK Guides: Build dApps with TypeScript
Cardano dApp development tutorials with Mesh SDK. Build smart contracts, mint NFTs, and integrate wallets using TypeScript.
Overview
Mesh is an open-source TypeScript SDK for building decentralized applications on Cardano. These guides walk you through wallet integration, NFT minting, smart contract development, and production deployment.
What you can build
| Category | Description |
|---|---|
| Wallet Integration | Connect browser wallets, authenticate users with signatures |
| NFT Minting | Create native tokens and mint NFT collections |
| Smart Contracts | Interact with Plutus and Aiken contracts for vesting, marketplaces |
| Multi-Signature | Coordinate transactions requiring multiple wallet signatures |
| Production Apps | Security best practices and performance optimization |
Prerequisites
Before starting any guide, ensure you have:
- Node.js 18+ or Bun installed
- A code editor (VS Code recommended)
- A Cardano wallet browser extension (Eternl, Nami, or Lace)
- Basic TypeScript/JavaScript knowledge
Quick Start
Get a complete project running in under 2 minutes:
npx meshjs your-app-name
cd your-app-name
npm run devOpen http://localhost:3000 to see your Cardano dApp.
Guides by Category
Getting Started
- Build Your First dApp with Next.js - Set up a Next.js app with wallet connection
- Run Standalone Scripts - Execute TypeScript scripts directly
- Fix Node.js Polyfill Errors - Resolve Buffer and crypto errors
NFT & Token Minting
- Mint an NFT Collection - Create CIP-25 compliant NFTs
- Server-Side Minting with Node.js - Mint and distribute tokens from backend
- Multi-Signature Minting - Coordinate browser and server wallet signatures
Smart Contracts
- Getting Started with Aiken - Write and deploy your first smart contract
- Build a Vesting Contract - Time-locked fund release
- NFT Marketplace Transactions - List, buy, cancel, update NFTs
Authentication & Security
- Prove Wallet Ownership - Sign-in with Cardano using CIP-8
- Production Deployment - Security checklist and best practices
Integration & Migration
- Create a Custom Provider - Connect any blockchain data source
- Migrate from Lucid - API mapping and migration patterns
- Compare Mesh with Alternatives - Choose the right SDK
All Guides
Develop your first Web3 App
A step-by-step guide to setup a Next.js web application, add a wallet connection and browse assets.
Minting Application
Load CLI generated keys and mint assets on Node.js.
Multi-Signatures Transaction
Learn about multi-sig transaction, build a minting transaction involving MeshWallet and BrowserWallet.
Prove Wallet Ownership
Cryptographically prove the ownership of a wallet by signing a piece of data using data sign.
Implement Custom Provider
Build custom Providers that provides an API to access and process information provided by services.
Smart Contract Transactions
Build a marketplace with Plutus (Haskell), where users can list their assets for sale and purchase the listed assets.
Aiken Hello World
Create smart contracts with Aiken and execute transactions with Mesh.
Executing a standalone script
Learn how to execute a standalone script to manage wallets and creating transactions.
Vesting Script End-to-End
Learn how to vesting contract that locks up funds for a period of time and allows the beneficiary to withdraw the funds after the lockup period.
Resolve Node-Specific Imports Errors
How to Resolve Node-Specific Imports Errors (e.g., Buffer, TextEncoder) in Browser-Based Projects
Mint an NFT Collection
Learn to mint an NFT Collection with JavaScript & the MeshSDK.
Migrate from Lucid
A practical guide to migrating your Cardano dApp from Lucid to Mesh SDK.
Mesh vs Alternatives
Compare Mesh with cardano-serialization-lib and other Cardano development tools.
Production Deployment
Security best practices and deployment checklist for production Cardano dApps.
Next Steps
After completing a guide:
- Explore the Transaction Builder API for advanced transaction patterns
- Check the Wallet APIs for complete wallet functionality
- Join the Mesh Discord for community support
Related Links
- API Reference - Complete SDK documentation
- GitHub Repository - Source code and examples
- Cardano Developer Portal - Cardano ecosystem resources