MeshJS: The Cardano TypeScript SDK for Modern dApp Development
MeshJS is the leading open-source Cardano TypeScript SDK, giving you a transaction builder, wallet connectors, React components, and smart contract tools to start building dApps in minutes.
Less than 60kB
AI Integration
Production Ready
34K+ Monthly Downloads
Everything You Need to Build Cardano dApps
Wallets, transaction builders, data utilities, smart contract libraries, and blockchain providers in one SDK

Why Developers Pick Mesh
Built by developers who ship Cardano apps every day
TypeScript-First
Full type definitions for every API. Catch errors at compile time, get autocomplete in your editor, and skip the guesswork. No separate type packages needed.
Small and Fast
The core package is under 60kB. Tree-shakeable imports keep your bundle lean. No bloated dependencies dragging down your app's load time.
Works With Every Provider
Swap between Blockfrost, Koios, Maestro, Ogmios, and UTxO RPC with one line. Same API, different backend. Run offline for testing with the built-in offline fetcher.
AI-Powered Development
# Install all Mesh skills
npx skills add MeshJS/skills
# Install for a specific agent
npx skills add MeshJS/skills -a claude-code
npx skills add MeshJS/skills -a cursor
npx skills add MeshJS/skills -a codexCardano Transaction Builder in TypeScript
import { MeshTxBuilder } from '@meshsdk/transaction';
const txBuilder = new MeshTxBuilder();
const unsignedTx = await txBuilder
.txIn(txHash, txIndex)
.txOut(recipientAddress, [
{ unit: 'lovelace', quantity: '5000000' },
])
.changeAddress(senderAddress)
.selectUtxosFrom(utxos)
.complete(); import { CardanoWallet } from '@meshsdk/react';
export default function Page() {
return (
<>
<CardanoWallet
label={"Connect a Wallet"}
persist={true}
onConnected={()=>{console.log('on connected')}}
/>
</>
);
}Cardano React Components and Wallet Hooks
Cardano Wallet Integration for Browser and Server
import { MeshWallet } from '@meshsdk/core';
const wallet = new MeshWallet({
networkId: 0, // 0: testnet, 1: mainnet
fetcher: provider,
submitter: provider,
key: {
type: 'mnemonic',
words: ["solution","solution",...,"solution"],
},
});Smart Contracts
Production-Ready Smart Contracts
Skip writing boilerplate. Mesh ships open-source smart contracts for common use cases: NFT marketplaces, token vesting, escrow, asset swaps, payment splitting, and more. Each contract comes with full TypeScript SDK integration, documentation, and live demos.
Start Building in Three Steps
Install
npm i @meshsdk/corePick a Provider
Blockfrost, Koios, Maestro, Ogmios, or offline
Build
Transactions, wallets, minting, smart contracts