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.
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:
Feature | Description |
---|---|
User management | Authenticate and authorize users to your games and applications. |
Wallet onboarding | Generate non custodial wallets for your users, on-ramp fiat to crypto and much more. |
Full customization and ownership | Whitelabel dashboard and NPM packages you control. |
Cross platform | Out 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:
- How developers integrate the SDK into their applications.
- How the client SDK communicates with your wallet
- How the wallet communicates with the blockchain.
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 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.