72 lines
3.8 KiB
Markdown
72 lines
3.8 KiB
Markdown
<p align="center">
|
||
<br />
|
||
<a href="https://thirdweb.com">
|
||
<img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
|
||
<br />
|
||
</p>
|
||
|
||
<h1 align="center"><a href='https://thirdweb.com/'>thirdweb</a> TypeScript SDK</h1>
|
||
|
||
<p align="center">
|
||
<a href="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml">
|
||
<img alt="Build Status" src="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml/badge.svg"/>
|
||
</a>
|
||
<a href="https://discord.gg/thirdweb">
|
||
<img alt="Join our Discord!" src="https://img.shields.io/discord/834227967404146718.svg?color=7289da&label=discord&logo=discord&style=flat"/>
|
||
</a>
|
||
</p>
|
||
|
||
<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>
|
||
|
||
## Features
|
||
|
||
- Support for React & React-Native
|
||
- First party support for [Embedded Wallets](https://portal.thirdweb.com/connect/embedded-wallet/overview) (social/email login)
|
||
- First party support for [Account Abstraction](https://portal.thirdweb.com/connect/account-abstraction/overview)
|
||
- 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 | ❌ |
|
||
| Automatic ABI Resolution | ✅ | ❌ | ❌ |
|
||
| IPFS Upload/Download | ✅ | ❌ | ❌ |
|
||
| Embedded wallet (email/ social login) | ✅ | ⚠️ via 3rd party | ❌ |
|
||
| Account abstraction (ERC4337) support | ✅ | ⚠️ via 3rd party | ❌ |
|
||
| Web3 wallet connectors | ✅ | ✅ | ❌ |
|
||
| Local wallet creation | ✅ | ✅ | ✅ |
|
||
| Auth (SIWE) | ✅ | ✅ | ❌ |
|
||
| Extensions functions for common standards | ✅ | ✅ | ❌ |
|
||
| React Hooks | ✅ | ✅ | ❌ |
|
||
| React UI components | ✅ | ❌ | ❌ |
|
||
| React Native Hooks | ✅ | ✅ | ❌ |
|
||
| React Native UI Components | ✅ | ❌ | ❌ |
|
||
|
||
## Contributing
|
||
|
||
We welcome contributions from all developers regardless of experience level. If you are interested in contributing, please read our [Contributing Guide](.github/contributing.md) to learn how the repo works, how to test your changes, and how to submit a pull request.
|
||
|
||
See our [open source page](https://thirdweb.com/open-source) for more information on our open-source bounties and program.
|
||
|
||
## Additional Resources
|
||
|
||
- [Documentation](https://portal.thirdweb.com/typescript/v5)
|
||
- [Templates](https://thirdweb.com/templates)
|
||
- [YouTube](https://www.youtube.com/c/thirdweb)
|
||
|
||
## Support
|
||
|
||
For help or feedback, please [visit our support site](https://thirdweb.com/support)
|
||
|
||
## 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]`.
|