LndHub icon indicating copy to clipboard operation
LndHub copied to clipboard

Lndhub Fee

Open ohenrik opened this issue 5 years ago • 4 comments

Quick question: Does the default LndHub take a fee? Ref these lines:

https://github.com/BlueWallet/LndHub/blob/92f1370dbade2de12719f3bc043f8b7a433de38e/controllers/api.js#L166-L175

Does this mean that if users on my lndhub spend 1000 sat, my hub earns 10 sat?

If so, i think this should be configurable. I can add contribute with this if needed.

ohenrik avatar Mar 12 '19 16:03 ohenrik

You are correct. I added this recently. Havent thought about proper place for this configuration, so dont rush

On Tue, Mar 12, 2019 at 16:37 Ole Henrik Skogstrøm [email protected] wrote:

Quick question: Does the default LndHub take a fee? Ref this line:

https://github.com/BlueWallet/LndHub/blob/92f1370dbade2de12719f3bc043f8b7a433de38e/controllers/api.js#L173

Does this mean that in users on my lndhub spend 1000 sat, my hub earns 10 sat?

If so, i think this should be configurable. I can add contribute with this if needed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BlueWallet/LndHub/issues/27, or mute the thread https://github.com/notifications/unsubscribe-auth/AB0x-df2AL28-YZQ07pxNzc1PWlyUmOpks5vV9fbgaJpZM4brWwe .

Overtorment avatar Mar 12 '19 17:03 Overtorment

@Overtorment is it safe to set fee to 0?

lessless avatar Jan 17 '20 19:01 lessless

@lessless I think so

Overtorment avatar Jan 17 '20 21:01 Overtorment

could perhaps be resolved with set fees in config at startup #238

lndhub-admin avatar Jul 08 '21 07:07 lndhub-admin