-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] add useEtherscanLink #2
Comments
@nerderlyne what do you think about this idea. Does it belong in the Kali hooks library? |
Need this! It will take -> It will have return either -> I think we decided to build this on top of wagmi? Does this sound good to you? @ivelin |
Need this! It will take -> It will have return either -> I think we decided to build this on top of wagmi? Does this sound good to you? @ivelin |
Yes. All sounds good to me. |
I suppose after some battle testing this hook could become PR to wagmi itself. |
Is your feature request related to a problem? Please describe.
When users interact with on-chain data, they expect a friendly way to verify that it exists on-chain outside of the app UI. As a best practice, dapps provide a link to Etherscan web page with transaction data.
Describe the solution you'd like
A React Hook that takes as input chain ID, transaction hash or contract address and creates a populated URL to the correct chain explorer where the transaction or address are hosted.
Describe alternatives you've considered
Each app can use it's own ad hoc method for achieving this effect. I have not been able to find a common open source library with this functionality.
The text was updated successfully, but these errors were encountered: