diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 77076e5..cb65a98 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -7,7 +7,7 @@ import { Toaster } from "../components/ui/toaster";
import "@fontsource-variable/inter";
import "@fontsource-variable/jetbrains-mono";
-import { WalletProvider, RLNImplementationProvider, KeystoreProvider, RLNProvider } from "../contexts/index";
+import { WalletProvider, KeystoreProvider, RLNProvider } from "../contexts/index";
import { Header } from "../components/Header";
import { AppStateProvider } from "../contexts/AppStateContext";
import { Footer } from "@/components/Footer";
@@ -51,20 +51,18 @@ export default function RootLayout({ children }: RootLayoutProps) {
>
-
-
-
-
-
-
- {children}
-
-
-
-
-
-
-
+
+
+
+
+
+ {children}
+
+
+
+
+
+
diff --git a/src/components/RLNImplementationToggle.tsx b/src/components/RLNImplementationToggle.tsx
deleted file mode 100644
index b086da3..0000000
--- a/src/components/RLNImplementationToggle.tsx
+++ /dev/null
@@ -1,40 +0,0 @@
-"use client";
-
-import { useRLNImplementation } from '../contexts';
-import React from 'react';
-import { ToggleGroup, ToggleGroupItem } from "./ui/toggle-group";
-
-export function RLNImplementationToggle() {
- const { implementation, setImplementation } = useRLNImplementation();
-
- return (
-
-
-
-
{
- if (value) setImplementation(value as 'light' | 'standard');
- }}
- className="w-full max-w-md"
- >
-
- Light
-
-
- Standard
-
-
-
-
- {implementation === 'light'
- ? 'Light implementation, without Zerokit. Instant initialisation.'
- : 'Standard implementation, with Zerokit. Initialisation takes 10-15 seconds for WASM module.'
- }
-
-
- );
-}
\ No newline at end of file
diff --git a/src/components/RLNStatusIndicator.tsx b/src/components/RLNStatusIndicator.tsx
index 2f476ec..62f99a7 100644
--- a/src/components/RLNStatusIndicator.tsx
+++ b/src/components/RLNStatusIndicator.tsx
@@ -2,12 +2,10 @@
import React from 'react';
import { useRLN } from '../contexts';
-import { useRLNImplementation } from '../contexts';
import { useWallet } from '../contexts';
export function RLNStatusIndicator() {
const { isInitialized, isStarted, isLoading, error } = useRLN();
- const { implementation } = useRLNImplementation();
const { isConnected, chainId } = useWallet();
// Debug logging
@@ -17,8 +15,7 @@ export function RLNStatusIndicator() {
isInitialized,
isStarted,
isLoading,
- error,
- implementation
+ error
});
const getStatusColor = () => {
@@ -37,10 +34,10 @@ export function RLNStatusIndicator() {
const getStatusText = () => {
if (error) return 'Error';
- if (isLoading) return `Initializing ${implementation} RLN...`;
+ if (isLoading) return 'Initializing RLN...';
if (!isConnected) return 'Connect Wallet';
if (chainId !== 59141) return 'Switch to Linea Sepolia';
- if (isInitialized && isStarted) return `RLN Active`;
+ if (isInitialized && isStarted) return 'RLN Active';
return 'RLN Inactive';
};
diff --git a/src/components/Tabs/MembershipTab/MembershipRegistration.tsx b/src/components/Tabs/MembershipTab/MembershipRegistration.tsx
index 6b45f6b..a564d5b 100644
--- a/src/components/Tabs/MembershipTab/MembershipRegistration.tsx
+++ b/src/components/Tabs/MembershipTab/MembershipRegistration.tsx
@@ -1,13 +1,10 @@
"use client";
import React, { useState, useEffect } from 'react';
-import { RLNImplementationToggle } from '../../RLNImplementationToggle';
import { RLNStatusIndicator } from '../../RLNStatusIndicator';
import { KeystoreEntity } from '@waku/rln';
import { useRLN } from '../../../contexts/rln/RLNContext';
import { useWallet } from '../../../contexts/wallet';
-import { useRLNImplementation } from '../../../contexts';
-import { RLNInitButton } from '../../RLNinitButton';
import { TerminalWindow } from '../../ui/terminal-window';
import { Slider } from '../../ui/slider';
import { Button } from '../../ui/button';
@@ -17,7 +14,6 @@ import { toast } from 'sonner';
export function MembershipRegistration() {
const { registerMembership, isInitialized, isStarted, rateMinLimit, rateMaxLimit, error, isLoading } = useRLN();
const { isConnected, chainId } = useWallet();
- const { implementation } = useRLNImplementation();
const [rateLimit, setRateLimit] = useState(rateMinLimit);
const [isRegistering, setIsRegistering] = useState(false);
@@ -110,10 +106,6 @@ export function MembershipRegistration() {
-
-
-
-
{/* Network Warning */}
{isConnected && !isLineaSepolia && (
@@ -125,7 +117,7 @@ export function MembershipRegistration() {
)}
{/* Informational Box */}
-
+
{">"}
@@ -160,12 +152,6 @@ export function MembershipRegistration() {
- {implementation === 'standard' && !isInitialized && !isStarted && (
-
-
-
- )}
-
{!isConnected ? (
ℹ️
@@ -174,7 +160,7 @@ export function MembershipRegistration() {
) : !isInitialized || !isStarted ? (
ℹ️
- {implementation === 'light' && isLoading ? 'Initializing Light RLN...' : membershipRegistration.initializePrompt}
+ {isLoading ? 'Initializing RLN...' : membershipRegistration.initializePrompt}
) : (