+
+
+ {{! Lightning address status }}
+
+ {{#if this.lnurlLoading}}
+
Loading lightning address...
+ {{else if this.lightningAddress}}
+
+ Lightning
+ {{this.lightningAddress}}
+
+ {{/if}}
+ {{#if this.lnurlError}}
+
{{this.lnurlError}}
+ {{/if}}
+
+
+ {{! Step: Select Amount }}
+ {{#if (eq this.step "select-amount")}}
+
+
+ {{this.formattedAmount}}
+ sats
+
+
+
+
+
+ {{#each this.sliderTicks as |label|}}
+ {{label}}
+ {{/each}}
+
+
+ {{#if this.lnurlEndpoint}}
+
+ Min:
+ {{this.minSats}}
+ sats · Max:
+ {{this.maxSats}}
+ sats
+
+ {{/if}}
+
+
+
+
+
+
+
+
+
+
+
+ {{/if}}
+
+ {{! Step: Fetching Invoice }}
+ {{#if (eq this.step "fetching-invoice")}}
+
+
+
Creating zap request and fetching invoice...
+
+ {{/if}}
+
+ {{! Step: Awaiting Payment }}
+ {{#if (eq this.step "awaiting-payment")}}
+
+
+ Scan to pay
+ {{this.formattedAmount}} sats
+
+
+
+
+
+
+
+ Open in Lightning wallet
+
+
+ {{#if this.hasWebLN}}
+
+ {{/if}}
+
+
+
+
+
+
+
+
+
+ {{/if}}
+
+ {{! Step: Paying with Wallet }}
+ {{#if (eq this.step "paying-with-wallet")}}
+
+
+
Paying invoice with WebLN...
+
+ {{/if}}
+
+ {{! Step: Wallet Pay Error }}
+ {{#if (eq this.step "wallet-pay-error")}}
+
+
{{this.error}}
+
+ The WebLN payment failed. You can still scan the QR code with a
+ Lightning wallet.
+
+
+
+
+
+
+ {{/if}}
+
+ {{! Step: Success }}
+ {{#if (eq this.step "success")}}
+
+
⚡
+
Zap Sent!
+
+ You zapped
+ {{this.formattedAmount}} sats
+ {{#if this.message}}
+ with message: "{{this.message}}"
+ {{/if}}
+
+
+
+ {{/if}}
+
+ {{! Step: Error }}
+ {{#if (eq this.step "error")}}
+
+
{{this.error}}
+
+
+
+
+
+ {{/if}}
+