reown-com / appkit

The full stack toolkit to build onchain app UX
https://reown.com/appkit
Apache License 2.0
4.91k stars 1.4k forks source link

[feature] API to add new verified domains #2790

Open antoinedc opened 1 month ago

antoinedc commented 1 month ago

What problem does this new feature solve?

I'm building a block explorer as a service (https://tryethernal.com), and customers can host their explorer on their own subdomain. This explorer includes a contract interaction part, where users can send transactions through the UI. At the moment, the only way to connect a wallet is through Metamask.

I can't switch to WC because I need to manually whitelist every domain, and this would slow down the process of setting up an explorer considerably if I need to do that when a customer adds a new domain.

An alternative would be to ask the customer to create WC account and copy/paste the verification code, but that isn't an ideal UX.

Describe the solution you'd like

Ideally, I'd like to have an API that I can send a new domain to, and that returns the verification code. On my end, I'll be able to generate a dynamic /.well-known/walletconnect.txt file with all the verification codes.

rtomas commented 1 month ago

Hi @antoinedc, The team really like the idea and we are definitely on plans to do it. I don't think it will be available in the near future.