import { useEffect, useState } from 'react'; import { NWCAlby } from '@app/nwc/components/alby'; import { NWCOther } from '@app/nwc/components/other'; import { useStorage } from '@libs/storage/provider'; import { CheckCircleIcon } from '@shared/icons'; export function NWCScreen() { const { db } = useStorage(); const [walletConnectURL, setWalletConnectURL] = useState(null); const remove = async () => { await db.secureRemove('nwc'); setWalletConnectURL(null); }; useEffect(() => { async function getNWC() { const nwc = await db.secureLoad('nwc'); if (nwc) setWalletConnectURL(nwc); } getNWC(); }, []); return (

Nostr Wallet Connect (Beta)

Sending tips easily via Bitcoin Lightning.

{!walletConnectURL ? (
) : (

You're using nostr wallet connect