Introduction
thirdweb is a developer platform that simplifies building Web3 applications across any EVM-compatible blockchain. It provides a unified TypeScript SDK covering wallet connection, smart contract interaction, token operations, and NFT management, so developers can focus on their application logic rather than blockchain plumbing.
What thirdweb Does
- Provides pre-built, audited smart contracts for tokens, NFTs, marketplaces, and governance
- Offers a TypeScript SDK with React hooks for wallet connection and contract interaction
- Supports embedded wallets that let users sign in with email or social accounts
- Handles gasless transactions through a managed relayer infrastructure
- Enables contract deployment and management through a CLI and web dashboard
Architecture Overview
The thirdweb stack has three layers. The SDK layer (TypeScript, Python, Go, Unity) abstracts contract calls, wallet management, and IPFS storage into high-level functions. The infrastructure layer provides RPC endpoints, IPFS pinning, and transaction relaying. The contract layer offers a registry of audited, upgradeable smart contracts deployed through a factory pattern. All layers are open source; the infrastructure can be self-hosted or used as a managed service.
Self-Hosting & Configuration
- Install the SDK with
npm install thirdwebfor TypeScript projects - Obtain a free client ID from the thirdweb dashboard for RPC and IPFS access
- Configure supported chains by passing chain objects to the ThirdwebProvider
- Deploy contracts via
npx thirdweb deploywhich uploads and verifies in one step - Self-host the infrastructure by running your own RPC nodes and IPFS gateway
Key Features
- Unified SDK that works across React, React Native, Node.js, Python, Go, and Unity
- Embedded wallet creation via email, phone, or social login without requiring MetaMask
- Account abstraction support for gasless and batched transactions
- Pre-built UI components for wallet connection, NFT galleries, and token claims
- Contract extensions system for composing modular on-chain functionality
Comparison with Similar Tools
- wagmi/viem provides lower-level React hooks; thirdweb adds higher-level abstractions and managed infra
- Scaffold-ETH 2 is a starter template; thirdweb is a full SDK with deployment and hosting tools
- Alchemy SDK focuses on node infrastructure; thirdweb covers the full stack from contracts to frontend
- Moralis offers similar backend services but with a different pricing and API model
- OpenZeppelin provides contract libraries; thirdweb adds deployment tooling and frontend SDKs on top
FAQ
Q: Is thirdweb free to use? A: The SDK and smart contracts are open source and free. The managed infrastructure has a free tier with rate limits; higher usage requires a paid plan.
Q: Which blockchains does thirdweb support? A: Any EVM-compatible chain including Ethereum, Polygon, Arbitrum, Optimism, Base, BSC, Avalanche, and hundreds of others.
Q: Can I use thirdweb without React? A: Yes. The core TypeScript SDK works in any JavaScript environment. Framework-specific packages exist for React, Vue, and React Native.
Q: How are the pre-built contracts audited? A: thirdweb contracts are audited by third-party security firms. Audit reports are published in the contract documentation.