Skip to content

slpfoundation/simpleledger-post-office-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 (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.

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

Languages

  • TypeScript 91.5%
  • JavaScript 8.5%