web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

[feature] API to add new verified domains

Open antoinedc opened this issue 5 months ago • 1 comments

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.

antoinedc avatar Sep 03 '24 21:09 antoinedc