Skip to content

lnbits/splitpayments

Repository files navigation

Split Payments - LNbits extension

For more about LNBits extension check this tutorial

Have payments split between multiple wallets

LNbits Split Payments extension allows for distributing payments across multiple wallets. Set it and forget it. It will keep splitting your payments across wallets forever.

Usage

  1. After enabling the extension, choose the source wallet that will receive and distribute the Payments

choose wallet

  1. Add the wallet or wallets info to split payments to

split wallets - get the LNURLp, a LNaddress, wallet id, or an invoice key from a different wallet. It can be a completely different user on another instance/domain. You can get the wallet information on the API Info section on every wallet page
wallet info - set a wallet Alias for your own identification\

  • set how much, in percentage, this wallet will receive from every payment sent to the source wallet
  1. When done with adding or deleting a set of targets, click "SAVE TARGETS" to make the splits effective.

  2. You can have several wallets to split to, as long as the sum of the percentages is under or equal to 100%. It can only reach 100% if the targets are all internal ones.

  3. When the source wallet receives a payment, the extension will automatically split the corresponding values to every wallet.

    • on receiving a 20 sats payment
      get 20 sats payment
    • source wallet gets 18 sats
      source wallet
    • Ben's wallet (the wallet from the example) instantly, and feeless, gets the corresponding 10%, or 2 sats
      ben wallet

IMPORTANT:

  • If you split to a LNURLp or LNaddress through the LNURLp extension make sure your receipients allow comments ! Split&Scrub add a comment in your transaction - and if it is not allowed, the split/scrub will not take place.
  • Make sure the LNURLp / LNaddress of the receipient has its min-sats set very low (e.g. 1 sat). If the wallet does not belong to you you can check with a Decoder, if that is the case already
  • Yes, there is fees - internal and external! Updating your own wallets on your own instance will not cost any fees but sending to an external instance will. Please notice that you should therefore not split up to 100% if you send to a wallet that is external (leave 1-2% reserve for routing fees!). External fees are deducted from the individual payment percentage of the receipient

Bildschirm­foto 2023-05-01 um 22 14 36

Bildschirm­foto 2023-05-01 um 22 17 52

Sponsored by