Sequence Cross App Embedded Wallet Connector
Wagmi connector for Sequence cross app embedded wallets
Install
pnpm install @0xsequence/cross-app-embedded-wallet-connector
Peer Dependencies
"@0xsequence/network": ">= 2.0.0",
"ethers": ">= 6.13.0",
"viem": ">= 2.0.0",
"wagmi": ">= 2.0.0"
Example Usage
import { http, createConfig } from "wagmi";
import { arbitrumNova, arbitrumSepolia } from "wagmi/chains";
import { sequenceCrossAppEmbeddedWallet } from "@0xsequence/cross-app-embedded-wallet-connector";
const connector = sequenceCrossAppEmbeddedWallet({
projectAccessKey: "...",
walletUrl: "...",
chainId: 42170,
});
export const config = createConfig({
chains: [arbitrumNova, arbitrumSepolia],
connectors: [connector],
transports: {
[arbitrumNova.id]: http(),
[arbitrumSepolia.id]: http(),
},
});