Skip to content

breez/glow-web

Repository files navigation

Glow Web App

A demo web and PWA app showing how to implement Breez SDK with WebAssembly.

See it in action here.

Note: The demo is for demonstration purposes only and not intended for production use.

Overview

Built with React, this demo app showcases best practices for integrating Lightning in a web environment using the Breez SDK’s WebAssembly bindings. It enables users to:

  • Send payments via various protocols such as: Lightning address, LNURL-Pay, Bolt11, BTC address, Spark address
  • Receive payments via various protocols such as: Lightning address, LNURL-Pay, Bolt11, BTC address

Technologies Used

  • Breez SDK for all the bitcoin functionality
  • React with TypeScript
  • Tailwind CSS for styling

Getting Started

Clone the repository

git clone https://github.com/breez/breez-sdk-spark-example.git
cd breez-sdk-spark-example

Install dependencies

npm install

Start the development server

npm run dev

The application will be available at http://localhost:5173

Building for Production

npm run build

The build output will be in the dist directory.

Security Notes

  • The app stores your mnemonic in localStorage, which is not suitable for production use
  • For a production app, use secure storage and encryption for sensitive data

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7