Skip to content

Feat: Fordefi wallet module#87

Open
olekon wants to merge 1 commit intoCreit-Tech:mainfrom
olekon:fordefi-wallet-module
Open

Feat: Fordefi wallet module#87
olekon wants to merge 1 commit intoCreit-Tech:mainfrom
olekon:fordefi-wallet-module

Conversation

@olekon
Copy link
Copy Markdown

@olekon olekon commented Apr 16, 2026

This PR adds support for the https://www.fordefi.com wallet to the Stellar Wallets Kit.

About Fordefi

Fordefi is an institutional MPC wallet that supports Stellar among other chains. The Fordefi browser extension injects
window.FordefiProviders.StellarProvider into dapp pages and implements the Freighter postMessage protocol for dapp
compatibility.

How this module works

The module detects the Fordefi extension via window.FordefiProviders?.StellarProvider and communicates using the standard Freighter postMessage protocol, which the extension already handles (FREIGHTER_EXTERNAL_MSG_REQUEST / FREIGHTER_EXTERNAL_MSG_RESPONSE).

This allows Fordefi to appear as a distinct wallet option in the kit, separate from Freighter — even when the extension's optional Freighter impersonation mode is active.

Supported methods

isAvailable - Supported
getAddress - Supported
signTransaction - Supported
signMessage - Supported
getNetwork - Supported
signAuthEntry - Not supported (rejects gracefully)

Dependencies

None. The module communicates with the extension directly via window.postMessage — no external packages or polyfills required.

Changes

  • src/sdk/modules/fordefi.module.ts — New module implementing ModuleInterface
  • src/sdk/modules/utils.ts — Added FordefiModule to defaultModules()
  • src/deno.json — Added ./modules/fordefi export
  • src/build_npm.ts — Added Fordefi entry point for npm build

Icon

To upload to https://stellar.creit.tech/wallet-icons/fordefi.png
fordefi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant