Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expose the LNURL on your CAS server:

Tip

Open inbound the exposed proxy port 7743 to all incoming traffic.

After implementing LN in Crypto Settings, a new HTTPS REST service will begin listening on:

...

...

    • withdraw

    • /extensions/lnurl/withdraw-confirm

This endpoint must be certified (via a CA), proxied, and publicly accessible from the Internet. The User’s wallet app will connect to it directly when your customer scans their LNURL QR code.

...

code.

The file /batm/config/hostname affects the URL presented during transactions.

  • It should contain the fully qualified domain name (FQDN) for CAS.

  • e.g. agent86.yourcasdomain.com

Create the lnurl configuration file.

...

Code Block
base_url=https://agent86.yourcasdomain.com:7743/extensions/lnurl
  • Replace agent86.yourcasdomain.com with your publicly accessible CAS , proxied LNURL domain name.

    • When accessed in a web browser, the URL should connect, displaying just: BATM LNURL REST Service

  • The site must support HTTPS & the URL must specify HTTPS.

  • The URL should have no trailing “/”.

...