Skip to content

rorp/xerion-lightning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xerion - Lightning Tip Page

A simple web service that allows visitors to send Lightning payments. Built with Elixir and the Lexe API.

Prerequisites

Environment Variables

The application uses a .env file for configuration. Copy env.example to .env and modify the values:

cp env.example .env

Required environment variables:

  • LEXE_SIDECAR_PATH: Path to the Lexe sidecar binary

Installation

  1. Install dependencies:

    mix deps.get
  2. Start the application:

    mix run --no-halt

The web server will start on port 8080. Visit http://localhost:8080 to see the tip page.

Features

  • Simple and clean UI for sending Lightning payments
  • QR code generation for easy mobile scanning
  • Real-time payment status updates
  • Confetti animation on successful payment
  • Automatic Lexe sidecar management

API Endpoints

  • GET / - Serves the tip page
  • POST /create_invoice - Creates a new Lightning invoice
  • GET /payment_status - Checks the status of a payment

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages