cashu wallet integration

This commit is contained in:
lemonknowsall committed 2025-10-05 23:02:14 -07:00
1 parent c69e440c04
commit 6dacd3d964
6 files changed
+1896 -5

No files matched your search

+2
View File
@@ -4,6 +4,7 @@ import { ScrollToTop } from "./components/ScrollToTop";
import Index from "./pages/Index";
import { NIP19Page } from "./pages/NIP19Page";
import NotFound from "./pages/NotFound";
import { CashuWallet } from "./components/CashuWallet";
export function AppRouter() {
return (
@@ -11,6 +12,7 @@ export function AppRouter() {
<ScrollToTop />
<Routes>
<Route path="/" element={<Index />} />
<Route path="/wallet" element={<CashuWallet />} />
{/* NIP-19 route for npub1, note1, naddr1, nevent1, nprofile1 */}
<Route path="/:nip19" element={<NIP19Page />} />
{/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}