DjedAlliance / Djed-Solidity-WebDashboard

https://djed.one
10 stars 20 forks source link

Implement a StablePay Button Widget #99

Open ceilican opened 7 months ago

ceilican commented 7 months ago

Many merchants would like to enable crypto payments, but this is currently hard to do. Existing solutions (e.g. "nowpayments") charge large fees from the merchants and customers, rely on centralized backends and are operated by companies who serve as centralized gatekeepers deciding which tokens get listed as available for payments.

Most stablecoins live isolated in the world of DeFI and are not really adopted by merchants and customers. By making a "StablePay" widget that merchants could easily integrate in their websites, Djed stablecoins could become the preferred stablecoins for payments, boosting their adoption.

This widget should be similar in functionality and developer experience as a "Pay with PayPal" widget.

The widget should allow the customer to connect his wallet, choose an EVM-compatible network supported by Djed (currently only Milkomeda, but more are coming...), and then pay either in the native currency of that network or using a Djed stablecoin in that network.

We should create a separate repo for this widget. But I'm describing this task in this repo for now, because much of the functionality could probably be borrowed from this repo. We will create a new repo, once we assign someone to this issue.

Tanya-ruby commented 7 months ago

@ceilican Can I work on this ?I would like to know more about how the interface must be built like?

a-singh09 commented 7 months ago

Hi, I would also like to contribute to this project.

For the interface, we can start with building dashboard layout with menus like show all transactions, create payment button widget with specific styles etc. Also for user clicking on payment button, we need to create a flow like PayPal which eventually opens MetaMask etc. for payments.

@ceilican @Tanya-ruby I am open to your valuable suggestions.

Tanya-ruby commented 7 months ago

@a-singh09 Hello,I see that you are already assigned an issue to Implement an Oracle Adapter? I don't have any issue assigned to me currently and It's been a week since I asked already ,I've made some research and would love to implement them in this.