Skip to content

TOKENLAND/simpleledger-post-office-server

Repository files navigation

Simple Ledger Post Office Server

An implementation of the Simple Ledger Postage Protocol

What it does, exactly?

It is a server that accepts modified Simple Ledger Payment Protocol transactions, adds stamps (inputs) to it to cover the fee costs, broadcasts the transaction and optionally takes SLP payments for the postage.

It enables all sorts of applications where the user can have only SLP tokens in their wallet and send transactions without the need for BCH as "gas", with the Post Office covering the costs of the transaction.

Demo

https://www.youtube.com/watch?v=NGCzujDCgYs

This demo uses a fork of Badger Wallet to send an SLP payment to someone else through a post office, without having any BCH.

Is it ready yet?

Right now the master branch contains a rough prototype that was used in the demo. You can follow this page to see the progress made towards a stable 0.0.1 version.

Use it at your own risk, there are no guarantees.

Installation and usage

  • Install the required packages and run the server
npm install -g yarn
yarn
yarn cli
yarn start
  • Set up your postage rate and accepted SLP tokens with yarn cli.
  • Fill up the server wallet with UTXOs comprising of 546 satoshis.
  • Send a modified transaction from a client to the server, according to the protocol.

More information about the protocol

Maintainer

@alcipir

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published