Connected to {node?.alias || version || "unknown wallet"} via {$wallet.type}
Balance: {#await getWebLn() ?.enable() .then(() => getWebLn().getBalance())} {:then res} {new Intl.NumberFormat(LOCALE).format(res?.balance || 0)} {:catch} [unknown] {/await} sats
Connected to {lud16} via {displayRelayUrl(relayUrl)}
Balance: {#await new nwc.NWCClient({nostrWalletConnectUrl}).getBalance()} {:then res} {new Intl.NumberFormat(LOCALE).format(fromMsats(res?.balance || 0))} {:catch} [unknown] {/await} sats
No wallet connected
{/if}