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

Frontend #6

Open
2xic opened this issue Apr 4, 2022 · 3 comments
Open

Frontend #6

2xic opened this issue Apr 4, 2022 · 3 comments

Comments

@2xic
Copy link
Owner

2xic commented Apr 4, 2022

The project needs a frontend to be user friendly.

I think it's best to use the metamask api to interact with the frontend + smart contract. It's what most people are already familiar with.

In the frontend users has to be (at least) able to do the following

  • buy and sell the chip token (stablecoin)
  • deposit into a pool
  • withdrawal from a pool

If we want to be fancy we can create a more fancy dashboard for the position, but this is not required for the first version.

@norswap
Copy link
Contributor

norswap commented Apr 4, 2022

We'll also need at least a way to purchase / sell our stablecoin. Though that could just be an ERC-20 + a pool in an external service for an MVP.

Step 2 would be implementing the pool ourselves (we'll sort of need these components later both frontend or backend).

@2xic
Copy link
Owner Author

2xic commented Apr 4, 2022

@norswap Good point! Not sure how I missed that one 😅️ Updated the first post with a new bullet point !

Have you put any thoughts into how the initial coin supply will enter the market ? I was thinking we could mint the chip token in exchange for some other stablecoin (i.e USDC).

If the project takes off, I envision other protocols (i.e Uniswap) might start to offer the chip token.

NVM, reread the original spec, and you mentioned it there :D

@2xic
Copy link
Owner Author

2xic commented Apr 4, 2022

We should probably also add support for $C-$CFD AMM in the frontend. This would serve as an additional step to make sure users smoothly can withdraw a position.

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

2 participants