Skip to content

Introducing Multi Accounts Support

Joan Alavedra, Co-Founder at Openfort•2 min read
Multi-account support enabling multiple wallets under one identity

Managing multiple identities shouldn't be a headache for users or developers. With the release of Multi Accounts, Openfort now allows users to create and switch between several wallets under a single account effortlessly.

What is Multi-Account Support in Openfort?

Multi-account support in Openfort is a feature that allows a single user identity (authenticated via social login, email, or passkeys) to manage multiple independent smart accounts. These accounts can exist on the same blockchain or across different networks, enabling users to separate their digital assets for different purposes—such as keeping daily spending funds separate from long-term savings. The Openfort React SDK handles the session management and state for these accounts natively, allowing developers to implement account switching with just a few lines of code while maintaining a unified user profile.

This feature was one of the most requested by our community, and it’s now built directly into the Openfort React SDK — no extra setup required.

Why Multi Accounts

In many applications, a single wallet per user can be limiting. Different contexts call for different accounts:

  • Separation of purposes — for example, a savings account for long-term holdings and a personal account for day-to-day transactions.
  • Specialized trading strategies — such as running independent buy and sell operations without risk of cross-contamination.

By enabling multiple accounts under the same identity, developers can offer cleaner user experiences, keep activities organized, and help users manage risk more effectively.

How it Works

Multi Accounts is supported natively in the React SDK. Creating and switching between accounts is straightforward:


_10
// Create a new account for the active user
_10
createAccount();
_10
_10
// Switch the active account in your session
_10
setActiveAccount(accountId);

The SDK handles the underlying state, ensuring that each account maintains its own transaction history, balances, and chain context.

Updated Documentation

We’ve fully updated our documentation with guidance, examples, and integration patterns for Multi Accounts. You’ll find sections on:

  • Creating accounts programmatically
  • Switching active accounts in the UI
  • Persisting and restoring account sessions
  • Multi-chain account management best practices
Share this article

Related Articles

  1. Stablecoin Account Infrastructure for Neobanks and Fintechs

    A stablecoin account needs four layers: wallet, ledger, compliance, and issuing. Openfort, Crossmint, Circle, Bridge, and Stripe compared on coverage.

  2. Cross-App Wallets Explained: One Identity, Every App

    How cross-app (or "global") wallets give users a single, portable identity across multiple apps and chains — and how to ship one with Openfort.

  3. Multi-Tenant Wallet Infrastructure: Requirements Checklist

    What wallet infrastructure needs to serve business clients: key isolation, tenant-scoped policies, deposit addresses, sweeping, and automated withdrawals.

  4. Technical Dive: Social Recoverable Accounts

    In this article, we will explore the concept of Recoverable Account and how it can be used using Openfort’s APIs.

  5. How to Avoid Wallet Vendor Dependency

    Vendor lock-in is one of the biggest hidden risks in wallet infrastructure. This guide explores two strategic approaches to maintain independence

  6. Introducing Universal Deposit Address

    Universal deposit address: one address per user that auto-swaps any token on any chain into the destination wallet's native asset.

  7. How to use Token Bound Account (ERC-6551)

    Learn the ins and outs of the ERC6551 with Openfort's smart accounts and learn how to make them both together for your game.

  8. Parallelizable Paymasters in EntryPoint v0.9

    Openfort Paymaster v9 explained: async signing, ERC-20 gas sponsorship, and the protocol updates that ship with EntryPoint v0.9.

Ship your first wallet in minutes

No credit card required • 2,000 operations free