refactor: extract wallet system

This commit is contained in:
2024-04-11 13:26:50 +01:00
parent d1095847d8
commit 8137317bfe
33 changed files with 5252 additions and 4916 deletions

View File

@ -8,6 +8,7 @@ import BlueWallet from "@/Components/Icons/BlueWallet";
import Icon from "@/Components/Icons/Icon";
import NostrIcon from "@/Components/Icons/Nostrich";
import { getAlbyOAuth } from "@/Pages/settings/wallet/utils";
import CashuIcon from "@/Components/Icons/Cashu";
const WalletRow = (props: {
logo: ReactNode;
@ -70,12 +71,12 @@ const WalletSettings = () => {
url="/settings/wallet/lndhub"
desc={<FormattedMessage defaultMessage="Generic LNDHub wallet (BTCPayServer / Alby / LNBits)" id="0MndVW" />}
/>
{/*<WalletRow
<WalletRow
logo={<CashuIcon size={64} />}
name="Cashu"
url="/settings/wallet/cashu"
desc={<FormattedMessage defaultMessage="Cashu mint wallet" id="3natuV" />}
/>*/}
/>
{CONFIG.alby && (
<WalletRow
logo={<AlbyIcon size={64} />}