Mesh
Most popular TypeScript SDK for building Cardano dApps
What is Mesh?
Mesh is the most popular TypeScript/JavaScript SDK for building Cardano dApps, used by the majority of Cardano web developers. It abstracts away the complexity of Cardano's eUTXO transaction building, wallet integration, and smart contract interaction — letting developers build production-ready dApps with familiar web technologies.
Key Features
Transaction Builder
Build complex Cardano transactions — multi-asset transfers, smart contract interactions, stake delegation, minting — with a clean TypeScript API without touching raw CBOR.
Wallet Connectors
Connect to all major Cardano wallets (Eternl, Lace, Nami, VESPR, etc.) with a single unified API via CIP-30, handling the differences between wallet implementations automatically.
React Components
Drop-in React components for common Cardano UI patterns: wallet connect buttons, transaction signing modals, and asset displays — accelerating frontend development.
Smart Contract Integration
Interact with Plutus and Aiken smart contracts easily — locking funds, applying redeemers, and reading datum state from script addresses.
How to Use Mesh
- 1
Install Mesh: npm install @meshsdk/core @meshsdk/react
- 2
Wrap your app with the MeshProvider component
- 3
Use the CardanoWallet component for instant wallet connection UI
- 4
Use the Transaction class to build and submit transactions
- 5
Browse meshjs.dev for comprehensive documentation and starter templates
Frequently Asked Questions
Is Mesh only for React?
Mesh has React-specific components but its core SDK works with any JavaScript/TypeScript framework including Next.js, Vue, and plain Node.js.
Is Mesh open source?
Yes. Mesh is fully open source under the Apache 2.0 license, with active community contributions and regular releases.
Does Mesh support smart contract interactions?
Yes. Mesh has first-class support for interacting with Plutus and Aiken smart contracts, including datum construction, redeemer application, and script address management.
How popular is Mesh among Cardano developers?
Mesh is the most widely used JavaScript SDK for Cardano dApp development, powering hundreds of production projects and recommended by Cardano Foundation tutorials.