Skip to content

@gen3labs/futurepass-wagmi-connectors

Community fork of @futureverse/wagmi-connectors.

Community fork (gen3labs)

Published under @gen3labs by markibanez as a post-Futureverse-winddown community continuation. Backed by the gen3labs-operated issuer at futurepass.gen3labs.tech and signer at fpsigner.gen3labs.tech. Surface area mirrors the upstream @futureverse/* package one-for-one — switch the import path; the code shape is the same. Register OAuth2 clients at https://futurepass.gen3labs.tech/manageclients.

Version
4.0.4
Published
2026-04-28
License
n/a
Status
fork-active
npm
https://www.npmjs.com/package/@gen3labs/futurepass-wagmi-connectors
Types
./index.d.ts
Maintainers
markibanez
Depends on
xumm · @gen3labs/futurepass-signer · @gen3labs/futurepass-auth-core · @gen3labs/futurepass-transact · @polkadot/api · @therootnetwork/api · @walletconnect/ethereum-provider
Peer deps
@wagmi/core · @wagmi/connectors · viem
Recent versions
4.0.4
## Technical notes

Why use it

wagmi-based dApp wanting Pass connector after fv-winddown.

When to skip it

Pairs with

Alternatives

Upstream README

Futureverse Wagmi Connectors

Provides Wagmi extensions for Futureverse wallets.

Installation

NPM:

bash
    npm install @futureverse/wagmi-connectors --save

Yarn:

bash
    yarn add @futureverse/wagmi-connectors

Usage

Wagmi Config Setup Example

This example shows how to create a wagmi config with Xaman futureverse wallet connector. The code also uses Futureverse Auth React.

typescript
import { createConfig, http } from 'wagmi';
import { mainnet, sepolia } from 'wagmi/chains';
import { coinbaseWallet, metaMask, walletConnect } from 'wagmi/connectors';
import { root, porcini } from '@futureverse/auth';
import { xamanWallet, futureverseCustodialWallet } from '@futureverse/wagmi-connectors';

const wagmiConfig = createConfig({
  chains: [mainnet, sepolia, root, porcini],
  connectors: [
    futureverseCustodialWallet({ authClient, custodialType: 'email' }),
    futureverseCustodialWallet({
      authClient,
      custodialType: 'facebook',
    }),
    futureverseCustodialWallet({ authClient, custodialType: 'google' }),
    metaMask({
      dappMetadata: {
        name: 'FuturePass',
      },
    }),
    coinbaseWallet({
      appName: 'FuturePass',
    }),
    ...(xamanApiKey
      ? [
          xamanWallet({
            apiKey: xamanApiKey,
            onQR: xamanOnQRCode,
            onSign: xamanOnSigned,
            authClient,
            flow,
          }),
        ]
      : []),
    ...(walletConnectProjectId ? [walletConnect({ projectId: walletConnectProjectId })] : []),
  ],
  transports: {
    [mainnet.id]: http(),
    [sepolia.id]: http(),
    [root.id]: http(),
    [porcini.id]: http(),
  },
});

Curated independently by Codeology. Source-attributed reference for The Root Network. Not affiliated with Futureverse / TRN Labs.