chimoney / offline-pay-with-crypto Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
We want to enable users to Send Celo, cUSD, and other Crypto Payments without needing to have Crypto or know what crypto is.
We also want to enable people to use this Widget to start Offline p2p Businesses
To share a Payment request link with an Agent
Could you fix all styling and responsiveness issues? Highly recommend using a framework like material UI that gives you a base style.
Currently, there are lots of issues with responsively, positioning, layout etc.
Please, also test across multiple screens before opening a PR.
See some quick issues below:
Again, use a framework or base style instead of trying to style this frame scratch
With this Screen, users are able to initiate a payment and then have another person, an Agent, fulfill it.
Useful for situations where someone wants to pay with crypto or send crypto but does not have Crypto but then gives fiat to another person to fulfill said payment based on an offline rate
Also, could serve as an opportunity for anyone to start a non-custodial fully-decentralized crypto trading business without any 3rd party.
Currently, when I change the amount, the value is not synced to the crypto field values. Please either clear the fields or recalculate the amount to pay in CELO or cUSD
During request creation at https://offline-pay-with-crypto.onrender.com/, add a field for redirect URL. After payment, a user is redirected to the URL if set with some params
Params to send back:
The current structure of the docs is repetitive and a bit confusing. Could we adopt a structure similar to the one below, please?
Follows #4
Inspiration:
/celo/transaction/create
endpoint from the backend/celo/transaction/verfy
endpoint from the Celo serviceMilestone Description | Target date |
---|---|
UX: user research and interviews > low fi > high fi > clickable prototype | September 13, 2021 |
Backend to accept, verify, confirm cUSD payment with endpoints like /cusd-pay etc | November 13, 2021 |
Create a payment modal that:- A site can embed to accept cUSD payment- Users presented with the modal can send payment to- Payment from users will be verified in the backend and modal merchant will be notified- Modal will be published as an npm package after the grant | Jan 13, 2022 |
Implement a screen that can be embedded into any Website either by adding a <script> tag or importing the library
For this task, the modal will be empty.
Please, update the documentation to reflect the new changes to enable users to be able to integrate or use the project.
You might need to open issues as you run through them when testing out the project as the following users
Devs want to integrate the app with their projects. Ideally, they should be able to generate the payment URL from the code.
Please, describe the required params and how they work so that any new dev can easily integrate
Merchants looking to accept Celo, cUSD or other supported currencies will need to be able to go to the payment request generation page.
Please, document the process of getting to that page potentially with screenshots
When a user gets receives a payment link, please describe how they can pay from the various supported wallet
I have tested with https://celowallet.app/ and cUSD and Celo payments work. I have not tested with https://valoraapp.com/ app.
Payments should work with:
Appropriate error messages should be returned.
Please, ask uchi for some test tokens as these are live payments. ideally, send payments between 2 wallets that you own
See https://mui.com/components/grid/
And example starters
https://github.com/mui-org/material-ui/tree/master/examples/create-react-app
and https://mui.com/getting-started/example-projects/
Depends on #24
Resources:
Currently Celo's use-contractkit enables all wallets. We want to be able to show only the wallets that work: Valora, Celo Web Wallet, Metamask and disable the others that we have not tested.
Extend the payment link generator to do:
Think of the payment link generator as the merchant-facing experience but completely open-source and decentralized.
Also, if possible, validate the address or at least tell them to confirm it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.