Skip to content

[bug]: Connection to Sei Chain not possible. #463

@Crismon96

Description

@Crismon96

Description

I am building a SeiEvm react-native app. We are also already hosting a Web-App that successfully integrates reowns appkit with the same chain configuration.

I have integrated the library like described in the docs and I am being prompted to my wallet and redirected after accepting the connection. I also see my address displayed in the AppKitButton. Still my logs show several errors after attempting the connection and const { address, isConnected, chainId } = useAppKitAccount(); is not resolved to a connected state.

The Error:

Error: 15:22:52 | ERROR : Wallet Error 
{
  "error": "Required wallet components missing",
  "stack": "Error: Required wallet components missing\n    at ?anon_0_ (address at /private/var/containers/Bundle/Application/

Just before that I see one more potentially useful log.

JsonRpcProvider failed to detect network and cannot start up; retry in 1s (perhaps the URL is wrong or the node is not started)

This is how I initialize appkit:

import "@walletconnect/react-native-compat";
import {
  createAppKit,
  defaultConfig,
  AppKit,
} from "@reown/appkit-ethers-react-native";

// 3. Define your chains
const mainnet = {
  chainId: 1329,
  name: 'Sei Network',
  currency: "SEI",
  explorerUrl: "https://seitrace.com",
  rpcUrl: "https://evm-rpc.sei-apis.com",
  nativeCurrency: { name: 'Sei', symbol: 'SEI', decimals: 18 },
  rpcUrls: {
    default: {
      http: ['https://evm-rpc.sei-apis.com/'],
      webSocket: ['wss://evm-ws.sei-apis.com/'],
    },
  },
  blockExplorers: {
    default: {
      name: 'Seitrace',
      url: 'https://seitrace.com',
      apiUrl: 'https://seitrace.com/pacific-1/api',
    },
  },
  contracts: {
    multicall3: {
      address: '0xcA11bde05977b3631167028862bE2a173976CA11',
    },
  },
};

const chains: Parameters<typeof createAppKit>[0]['chains'] = [mainnet];

// 4. Create modal
createAppKit({
  projectId,
  metadata,
  chains,
  config,
  enableAnalytics: true, // Optional - defaults to your Cloud configuration
});


export function WalletConnectProvider({ children }: { children: React.ReactNode }) {
  return <>
  <AppKit />
  {children}
  </>
}

AppKit SDK version

"@reown/appkit-ethers-react-native": "1.3.1", "@walletconnect/react-native-compat": "2.21.8",

Output of npx react-native info

System:
OS: macOS 15.3.2
CPU: (8) arm64 Apple M2
Memory: 145.58 MB / 16.00 GB
Shell:
version: 3.2.57
path: /bin/bash
Binaries:
Node:
version: 20.13.1
path: /private/var/folders/77/xk_dk18j35d3qlpn53s8z7dw0000gn/T/xfs-0b7c9e9f/node
Yarn:
version: 3.5.1
path: /private/var/folders/77/xk_dk18j35d3qlpn53s8z7dw0000gn/T/xfs-0b7c9e9f/yarn
npm:
version: 10.5.2
path: ~/.nvm/versions/node/v20.13.1/bin/npm
Watchman:
version: 2025.08.25.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.5
- iOS 18.5
- macOS 15.5
- tvOS 18.5
- visionOS 2.5
- watchOS 11.5
Android SDK: Not Found
IDEs:
Android Studio: 2025.1 AI-251.26094.121.2513.14007798
Xcode:
version: 16.4/16F6
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.16
path: /usr/bin/javac
Ruby:
version: 3.4.5
path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 20.0.2
wanted: ^20.0.2
react:
installed: 19.0.0
wanted: 19.0.0
react-native:
installed: 0.79.5
wanted: 0.79.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true

Expo Version (if applies)

53

Steps to reproduce

Integrate the the library exactly as described in docs. Build for production. Try to connect to Sei Mainnet (see above configuration).

Snack, code example, screenshot, or link to a repository

https://blkswn-studio.sentry.io/share/issue/0b638866bf9a4f72938d2a243093a86e/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions