Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ultraviolet Suite

A unified playground Adjudicator for exploring three off-chain payment-channel protocols—Ultraviolet, Lightning Network, and Sleepy Channels—together with a on-chain cost analysis script.

Adjudicator

Prerequisites

  • Go 1.23 or newer.

Build

go build

Produces a single executable, adjudicator.

Usage

Payee

./adjudicator -p -a 0.0.0.0:<port>

Flag Default Description
-p — Run in payee mode.
-a, --address 0.0.0.0:8081 Local bind address & port to listen on.

Payer (node that sends payments)

./adjudicator \
  --address 0.0.0.0:<port> \
  --payer-public-address  <payer_ip>:<payer_port> \
  --payee-public-address  <payee_ip>:<payee_port> \
  --payer-balance         <sats> \
  --payee-balance         <sats> \
  --single-payment-amount <sats> \
  --total                 <count> \
  --protocol              <ultraviolet|lightning_network|sleepy_channel>
Flag Required? Description
--address No Local bind address; default 0.0.0.0:8081.
--payer-public-address Yes Routable host:port where this payer can be contacted.
--payee-public-address Yes Routable host:port of the payee.
--payer-balance Yes Initial balance allocated to the payer.
--payee-balance Yes Initial balance allocated to the payee.
--single-payment-amount Yes Amount for each individual payment.
--total Yes Total number of payments to send over the channel.
--protocol Yes One of ultraviolet, lightning_network, sleepy_channel.
--detail No Show detail information (latencies, etc.)

2 On-Chain Cost Analysis (scripts/cost.py)

Prerequisites

pip install bitcoin-utils

Run

cd scripts
python3 cost.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages