Skip to content

johngribbin/ROYGBIV-frontend

 
 

Repository files navigation

ROYGBIV

Prism Preview

Introduction

ROYGBIV creates Lightning prisms, which are BOLT 12 offers that split Lightning payments to different parties at percentages you define.

This repository contains a progressive web app - the frontend component to ROYGBIV. The backend plugin is available here and requires Core Lightning with the runtime flag 'experimental-dual-fund.'

BOLT 12 offers are static QR payment codes that can be reused again and again. Currently, ROYGBIV supports prism payouts to node pubkeys via keysend.

Coming Soon

  • Functionality to edit existing prisms: add or remove members, change share amounts, etc.
  • Support for split payments to other BOLT 12 offers, LNURL, AMP, and Lightning Addresses
  • Different payout strategies, such as payment amount thresholds and time-based payouts

Install Instructions

  1. Clone ROYGBIV
git clone https://github.com/johngribbin/ROYGBIV-frontend.git
cd ROYGBIV-frontend
  1. Install the dependencies
npm i
  1. Start the app in dev mode
npm run dev
  1. Open http://localhost:5173 in your browser

  2. This app requires a core lightning backend. You can bring your own core lightning backend, or use this repo that was used to create (roygbiv.money)[https://roygbiv.money].

About

Browser UI for CLN Prism plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 53.9%
  • TypeScript 40.7%
  • JavaScript 2.7%
  • Shell 1.8%
  • Other 0.9%