hashgraph / hedera-sourcify

Tools for verifying Hedera smart contracts using standard open source libraries.
Apache License 2.0
6 stars 7 forks source link

Add a Link to the Metadata Section at docs.hedera.com for Generating Metadata File #62

Closed a-ridley closed 1 week ago

a-ridley commented 8 months ago

Problem

I was trying to verify a smart contract I had previously deployed. When I adding in my .sol file I was prompted to add in my metadata file. Untitled (1)

I was trying to figure out how to generate the metadata file. I googled "How to get my smart contract metadata hedera" and ran into the Verifying Smart Contract documentation. In that section, there is a section on how to generate the metadata file. Untitled (2)

Solution

Add a link to this metadata section to verify.hashscan.io/#/ to help other developers who may require guidance on creating the metadata file.

In addition, adding a note stating: It's important to note that when generating the metadata it is best to use the same tool you use to compile & deploy your smart contract.

Alternatives

No response

quiet-node commented 1 week ago

Hello @a-ridley thanks for openning the ticket and sorry for the late reply. So, with your suggestion, it could look like this

image

. The Lerarn more button will open a new link to the metadata section you mentioned. What do you think?

a-ridley commented 1 week ago

This looks great! Thanks @quiet-node 🥳