README.md

May 27, 2026 · View on GitHub

accounts

Tempo Accounts SDK for apps and wallets building stablecoin experiences on Tempo.

Website · Docs · Install · Examples · Development


Quick Prompt

Prompt your agent:

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

Install

npm i accounts
pnpm i accounts
bun i accounts

Documentation

Start at accounts.tempo.xyz for the product overview, live demos, and integration guides. The documentation lives at 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

Examples

ExampleDescription
basicWagmi-based setup using the tempoWallet connector to connect to Tempo Wallet.
depositsOpen the deposit UI with optional pre-filled fields.
cliMinimal CLI setup to connect and authorize local keys using Tempo Wallet.
webauthnDomain-bound passkey example using Wagmi and the webAuthn connector.
access-keyAuthorize access keys using Tempo Wallet to submit transactions without prompts.
access-key-and-webauthnAuthorize access keys using domain-bound Passkeys.
fee-payerSponsor transactions via Tempo Wallet.
fee-payer-and-webauthnSponsor transactions using a Cloudflare Worker with domain-bound Passkeys.
mppAuto-pay HTTP 402 responses served by a Hono server using mppx/hono.

Development

Requires Docker and OrbStack (recommended on macOS for automatic HTTPS .accounts.local domains).

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

ServiceOrbStack URL
Playgroundhttps://playground.accounts.local
Dialog Referencehttps://dialog-ref.accounts.local
Docshttps://docs.accounts.local
Wagmi Playgroundhttps://wagmi.accounts.local

Deployment

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

SettingValue
Root Directorysite
Build Commandpnpm build
Dev Commandpnpm dev

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

Playgrounds

PlaygroundCommandDescription
webpnpm devWeb playground for dialog + adapter testing.
wagmipnpm dev:wagmiWagmi-based playground with connectors.
clipnpm dev:cliCLI playground for device-code auth flow.

Reference Implementations

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

DirectoryDescription
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.
ref-impls/cli-auth/Minimal React + Cloudflare/Vite host reference for device-code CLI auth: built-in code-auth endpoints plus a single unstyled approval screen and local smoke client.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
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.