w3b3d3v / kyodo-protocol

https://kyodo-protocol-mvp.vercel.app
MIT License
12 stars 5 forks source link

Batch payment of multiple agreements #184

Closed piadascripto closed 11 months ago

piadascripto commented 11 months ago

Description: Pay several agreements at once. User choose chain after selecting all agreements he/she wants to pay. Metamask is called to approve all payments at once.

Acceptance Criteria: Payment is successfully made after completing the flow

Requirements: Backend and smart contracts interactions

Context: User making the payments of agreements he/she chose

nomadbitcoin commented 11 months ago

In the first version of this feature, payment for all agreements will be made on the same token and the user must have the total amount available as a balance.

In a future version, we could have a selection of tokens for each agreement, but we will need to generate approval transactions for each of these tokens.