# thirdweb

> thirdweb

Latest version **5.121.3** (published 2026-09-10) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install thirdweb
pnpm add thirdweb
yarn add thirdweb
bun add thirdweb
```

Provides the commands `thirdweb`, `thirdweb-cli`.

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; large bundle.

## Facts

| | |
|---|---|
| Version | 5.121.3 |
| Published | 2026-09-10 |
| First published | 2022-04-13 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18 |
| Dependencies | 31 |
| Unpacked size | 52 MB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 639 |
| Author | thirdweb eng |
| Maintainers | jnsdls, jakeloo, joaquim-verges, thirdweb-bot, 0xfirekeeper |

## Links

- npm: https://www.npmjs.com/package/thirdweb
- Repository: https://github.com/thirdweb-dev/js.git#main
- Homepage: https://github.com/thirdweb-dev/js/tree/main#readme
- Issues: https://github.com/thirdweb-dev/js/issues
- npm.io page: https://npm.io/package/thirdweb

## Dependencies (31)

- [ox](https://npm.io/package/ox.md) 0.7.0
- [ora](https://npm.io/package/ora.md) 8.2.0
- [uqr](https://npm.io/package/uqr.md) 0.1.2
- [zod](https://npm.io/package/zod.md) 3.25.75
- [mipd](https://npm.io/package/mipd.md) 0.0.7
- [open](https://npm.io/package/open.md) 10.1.1
- [toml](https://npm.io/package/toml.md) 3.0.0
- [viem](https://npm.io/package/viem.md) 2.39.0
- [x402](https://npm.io/package/x402.md) 0.7.0
- [qrcode](https://npm.io/package/qrcode.md) 1.5.3
- [abitype](https://npm.io/package/abitype.md) 1.0.8
- [fuse.js](https://npm.io/package/fuse.js.md) 7.1.0
- [prompts](https://npm.io/package/prompts.md) 2.4.2
- [input-otp](https://npm.io/package/input-otp.md) ^1.4.1
- [cross-spawn](https://npm.io/package/cross-spawn.md) 7.0.6
- [@noble/curves](https://npm.io/package/@noble/curves.md) 1.8.2
- [@noble/hashes](https://npm.io/package/@noble/hashes.md) 1.7.2
- [@emotion/react](https://npm.io/package/@emotion/react.md) 11.14.0
- [@emotion/styled](https://npm.io/package/@emotion/styled.md) 11.14.1
- [@base-org/account](https://npm.io/package/@base-org/account.md) 2.5.0
- [@coinbase/wallet-sdk](https://npm.io/package/@coinbase/wallet-sdk.md) 4.3.0
- [@thirdweb-dev/engine](https://npm.io/package/@thirdweb-dev/engine.md) 3.4.0
- [@radix-ui/react-icons](https://npm.io/package/@radix-ui/react-icons.md) 1.3.2
- [@tanstack/react-query](https://npm.io/package/@tanstack/react-query.md) 5.81.5
- [@thirdweb-dev/insight](https://npm.io/package/@thirdweb-dev/insight.md) 1.1.1
- [@radix-ui/react-dialog](https://npm.io/package/@radix-ui/react-dialog.md) 1.1.14
- [@radix-ui/react-tooltip](https://npm.io/package/@radix-ui/react-tooltip.md) 1.2.7
- [@passwordless-id/webauthn](https://npm.io/package/@passwordless-id/webauthn.md) ^2.1.2
- [@walletconnect/sign-client](https://npm.io/package/@walletconnect/sign-client.md) 2.21.8
- [@radix-ui/react-focus-scope](https://npm.io/package/@radix-ui/react-focus-scope.md) 1.1.7
- [@walletconnect/universal-provider](https://npm.io/package/@walletconnect/universal-provider.md) 2.21.8

## Recent versions

- 5.121.3 (latest) — 2026-09-10
- 5.120.2-nightly-495d303313a95635c2adf25e407c533661fc0f45-20260813001227 (nightly) — 2026-08-13
- 0.13.0-next-7abd58d84-20240917032316 (next) — 2024-09-17
- 0.0.0-dev-def1279ee72fa305354f0951884d936249ebf65a-20240618182413 (dev) — 2024-06-18
- 1.0.0-alpha-4a03d61dd0a5216a1217ff078ab762920d25d6d0-20240402021246 (alpha) — 2024-04-02
- 5.0.0-beta-0c28573eec3111e724870f2832c1d3446a505e78-20240328000332 (beta) — 2024-03-28
- 0.7.10-pr19-9e6a4dc (pr19) — 2022-09-03
- 5.121.2 — 2026-09-07
- 5.121.1 — 2026-08-20
- 5.121.0 — 2026-08-13
- 5.120.2-nightly-495d303313a95635c2adf25e407c533661fc0f45-20260812001231 — 2026-08-12
- 5.120.2-nightly-495d303313a95635c2adf25e407c533661fc0f45-20260811000838 — 2026-08-11
- 5.120.2-nightly-495d303313a95635c2adf25e407c533661fc0f45-20260810000806 — 2026-08-10
- 5.120.2-nightly-495d303313a95635c2adf25e407c533661fc0f45-20260809000711 — 2026-08-09
- 5.120.2-nightly-495d303313a95635c2adf25e407c533661fc0f45-20260808000827 — 2026-08-08
- … 4828 more at https://npm.io/package/thirdweb/versions

## README

<p align="center">
    <br />
    <a href="https://thirdweb.com">
        <img src="https://thirdweb.com/brand/thirdweb-icon.svg" 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>
</p>

<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>

## Core Package

#### [`thirdweb`](./packages/thirdweb/README.md)

The main SDK package providing all-in-one web3 functionality for Browser, Node, and Mobile applications.

```bash
npm install thirdweb
```

**Features:**

- Type-safe contract and transaction APIs
- In-app wallets with social/email login
- Account abstraction (ERC4337/EIP7702) support
- 500+ external wallets supported
- Built in infra (RPC, bundler, paymaster, indexer)
- React hooks and UI components
- Automatic ABI resolution
- IPFS upload/download
- Cross-platform support (Web, React Native)

### Documentation

Visit the [developer portal](https://portal.thirdweb.com) for full documentation.

### 🚀 Quick Start

#### For React Applications

```bash
npm install thirdweb
```

```typescript
import { createThirdwebClient } from "thirdweb";
import { ConnectButton, useActiveAccount } from "thirdweb/react";

