https://github.com/interledgerjs/ilp-spsp-server
Create an SPSP server with the command line and localtunnel
https://github.com/interledgerjs/ilp-spsp-server
Last synced: about 1 month ago
JSON representation
Create an SPSP server with the command line and localtunnel
- Host: GitHub
- URL: https://github.com/interledgerjs/ilp-spsp-server
- Owner: interledgerjs
- Created: 2018-01-26T00:28:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T02:35:24.000Z (over 3 years ago)
- Last Synced: 2025-03-30T23:31:36.580Z (2 months ago)
- Language: JavaScript
- Size: 85.9 KB
- Stars: 4
- Watchers: 3
- Forks: 8
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ILP SPSP Server
> Command-line tool to run an SPSP server- [Example](#example)
- [Help](#help)## Example
You must be running [Moneyd](https://github.com/sharafian/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: ""]
--localtunnel use localtunnel [default: true]
--port port to listen locally
--help Show help [boolean]
```