Add service fee to specific wallet (#2050)
* add service fee to specific wallet * add to .env.example * Added service fee wallet to manage server * cleaned * prettier * Added badge for service fee * Added tooltip * Added service fee max * allow ignoring service fee for internal transactions * add fee_reserve_total helper funciton that includes service_fee * html for admin ui * typo * Update .env.example Co-authored-by: Pavol Rusnak <pavol@rusnak.io> * fix .env.template comment * bundle * WIP: expose fee reserve endpoint --------- Co-authored-by: Arc <ben@arc.wales> Co-authored-by: dni ⚡ <office@dnilabs.com> Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
co-authored by
Pavol Rusnak
Arc
dni ⚡
parent
4dcf26bcb3
commit
6a27b91fcb
@@ -214,6 +214,7 @@ async def wallet(
|
||||
"user": user.dict(),
|
||||
"wallet": userwallet.dict(),
|
||||
"service_fee": settings.lnbits_service_fee,
|
||||
"service_fee_max": settings.lnbits_service_fee_max,
|
||||
"web_manifest": f"/manifest/{user.id}.webmanifest",
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user