@dated/auto-refunds
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Automatic HTLC Refunds

Automatically send HTLC refunds for expired locks.

License: MIT

Installation

yarn global add @dated/auto-refunds

Configuration

Register the plugin at the end of your plugins file, ~/.config/ark-core/devnet/plugins.js:

module.exports = {
  ...
  "@dated/auto-refunds": {
    enabled: true,
    passphrase: "super dooper passphrase",
    publicKeys: ["*"], // list of sender public keys for which to send refunds
    interval: 5 // interval in blocks between checks for expired locks, defaults to 5
  },
};

Security

If you discover a security vulnerability within this package, please send an e-mail to hello@dated.fun.

Credits

License

MIT © Edgar Goetzendorff

Readme

Keywords

none

Package Sidebar

Install

npm i @dated/auto-refunds

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

626 kB

Total Files

23

Last publish

Collaborators

  • dated