Moving liquidity from incoming payment to wallet address #1970
sabineschaller
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
Web Monetization use case: If Rafiki uses an asset scale of 9 but the ASE's ledger uses an asset scale of 2, incoming payments may hold liquidity that cannot be represented in asset scale 2 (they would round to 0). In that case, instead of withdrawing the liquidity from the incoming payment out of Rafiki, we want to move it to the wallet address' liquidity account until that accumulates enough liquidity to be represented in asset scale 2. Once the wallet address' liquidity account crosses that threshold, it should emit a webhook event to the ASE.
Beta Was this translation helpful? Give feedback.
All reactions