Skip to content

more control of LND account spending rates #583

Open
@AndySchroder

Description

@AndySchroder

With LND accounts we can allocate an initial balance to the account and also set an expiration date of the account.

It would be nice to have the following additional features:

  • Daily/hourly spending limit amount.
  • Max sending transaction size.
  • Max number of transaction allowed to be sent per second, hour, and day.

These additional controls can help in the following types of situations:

  • Accounts for children or employees where the user is spending someone else's balance and we would like to but some guide rails on what they can do.
  • Providing a macaroon to a service provider so that they can automatically request payment for their service on a regular interval.
  • Limit machine to machine payments where the machine may be easier to break into and steal the macaroon (think a car like in Distributed Charge).
  • Limit machine to machine payments in case the machine gets out of control (software bug) or the user doesn't realize their high product consumption rate or seller's high pricing structure.
  • Implementing something like the Bolt Card.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions