diff --git a/frontend/app/routes/makerDetails/settings.tsx b/frontend/app/routes/makerDetails/settings.tsx index 7705466..1a1f314 100644 --- a/frontend/app/routes/makerDetails/settings.tsx +++ b/frontend/app/routes/makerDetails/settings.tsx @@ -82,6 +82,9 @@ export default function Settings({ id, onSaved }: Props) { const [fidelityTimelock, setFidelityTimelock] = useState(15000); // ── UI state ────────────────────────────────────────────────────────────── + const [activeTab, setActiveTab] = useState<"bitcoin" | "network" | "swap">( + "bitcoin", + ); const [showRpcPassword, setShowRpcPassword] = useState(false); const [showTorAuth, setShowTorAuth] = useState(false); const [saving, setSaving] = useState(false); @@ -223,6 +226,12 @@ export default function Settings({ id, onSaved }: Props) { } } + const tabs = [ + { id: "bitcoin" as const, label: "Bitcoin Core" }, + { id: "network" as const, label: "Network & Tor" }, + { id: "swap" as const, label: "Swap & Fees" }, + ]; + return (
- 8332 mainnet · 18332 testnet · 18443 regtest · 38332 signet -
-- Username and password must be provided together -
-+ 8332 mainnet · 18332 testnet · 18443 regtest · 38332 signet +
++ Username and password must be provided together +
++ Tests connectivity to the configured Bitcoin Core RPC endpoint + and returns node info. +
+ {rpcTestError && ( +{rpcTestError}
+ )} + +- Tests connectivity to the configured Bitcoin Core RPC endpoint and - returns node info. + +
+ Used for both zmqpubrawblock and zmqpubrawtx +
++ Note: Both zmqpubrawblock and zmqpubrawtx + must use the same endpoint. +
++ Each maker must use unique ports to avoid clashes when running + multiple makers on the same machine.
- {rpcTestError && ( -{rpcTestError}
- )} - ++ Port for coinswap client connections (default 6102) +
++ Port for maker-cli operations (default 6103) +
++ Authentication password for Tor control port +
++ SOCKS5 proxy port for Tor (default 9050) +
++ Control port for Tor interface (default 9051) +
+- Used for both zmqpubrawblock and zmqpubrawtx + Enter a whole number of funding confirmations required before + progressing a swap
- Note: Both zmqpubrawblock and zmqpubrawtx must - use the same endpoint. +
+ Enter a decimal from 0 to 1. Example: `0.025` = `2.5%`
+ Enter a decimal from 0 to 1. Example: `0.001` = `0.1%` +
- Each maker must use unique ports to avoid clashes when running - multiple makers on the same machine. -
-- Port for coinswap client connections (default 6102) -
-- Port for maker-cli operations (default 6103) -
-+ Must be between 12960 and 25920 blocks +
- Authentication password for Tor control port -
-- SOCKS5 proxy port for Tor (default 9050) -
-- Control port for Tor interface (default 9051) -
-- Enter a whole number of funding confirmations required before - progressing a swap -
-- Enter a decimal from 0 to 1. Example: `0.025` = `2.5%` -
-- Enter a decimal from 0 to 1. Example: `0.001` = `0.1%` -
-- Must be between 12960 and 25920 blocks -