Skip to content

emschwartz/ilp-plugin-balance-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plugin Balance Wrapper

Wrap an Interledger Ledger Plugin to extend it with simple balance logic

Usage

const { PluginBalanceWrapper } = require('ilp-plugin-balance-wrapper')
const plugin = new PluginBalanceWrapper({
  plugin: pluginToWrap,
  settleThreshold: 0,
  settleTo: 0,
  maximum: 1000
})
// Now use the plugin as normal

About

Wrap an Interledger plugin to add balance tracking logic

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published