diff --git a/src/components/WalletModal.tsx b/src/components/WalletModal.tsx index 38f6a8e..a971ee9 100644 --- a/src/components/WalletModal.tsx +++ b/src/components/WalletModal.tsx @@ -1,5 +1,5 @@ import { useState, forwardRef } from 'react'; -import { Wallet, Plus, Trash2, Zap, Globe, WalletMinimal, CheckCircle, X } from 'lucide-react'; +import { Wallet, Plus, Trash2, Zap, Globe, WalletMinimal, CheckCircle, X, ShieldAlert } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Dialog, @@ -63,6 +63,21 @@ const AddWalletContent = forwardRef + {/* Security guidance: an NWC string is a spend credential. Encourage users + to cap it in their wallet so a compromised connection can't be drained. */} +
+ +
+

Set a spending limit first

+

+ This string lets SkateSpots pay Lightning invoices from your wallet. In + your wallet app, give this connection a small daily budget{' '} + (e.g. a few thousand sats) and enable only pay_invoice. + Never paste a connection with an unlimited budget. You can revoke it in + your wallet any time. +

+
+
)); AddWalletContent.displayName = 'AddWalletContent';