apibara/starknet-react

How to identify dapp on connect?

rsodre opened this issue · 3 comments

Hello,

I can't find anywhere on the docs and examples...
How can we give a name and icon to our dapp before connect()?
It always uses the current url, even on the Demo, the dapp name is starknet-react.com.

On connect, my dapp name and icon should be here:

Screenshot 2024-04-03 at 13 22 18

And after connection...

Screenshot 2024-04-03 at 13 11 44

Good question, let me ask to the wallet providers because AFAIK there is no API for it.

I think StarknetKit can do it

I checked with argent and the icons/name come from their own database of dapps. The frontend has no control over it.

Going to close the issue since there's nothing we can do for it.