Management API Reference

Ecosystem wallet

Understanding the Fort SDK

The Wallet Framework for Chains. Used by some of the world's innovative chains, Fort SDK enables you to create ecosystem smart wallets that are completely self-custodial and compatible with EVM chains.

Authentication

To build a complete smart wallet from scratch, there are many important details you need to consider:

  • Which authentication service to use or build.
  • Which smart contrats to use as accounts.
  • Which signer to use as an owner on the accounts.
  • Which infrastructure/middleware to use for sponsorship and bundling.

A framework can solve these problems. But such a framework must have the right level of abstraction — otherwise it won’t be very useful. It also needs to have great "Developer Experience", ensuring you and your team have an amazing experience while writing code.

Fort: The Wallet Framework#

Fort provides a solution to all of the above problems. But more importantly, it puts you and your team in the pit of success when building ecosystem wallet in your chain. It comes built-in with:

FeatureDescription
User managementAuthenticate and authorize users to your games and applications.
Wallet onboardingGenerate non custodial wallets for your users, on-ramp fiat to crypto and much more.
Full customization and ownershipWhitelabel dashboard and NPM packages you control.
Cross platformOut for the gate support for Unity, Unreal Engine and Browser environments.

Design principles#

The Fort framework is fully modular. It comes with components that help you in all 3 main components of any wallet SDK:

  1. How developers integrate the SDK into their applications.
  2. How the client SDK communicates with your wallet
  3. How the wallet communicates with the blockchain.
Fort architecture

The Client SDK, identifiable in Fort as @openfort/ecosystem/client, is the SDK that you will use to create your wallet SDK. It exposes all the functionality required to control pop-ups, authentication, and transactions. This package will live the front-end of those applications that want to interact with your ecosystem's wallet. You can make it whitelabel by wrapping it in your own package. This package also includes all the necessary information to handle authentication and authorization of your users.

The Client SDK can inject a EIP-1193 provider into your application, allowing you to interact with the blockchain through any of your favorite libraries like viem.

The Communication module, identifiable in Fort as @openfort/ecosystem/core, is the SDK that you will use to recive and send communication with the Client SDK. This package includes all the necessary functionality in order to onboard your users to blockchain with non-custodial wallets. You can get a broader wallet overview by reading the the wallet guide. This package is framework agnostic and can be used in any browser environment.

The Framework prefabs are framework specific helpers to ease your integration time. Fort launches with built in support for React, available in Fort at @openfort/ecosystem/react. This components can be customized to fit your brand and design.