Skip to main content
Tempo is a low-cost, high-throughput EVM-compatible blockchain optimized for payments. Just like with other chains, your app can use Privy to create wallets for users to send and receive payments on Tempo. This guide demonstrates how to create an embedded wallet and send transactions on Tempo.

Prerequisites

Before implementing Tempo support, ensure the following:

1. Create an embedded wallet

Privy embedded wallets support Tempo by default. To create an embedded wallet for a user on Tempo, use the same “Ethereum” chain_type as any other EVM-compatible chain. This recipe includes examples of creating an EVM-compatible wallet in React or Node. See Create a wallet for more guidance across all SDKs and the REST API. Once the wallet is created, the address can be used to receive payments on Tempo.

2. Send a transaction on Tempo

To send transactions on Tempo mainnet, specify the CAIP-2 identifier eip155:4217 when making transaction requests. This ensures transactions are routed to the Tempo network.
To send transactions on Tempo testnet, specify the CAIP-2 identifier eip155:42431.
There are several ways to transfer tokens on Tempo. You can either use the viem wallet clientand Privy SDK together, or just Privy directly.

Using viem wallet client and Privy SDK together

Here is an example of transferring a stablecoin with a memo:

Using Privy directly

Privy supports gas sponsorship on Tempo, allowing your application to pay transaction fees on behalf of users. This eliminates the need for users to hold native tokens for gas. If you want to use Privy’s native gas sponsorship feature, you should use Privy directly for broadcasting. To enable gas sponsorship for Tempo transactions, configure sponsorship in your Privy Dashboard and add the sponsor parameter when sending transactions.
Gas sponsorship is configured per-chain in the Privy Dashboard. Ensure Tempo is enabled in your sponsorship settings before using this feature.

Send a transaction

Complete guide to sending transactions with Privy

Gas sponsorship overview

Learn about Privy’s gas sponsorship engine

Balance webhooks

Subscribe to deposit and withdrawal events.

Create a wallet

Learn more about creating embedded wallets