const client = createThirdwebClient({
  clientId: "YOUR_CLIENT_ID",
});

function App() {
  const account = useActiveAccount();
  console.log("Connected as", account?.address);

  return <ConnectButton client={client} />;
}
```

For React Native Applications, you'll also need to install the `@thirdweb-dev/react-native-adapter` package and import it at app startup for polyfills.

#### For Backend Applications

```bash
npm install thirdweb
```

```typescript
import { createThirdwebClient, Engine } from "thirdweb";

const client = createThirdwebClient({
  secretKey: "YOUR_SECRET_KEY",
});

const wallet = Engine.serverWallet({
  client,
  address: "0x...",
});

const transaction = transfer({
  contract: getContract({
    client,
    address: "0x...", // token contract
    chain: defineChain(1),
  }),
  to: "0x...", // recipient
  amount: "0.01", // amount in tokens
});

await wallet.enqueueTransaction({
  transaction,
});
```

## Adapters

#### [`@thirdweb-dev/react-native-adapter`](./packages/react-native-adapter/README.md)

Required polyfills and configuration for running the thirdweb SDK in React Native applications.

```bash
npm install @thirdweb-dev/react-native-adapter
```

#### [`@thirdweb-dev/wagmi-adapter`](./packages/wagmi-adapter/README.md)

Integration layer for using thirdweb's in-app wallets with wagmi.

```bash
npm install @thirdweb-dev/wagmi-adapter
```

## Type safe API wrappers

#### [`@thirdweb-dev/api`](./packages/api/README.md)

TypeScript SDK for thirdweb's API, combining all of thirdweb products.

```bash
npm install @thirdweb-dev/api
```

#### [`@thirdweb-dev/engine`](./packages/engine/README.md)

TypeScript SDK for Engine, thirdweb's backend onchain executor service.

```bash
npm install @thirdweb-dev/engine
```

#### [`@thirdweb-dev/insight`](./packages/insight/README.md)

TypeScript SDK for Insight, thirdweb's multichain indexer service.

```bash
npm install @thirdweb-dev/insight
```

#### [`@thirdweb-dev/vault-sdk`](./packages/vault-sdk/README.md)

SDK for interacting with Vault, thirdweb's secure key management service.

```bash
npm install @thirdweb-dev/vault-sdk
```

#### [`@thirdweb-dev/nebula`](./packages/nebula/README.md)

TypeScript SDK for Nebula, thirdweb's AI agent service.

```bash
npm install @thirdweb-dev/nebula
```

## 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

- [Dashboard](https://thirdweb.com/login)
- [Documentation](https://portal.thirdweb.com/)
- [Templates](https://thirdweb.com/templates)
- [YouTube](https://www.youtube.com/c/thirdweb)
- [X/Twitter](https://x.com/thirdweb)
- [Telegram](https://t.me/officialthirdweb)

## 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 `security@thirdweb.com`.

---
_Source: https://npm.io/package/thirdweb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
