lnbits-legend/lnbits/extensions/splitpayments
calle 089313f613
Logging with loguru (#708)
* logging

* requirements

* add loguru dependency

* restore it

* add loguru

* set log level in .env file

* remove service fee print

* set log level

* more logging

* more logging

* more logging

* pyament.checking_id

* fix
2022-07-07 14:30:16 +02:00
..
static/js Format: prettier (#707) 2022-07-05 21:14:56 +02:00
templates/splitpayments Format: prettier (#707) 2022-07-05 21:14:56 +02:00
__init__.py Chore, applied black 2021-11-26 05:58:20 +00:00
config.json splitpayment init 2021-10-18 12:34:45 +01:00
crud.py splitpayment init 2021-10-18 12:34:45 +01:00
migrations.py splitpayment init 2021-10-18 12:34:45 +01:00
models.py black 2021-11-12 04:14:55 +00:00
README.md splitpayment init 2021-10-18 12:34:45 +01:00
tasks.py Logging with loguru (#708) 2022-07-07 14:30:16 +02:00
views_api.py general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
views.py splitpayments working - hard one 2021-10-18 19:39:35 +01:00

Split Payments

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 wallet id, or an invoice key from a different wallet. It can be a completely different user as long as it's under the same LNbits 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 wallets
  1. When done, 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%

  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

Sponsored by