Skip to content

Create an SPSP server with the command line and localtunnel

Notifications You must be signed in to change notification settings

interledgerjs/ilp-spsp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ILP SPSP Server

Command-line tool to run an SPSP server

Example

You must be running Moneyd to use this module.

In one terminal, run:

npm install -g ilp-spsp-server ilp-spsp
ilp-spsp-server --subdomain 123456 # you may need to change this to a unique name

Then in a second terminal, run:

ilp-spsp send --receiver '$123456.localtunnel.me' --amount 100

You'll see sent! on the sending side, and got packet for 100 drops on the receiving side.

Help

Options:
  --subdomain    subdomain for localtunnel  [default: "<Random>"]
  --localtunnel  use localtunnel  [default: true]
  --port         port to listen locally
  --help         Show help  [boolean]

About

Create an SPSP server with the command line and localtunnel

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •