import { useState } from "react"; import QRCode from "react-qr-code"; import { ZapModal } from "../zap/ZapModal"; const DEV_NPUB = "npub1ezt7xcq87ljj65jkjsuagwll4yp75tacgkuyjdhkw6mza8j3azfq2vrvl6"; const DEV_PUBKEY = "c897e36007f7e52d52569439d43bffa903ea2fb845b84936f676b62e9e51e892"; const LIGHTNING_ADDRESS = "harpos@getalby.com"; const BITCOIN_ADDRESS = "bc1qcgaupf80j28ca537xjlcs9dm9s03khezjs7crp"; const KOFI_URL = "https://ko-fi.com/jure"; const GITHUB_URL = "https://github.com/hoornet/wrystr"; const GITHUB_SPONSORS_URL = "https://github.com/sponsors/hoornet"; function CopyButton({ text }: { text: string }) { const [copied, setCopied] = useState(false); const handle = () => { navigator.clipboard.writeText(text); setCopied(true); setTimeout(() => setCopied(false), 1500); }; return ( ); } function QRBlock({ value, label }: { value: string; label: string }) { return (
{label}
); } export function AboutView() { const [showZap, setShowZap] = useState(false); return (
{/* Header */}

Support Wrystr

Wrystr is free, open-source, and built by one person. If it's useful to you, any support — a zap, a share, a star on GitHub — genuinely helps.

{/* Zap */}

⚡ Zap the developer

Send sats directly from Wrystr using your connected Lightning wallet.

{DEV_NPUB}

{/* QR codes */}

Scan to send

Lightning
Bitcoin
{/* Links */}

Other ways to help

Ko-fi {KOFI_URL} ↗
GitHub {GITHUB_URL} ↗
Sponsors {GITHUB_SPONSORS_URL} ↗
{/* Version / About */}
Wrystr v0.1.1 — MIT license
Built with{" "} Tauri {" · "} NDK {" · "} Nostr
{showZap && ( setShowZap(false)} /> )}
); }