Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pooled payments #5

Open
olanod opened this issue Mar 19, 2022 · 1 comment
Open

Pooled payments #5

olanod opened this issue Mar 19, 2022 · 1 comment
Milestone

Comments

@olanod
Copy link
Member

olanod commented Mar 19, 2022

Imagine a group of people who want to pay dinner together or pay for some common expenses like in a trip, we could allow people "joining efforts" to pay for a good or service 💡 In swap.cash I think I can use it to allow users who want to buy a lot of crypto receive the payment from multiple sources, the marketplace matches a list of people that can fulfill the amount of the order and initiates the payment request that includes the list of people and the amounts they have to contribute.

I think this can be an extension of the payment request feature, someone initiates the payment request(e.g. the marketplace) specifying the map of accounts and their share and then we keep track of who payed what. Don't think we need to modify our map of (payer,payee) => detail, the payer here can be an address generated deterministically(e.g. a hash of the map) and we use that same temporary account as the id to track the progress of the completion.

@olanod olanod transferred this issue from virto-network/virto-node Mar 20, 2022
@olanod olanod added this to the Payments V1 milestone Mar 20, 2022
@olanod olanod removed the payments label Mar 21, 2022
@olanod olanod changed the title Multi-party payment Pooled payments Mar 30, 2022
@olanod
Copy link
Member Author

olanod commented Mar 30, 2022

The payment request might also be open-ended, meaning there could be a target amount that might or might not need to be reached(and could even be surpassed), for this kind of request users don't need to specify the accounts that need to make the payment, anyone could jump in and pay any amount. This could enable other use-cases like fund-raisings, imagine several Virto communities paying for a road or other shared infrastructure :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant