@if (devMode) { }
@if (showBackButton) { } {{ title }}
@if (activeSection === 'main') {
} @else if (activeSection === 'cashu') {
@if (mints.length === 0) {
@if (showCashuInfo) {

Welcome to Cashu Wallet

Storage Considerations

@if (currentSyncFlow === BrowserSyncFlow.BROWSER_SYNC) {

Browser Sync is enabled

Sync storage is limited to ~100KB shared across all your vault data (identities, permissions, relays, and Cashu tokens). This limits your Cashu wallet to approximately 300-400 tokens.

For larger Cashu holdings, consider disabling browser sync which provides ~5MB of local storage (~18,000+ tokens).

} @else {

Local Storage Mode

You have ~5MB of local storage available, which can hold thousands of Cashu tokens. Your data stays on this device only.

}

Backup Your Wallet

Important: Cashu tokens are bearer assets. If you lose your vault backup, you lose your tokens permanently.

Vault exports are saved to your browser's downloads folder. Configure this to point to either:

  • Your backup storage device (external drive, NAS)
  • A folder synced by your backup tool (Syncthing, rsync, etc.)

{{ browserDownloadSettingsUrl }}

} @else {
No mints connected yet.
}
} @else {
@for (mint of mints; track mint.id) { }
}
} @else if (activeSection === 'cashu-detail' && selectedMint) {
{{ formatCashuBalance(selectedMintBalance) }} sats
@if (refreshError) {
{{ refreshError }}
}
Tokens ({{ selectedMintProofs.length }})
@if (selectedMintProofs.length === 0) {
No tokens stored
} @else {
@for (proof of selectedMintProofs; track proof.secret) {
{{ proof.amount }} {{ formatProofTime(proof.receivedAt) }}
}
}
Mint URL {{ selectedMint.mintUrl }}
Unit {{ selectedMint.unit }}
} @else if (activeSection === 'cashu-add') {
@if (mintError) {
{{ mintError }}
} @if (mintTestResult) {
{{ mintTestResult }}
}
} @else if (activeSection === 'cashu-receive') {
@if (receiveError) {
{{ receiveError }}
} @if (receiveResult) {
{{ receiveResult }}
}
} @else if (activeSection === 'cashu-send') {
Available: {{ formatCashuBalance(selectedMintBalance) }} sats
@if (sendError) {
{{ sendError }}
} @if (sendResult) {
Token to Share
} @if (!sendResult) {
}
} @else if (activeSection === 'cashu-mint' && selectedMint) {
@if (!depositInvoice) {
@if (depositError) {
{{ depositError }}
}
} @if (depositInvoice) {
@if (depositInvoiceQr) { Invoice QR Code }
@if (depositQuoteState === 'UNPAID') { Waiting for payment... @if (checkingDepositPayment) { checking } } @else if (depositQuoteState === 'PAID') { Payment received! Claiming tokens... } @else if (depositQuoteState === 'ISSUED') { ✓ Tokens received! }
@if (depositError) {
{{ depositError }}
} @if (depositSuccess) {
{{ depositSuccess }}
} @if (depositQuoteState === 'UNPAID') {
{{ depositInvoice }}
}
}
} @else if (activeSection === 'lightning') {
@if (connections.length === 0) {
No wallets connected yet.
} @else {
@for (conn of connections; track conn.id) { }
}
} @else if (activeSection === 'lightning-detail' && selectedConnection) {
{{ formatBalance(selectedConnection.cachedBalance) }} sats
Relay {{ selectedConnection.relayUrl }}
@if (selectedConnection.lud16) { }
Transactions
@if (loadingTransactions) {
Loading...
} @else if (transactionsNotSupported) {
Transaction history not supported by this wallet
} @else if (transactionsError) {
{{ transactionsError }}
} @else if (transactions.length === 0) {
No transactions yet
} @else {
@for (tx of transactions; track tx.payment_hash) {
{{ tx.type === 'incoming' ? '⬇' : '⬆' }} {{ tx.type === 'incoming' ? 'Received' : 'Sent' }} {{ formatBalance(tx.amount) }} {{ formatTransactionTime(tx.created_at) }}
}
}
} @else if (activeSection === 'lightning-receive' && selectedConnection) {
@if (lnReceiveError) {
{{ lnReceiveError }}
} @if (!generatedInvoice) {
} @if (generatedInvoice) {
@if (generatedInvoiceQr) { Invoice QR Code }
{{ generatedInvoice }}
}
} @if (showPayModal && selectedConnection) { } @else if (activeSection === 'lightning-add') {
@if (connectionError) {
{{ connectionError }}
} @if (connectionTestResult) {
{{ connectionTestResult }}
} @if (nwcService.logs.length > 0) {
Connection Log
@for (entry of nwcService.logs; track entry.timestamp) {
{{ entry.timestamp | date:'HH:mm:ss' }} {{ entry.message }}
}
}
}