Files
js/README.md
T

5.7 KiB



thirdweb TypeScript SDK

Build Status Join our Discord!

All-in-one web3 SDK for Browser, Node and Mobile apps

Important

We rewrote the thirdweb SDK from scratch for performance! Head over to the v5 SDK.

Features

  • Support for React & React-Native
  • First party support for Embedded Wallets (social/email login)
  • First party support for Account Abstraction
  • Instant connection to any chain with RPC Edge integration
  • Integrated IPFS upload/download
  • UI Components for connection, transactions, nft rendering
  • High level contract extensions for interacting with common standards
  • Automatic ABI resolution

Library Comparison

thirdweb Wagmi Viem Ethers@6
Type safe contract API ✅ ✅ ✅ ✅
Type safe wallet API ✅ ✅ ✅ ✅
EVM utils ✅ ❌ ✅ ✅
RPC for any EVM ✅  ⚠️ public RPC only ⚠️ public RPC only ❌
Automatic ABI Resolution ✅ ❌ ❌ ❌
IPFS Upload/Download ✅ ❌ ❌ ❌
Embedded wallet (email/ social login) ✅ ⚠️ via 3rd party ❌ ❌
Account abstraction (ERC4337) support ✅ ⚠️ via 3rd party ⚠️ via 3rd party ❌
Web3 wallet connectors ✅ ✅ ❌ ❌
Local wallet creation ✅ ❌ ✅ ✅
Auth (SIWE) ✅ ⚠️ via 3rd party ❌ ❌
Extensions functions for common standards ✅ ❌ ❌ ❌
React Hooks ✅ ✅ ❌ ❌
React UI components ✅ ❌ ❌ ❌
React Native Hooks ✅ ❌ ❌ ❌
React Native UI Components ✅ ❌ ❌ ❌

Packages

Package Description
/sdk Best in class web3 SDK for Browser, Node and Mobile apps
/wallets Unified web3 Wallet library to integrate any wallet into your applications.
/react Ultimate collection of React hooks for your web3 apps
/react-native Ultimate collection of React hooks for your native mobile web3 apps
/auth Best in class wallet authentication for Node backends
/storage Best in class decentralized storage SDK for Browser and Node
/cli Publish and deploy smart contracts without dealing with private keys
/chains All EVM chain information as JS objects for easy handling

Contributing

We welcome contributions from all developers regardless of experience level. If you are interested in contributing, please read our Contributing Guide to learn how the repo works, how to test your changes, and how to submit a pull request.

See our open source page for more information on our open-source bounties and program.

Additional Resources

Support

For help or feedback, please visit our support site

Security

If you believe you have found a security vulnerability in any of our packages, we kindly ask you not to open a public issue; and to disclose this to us by emailing [email protected].