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

"Client of client" contracts #5

Open
aashidham opened this issue Mar 20, 2023 · 0 comments
Open

"Client of client" contracts #5

aashidham opened this issue Mar 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@aashidham
Copy link
Contributor

Modify client contract to be able to accessed and used directly by an end user that did not author the contract. In other words, build a "client of client" contract that allows multiple clients to be able to interact with deal making primitives at the same time through one contract.

This is required to build end user facing dapps that interact with one client contract to make deals on behalf of many users.

Currently the dapp frontend requires the user to deploy their own contract: #2

For a dapp to eventually get built off this client contract, we need to:

  • Ensure that an end user can interact with a client contract that they did not deploy (eg figure out what is happening here: Dapp frontend errors #2)
  • For paid deals, ensure that the contract does the proper accounting to keep the escrow flows to the market actor "whole" to the user. In other words, if user A adds 10 FIL to the market actor, and user B adds 2 FIL to the market actor, we need to ensure the 12 FIL are accountable to users A and B. Users A and B should be able to add to / withdraw from their portion of the escrow and be "made whole" whenever possible.
@aashidham aashidham added the enhancement New feature or request label Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant