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 (
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.
Send sats directly from Wrystr using your connected Lightning wallet.
{DEV_NPUB}