# accounts

> Tempo Accounts SDK

Latest version **0.18.4** (published 2026-09-03) · MIT OR Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.18.4 |
| Published | 2026-09-03 |
| First published | 2014-10-07 |
| Weekly downloads | 0 |
| License | MIT OR Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 3.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 32 |
| Maintainers | awkweb, sds-tempo, parvahuja, brendan_j_ryan, jmoxey, imfromthebay |

## Links

- npm: https://www.npmjs.com/package/accounts
- Repository: https://github.com/tempoxyz/accounts
- npm.io page: https://npm.io/package/accounts

## Dependencies (10)

- [ox](https://npm.io/package/ox.md) ~0.14.34
- [zod](https://npm.io/package/zod.md) ^4.4.3
- [hono](https://npm.io/package/hono.md) ^4.12.34
- [jose](https://npm.io/package/jose.md) ^6.2.3
- [mipd](https://npm.io/package/mipd.md) ^0.0.7
- [mppx](https://npm.io/package/mppx.md) ^0.9.0
- [wata](https://npm.io/package/wata.md) 0.4.1
- [zustand](https://npm.io/package/zustand.md) ^5.0.12
- [webauthx](https://npm.io/package/webauthx.md) ~0.1.2
- [idb-keyval](https://npm.io/package/idb-keyval.md) ^6.2.2

## Recent versions

- 0.18.4 (latest) — 2026-09-03
- 0.18.3 — 2026-08-31
- 0.18.2 — 2026-08-31
- 0.18.1 — 2026-08-31
- 0.18.0 — 2026-08-27
- 0.17.3 — 2026-08-26
- 0.17.2 — 2026-08-25
- 0.17.1 — 2026-08-25
- 0.17.0 — 2026-08-24
- 0.16.2 — 2026-08-20
- 0.16.1 — 2026-08-20
- 0.16.0 — 2026-08-01
- 0.15.5 — 2026-07-24
- 0.15.3 — 2026-07-17
- 0.15.2 — 2026-07-13
- … 94 more at https://npm.io/package/accounts/versions

## README

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset=".github/logo-dark.svg">
    <source media="(prefers-color-scheme: light)" srcset=".github/logo-light.svg">
    <img alt="accounts" src=".github/logo-light.svg" width="auto" height="100">
  </picture>
</p>

<p align="center"><b>Tempo Accounts SDK for apps and wallets building stablecoin experiences on Tempo.</b></p>

<p align="center">
  <a href="https://accounts.tempo.xyz">Website</a> · <a href="https://accounts.tempo.xyz/docs">Docs</a> · <a href="#install">Install</a> · <a href="#examples">Examples</a> · <a href="#development">Development</a>
</p>

---

## Quick Prompt

Prompt your agent:

```
Read accounts.tempo.xyz/docs and integrate Tempo Wallet into my application
```

## Install

```bash
npm i accounts
```

```bash
pnpm i accounts
```

```bash
bun i accounts
```

## Documentation

Start at [accounts.tempo.xyz](https://accounts.tempo.xyz) for the product overview, live demos, and integration guides. The documentation lives at [accounts.tempo.xyz/docs](https://accounts.tempo.xyz/docs).

## Getting Help

Have questions or building something cool with the Tempo Accounts SDK?

Join the Telegram group to chat with the team and other devs: [@mpp_devs](https://t.me/mpp_devs)

## Examples

| Example                                                       | Description                                                                      |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [basic](./examples/basic)                                     | Wagmi-based setup using the `tempoWallet` connector to connect to Tempo Wallet.  |
| [deposits](./examples/deposits)                               | Open the deposit UI with optional pre-filled fields.                             |
| [cli](./examples/cli)                                         | Minimal CLI setup to connect and authorize local keys using Tempo Wallet.        |
| [webauthn](./examples/webauthn)                               | Domain-bound passkey example using Wagmi and the `webAuthn` connector.           |
| [access-key](./examples/access-key)                           | Authorize access keys using Tempo Wallet to submit transactions without prompts. |
| [access-key-and-webauthn](./examples/access-key-and-webauthn) | Authorize access keys using domain-bound Passkeys.                               |
| [fee-payer](./examples/fee-payer)                             | Sponsor transactions via Tempo Wallet.                                           |
| [fee-payer-and-webauthn](./examples/fee-payer-and-webauthn)   | Sponsor transactions using a Cloudflare Worker with domain-bound Passkeys.       |
| [mpp](./examples/mpp)                                         | Auto-pay HTTP `402` responses served by a Hono server using `mppx/hono`.         |

## Development

Requires [Docker](https://docs.docker.com/get-docker/) and [OrbStack](https://orbstack.dev/) (recommended on macOS for automatic HTTPS `.accounts.local` domains).

```sh
pnpm dev              # start all dev services via docker compose
pnpm build            # build library
pnpm check            # lint + format
pnpm check:types      # type checks
pnpm test             # run tests
```

### Services

| Service          | OrbStack URL                        |
| ---------------- | ----------------------------------- |
| Playground       | `https://playground.accounts.local` |
| Dialog Reference | `https://dialog-ref.accounts.local` |
| Docs             | `https://docs.accounts.local`       |
| Wagmi Playground | `https://wagmi.accounts.local`      |

## Deployment

The docs site is configured for Vercel as a monorepo project.

| Setting        | Value        |
| -------------- | ------------ |
| Root Directory | `site`       |
| Build Command  | `pnpm build` |
| Dev Command    | `pnpm dev`   |

Set `VITE_BASE_URL` to the production docs origin when using a custom domain.

### Playgrounds

| Playground                   | Command          | Description                                  |
| ---------------------------- | ---------------- | -------------------------------------------- |
| [web](./playgrounds/web)     | `pnpm dev`       | Web playground for dialog + adapter testing. |
| [wagmi](./playgrounds/wagmi) | `pnpm dev:wagmi` | Wagmi-based playground with connectors.      |
| [cli](./playgrounds/cli)     | `pnpm dev:cli`   | CLI playground for device-code auth flow.    |

### Reference Implementations

The `ref-impls/` directory contains reference implementations for building with Tempo Accounts SDK:

| Directory           | Description                                                                                                                                                                              |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ref-impls/dialog/` | Minimal, unstyled embed dialog app demonstrating how to build a custom embed using the `Remote` API. Select `dialogRefImpl` in the web playground's adapter dropdown to test against it. |

## License

<sup>
Licensed under either of <a href="LICENSE-APACHE">Apache License, Version
2.0</a> or <a href="LICENSE-MIT">MIT license</a> at your option.
</sup>

<br>

<sub>
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in these packages by you, as defined in the Apache-2.0 license,
shall be dual licensed as above, without any additional terms or conditions.
</sub>

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