+
⚠️ Security Notice
+
{pending?.message}
+
+
+
+
+
+ );
+ }
+
+ return (
+
+
🔗 Wallet Link (Citizen SDK)
+
+
+
setTargetAddress(e.target.value)}
+ style={{ width: "100%", padding: "8px", marginBottom: "10px" }}
+ />
+
+
+
+
+
+
+
+ {(connectAccount.error || disconnectAccount.error) && (
+
Error: {connectAccount.error || disconnectAccount.error}
+ )}
+
+ {(connectAccount.txHash || disconnectAccount.txHash) && (
+
Tx Hash: {connectAccount.txHash || disconnectAccount.txHash}
+ )}
+
+
+
Status for {targetAddress || "..."}
+ {connectedStatus.loading ? (
+
Loading status...
+ ) : (
+ <>
+
Connected (Current Chain): {connectedStatus.status?.isConnected ? "✅ Yes" : "❌ No"}
+
Root Identity: {connectedStatus.status?.root || "None"}
+
+
+ Multi-Chain Statuses
+
+ {connectedStatus.allChainStatuses.map(chain => (
+ -
+ {chain.chainName}: {chain.isConnected ? `✅ (Root: ${chain.root})` : "❌"}
+
+ ))}
+
+
+ >
+ )}
+
+
+ );
+};
\ No newline at end of file
diff --git a/apps/demo-identity-app/src/main.tsx b/apps/demo-identity-app/src/main.tsx
index 1e9594c..8bcb1ec 100644
--- a/apps/demo-identity-app/src/main.tsx
+++ b/apps/demo-identity-app/src/main.tsx
@@ -1,6 +1,6 @@
import React from "react";
import ReactDOM from "react-dom/client";
-import { AppKitProvider } from "@/config";
+import { AppKitProvider } from "./config";
import { BrowserRouter } from "react-router-dom";
import App from "./App";
import "./index.css";
diff --git a/packages/citizen-sdk/src/constants.ts b/packages/citizen-sdk/src/constants.ts
index cfc8897..371a4fd 100644
--- a/packages/citizen-sdk/src/constants.ts
+++ b/packages/citizen-sdk/src/constants.ts
@@ -146,12 +146,18 @@ export const chainConfigs: Record