Ecash
setType(types.liquid)} >
Liquid
{#if user?.id === invoice?.user?.id}
{t("payments.setAmount")}
{:else}
{t("payments.openLink")}
{/if}
{t("invoice.setMemo")}
copy(txt)}>
{t("payments.copy")}
goto("/receive")}>
{t("user.send.paste")}
goto("/scan")}>
{t("user.send.scan")}
{#if txt?.length > 120}
(showQr = !showQr)}> {#if showQr}
{:else}
{/if}
{showQr ? t("payments.showText") : t("payments.showQr")}
{/if}
{#if aid === user.id}
{ $amountPrompt = false; newAmount = undefined; setType(types.lightning); }} >
Lightning
{/if} {#if account?.type === types.ark}
{ $amountPrompt = false; newAmount = undefined; setType(types.ark); }} >
Ark
{:else}
setType(types.bitcoin)} >
Bitcoin
{/if}
{#if aid === user.id}
{t("payments.moreOptions")}
{/if}