An implementation of the Simple Ledger Postage Protocol
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.
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.
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.
- Install the required packages and run the server (development mode only for now)
npm install -g yarn
yarn
yarn dev
- Take a look at the config.ts file, set up your mnemonic for the wallet.
- Set up your postage rate and accepted SLP tokens.
- 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.
@alcipir
MIT License