-
Notifications
You must be signed in to change notification settings - Fork 13
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
Implement "Buy G$" #483
Comments
@patpedrosa |
@sirpy added the last section for 'testing'. wdyt for enabling selfswap for dev envs? |
@sirpy dont see why, dev envs should simulate prod env. |
you just send a little cusd to the target contract address. The only reason to buy crypto is to test the iframe message we marked requires testing. |
you just send a little cusd to the target contract address. |
no its not, the UI detects there's a balance in the swap contract and triggers the backend request. |
@L03TJ3 the "buy flow" events follow the same pattern as the other ones: Are 3 events:
I don't know if it's possible, but if we can send the amount (in G$) they are purchasing, it would be very good |
@L03TJ3 @johnsmith-gooddollar |
The progress bar should show the cUSD, not Celo |
For this feature, we'll deploy it to production featured flagged on wed but hide it from the menu. The goal is for the team to be able to test it in production for the next couple of weeks, and then launch it to the general public at a later date. We'll use post hog. |
1. Feature Overview
Short Description
The goal is to allow users to Buy G$ easily by guiding them through a flow where they buy cUSD through the Onramper widget, then we swap it for G$ and send it back to their wallets.
Purpose
We want to create more demand drivers and to facilitate to users who might find it difficult to buy G$ directly from the reserve on Ethereum Mainnet or from the liquidity pools on Uniswap/Voltage.
2. Detailed Description:
User Story/Requirement
As a user, I want to buy g$ so that I can donate, use it in other dApps, or keep it for myself.
Acceptance Criteria
Design
Animation States
1 Blue: User opens Buy G$
1 Blue with progress bar animation: User clicked or tapped the Onramper widget
1 Blue, static line between 1 and 2, 2 Blue: Funds have arrived the Smart Contract Wallet
1 Blue, static line between 1 and 2, 2 Blue with progress bar animation: Transaction sent to blockchain
1 Blue, static line between 1 and 2, 2 Blue with static line between 2 and 3, 3 Blue: Transaction success, G$ in user's wallet
Mobile/Desktop UI
https://www.figma.com/file/ihw1PxBvLxacTHnN2aj4lC/3.-Product-%F0%9F%92%B5?type=design&node-id=8462-5299&mode=design&t=m0chK13x87EHznwa-0
What needs to be tested before deployment
(qa)
---- To find your sc wallet address, (connect to gooddapp, and stay on the gd-buy-page)
(prod)
The text was updated successfully, but these errors were encountered: