By logging in with Sei Global Wallet, you agree to our Terms of Use.
Other authentication methods are possible through Dynamic, such as existing wallet apps (for example, MetaMask). However, these methods are not currently enabled.
What is Sei Global Wallet?
Unlike traditional browser extension wallets, Sei Global Wallet is built directly into web applications. Users can authenticate with familiar methods, such as Google, Twitter, Telegram, or email. They do not need to download anything or know about crypto.Why use Sei Global Wallet?
For users:- The wallet works directly in the browser, without extensions.
- Users log in with Google, Twitter, Telegram, or email.
- The same wallet works across all Sei ecosystem dApps.
- The wallet is self-custodial: users keep full control of their keys.
- Integration takes one line: a single EIP-6963 import works with RainbowKit, ConnectKit, Web3-React, and other compatible libraries.
@sei-js/sei-global-wallet@2is ESM-only and has norequire()entry. Add the required consumer overrides before you install it.
How to create a Sei Global Wallet account
- Go to dashboard.sei.io or any Sei ecosystem dApp.
- Click Connect Wallet. Then select Sei Global Wallet.
- Choose your preferred login method (Google, X, Telegram, or Email).
- Complete the authentication flow.
- Your wallet is created automatically. You can use it across all integrated Sei dApps.
How to integrate Sei Global Wallet
Prerequisites
EIP-6963: A standard that lets multiple wallets coexist without conflicts. Instead of competing forwindow.ethereum, wallets announce themselves through events. Users can then choose which wallet to use.
Dynamic: The infrastructure that powers Sei Global Wallet. It handles authentication, key management, and cross-app wallet persistence, and it keeps wallets non-custodial.
Installation
Install the Sei Global Wallet package:@sei-js/sei-global-wallet@2 is ESM-only. The /eip6963 import still registers the provider. It also exports registerEIP6963Provider, unregisterEIP6963Provider, and eip6963ProviderInfo. Other entrypoints are /ethereum, /solana, and /zerodev.Integration examples
These examples show how to integrate the preconfigured Sei Global Wallet package with different frameworks and wallet provider libraries.RainbowKit integration
RainbowKit integration
Create a new Vite app:Install dependencies:Update Run your app:
App.tsx:ConnectKit integration
ConnectKit integration
Create a new Vite app:Install dependencies:Update Run your app:
App.tsx:Web3-React v8 integration
Web3-React v8 integration
Create a new Vite app:Install dependencies:Update Run your app:
App.tsx:wagmi + Dynamic integration
wagmi + Dynamic integration
Create a new Vite app:Install dependencies:Update Run your app:Note: Replace
App.tsx:"REPLACE-WITH-YOUR-ENVIRONMENT-ID" with your Dynamic environment ID from your Dynamic dashboard.Dynamic (Next.js) integration
Dynamic (Next.js) integration
Create a new Next.js app:Install dependencies:Note: Replace Run your app:
layout.tsx:lib/providers.tsx:"REPLACE-WITH-YOUR-ENVIRONMENT-ID" with your Dynamic environment ID from your Dynamic dashboard.page.tsx:HTML bundle integration
HTML bundle integration
If your project uses plain HTML and JavaScript without a build system, you can create a bundled version of Sei Global Wallet. You can then include it directly in your HTML pages.Create a bundle directoryInitialize an npm projectInstall dependenciesCreate a bundle source file
Create Update Build the bundleThis command creates
bundle.js:package.json
Add this build script to your package.json file:sei-wallet-bundled.js.Use the bundle in your HTML projectCopy sei-wallet-bundled.js to your web project. Then load it in your HTML, as in this example:Web3Auth integration
Web3Auth integration
Create a new Vite app:Install dependencies:Create a Web3Auth context (Update Set up Run your app:Note: Replace the
src/web3authContext.ts):App.tsx:main.tsx with the Web3Auth provider:clientId in web3authContext.ts with your Web3Auth client ID from your Web3Auth dashboard.Troubleshooting & FAQ
- Troubleshooting
- FAQ
Troubleshooting & debugging tips
Common issues
Issue: Sei Global Wallet does not appear in the wallet listwindow.ethereumDebugging commands
Testing tips
- Test with multiple browsers to check cross-browser compatibility.
- If wallets do not appear, clear the browser cache.
- Check the browser console for EIP-6963 events and errors.
- Test connections to both Sei Testnet and Sei Mainnet.
- Verify that social login methods work across different authentication providers.
Security considerations
- Sei Global Wallet is self-custodial: users control their private keys.
- All communications between the dApp and the wallet are encrypted.
- Multi-factor authentication is available for extra security.
- Users can export their keys to other wallets, such as MetaMask.
- Cure53 has audited the platform for security compliance.