You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked to make sure that this feature has not already been filed
I'm reporting this information to the correct repository
I understand enough about this issue to complete a comprehensive document
Describe the feature and its requirements
The contracts deployed on Meter for CryptoBlades are needing to be verified. I have included the source code information section from the Meter development documentation below.
Meter explorer uses Sourcify for verifying the onchain contracts' byte code is exactly the same as the source code. Verifying contracts also allows the explorer to properly decode smart contract transactions. There are various tools (for example Remix plugins) that help developers to verify on Sourcify.
The submission for source code can be either done through Meter Explorer or Sourcify Portal. There are two levels of verification: 1. source code match and 2. both source code, metadata match. Source code match is considered the minimum for contract verification purposes.
The main difference between Sourcify and Etherscan verification is that Sourcify requires metadata to be uploaded for verification in addition to source code and byte code. Information on finding the metadata file is available in Sourcify Documents. Both the Meter explorer and Sourcify website allow uploading zip file. If your file is too large, we recommend directly using the Sourcify website to upload multiple files. If you are using Truffle, sometimes after you upload the json file, Sourcify complains not able to find the corresponding find .sol files in your local file path. You could try zip all the contract source code in a file and upload to Sourcify website. It will typically resolve the issue. From time to time, Sourcify may have problem recognizing files uploaded from Windows computers. You could try using a Mac to upload the files.
Is your feature request related to an existing issue? Please describe.
Is there anything stopping this feature being completed?
N/A
Describe alternatives you've considered
N/A
Additional context
The Sourcify portal from the Meter documentation does support uploading a single zip with all of the smart contracts and/or metadata. https://sourcify.dev/#/verifier
However, it might be even more involved than this based upon a quick and initial look into this by Taloner. It could require something to be written that would get all of the source files together so they can be uploaded by hand or so that they can be verified via the Meter API after getting the source files together. It would be a brand new script/verification process.
The text was updated successfully, but these errors were encountered:
Prerequisites
Describe the feature and its requirements
The contracts deployed on Meter for CryptoBlades are needing to be verified. I have included the source code information section from the Meter development documentation below.
Meter explorer uses Sourcify for verifying the onchain contracts' byte code is exactly the same as the source code. Verifying contracts also allows the explorer to properly decode smart contract transactions. There are various tools (for example Remix plugins) that help developers to verify on Sourcify.
The submission for source code can be either done through Meter Explorer or Sourcify Portal. There are two levels of verification: 1. source code match and 2. both source code, metadata match. Source code match is considered the minimum for contract verification purposes.
The main difference between Sourcify and Etherscan verification is that Sourcify requires metadata to be uploaded for verification in addition to source code and byte code. Information on finding the metadata file is available in Sourcify Documents. Both the Meter explorer and Sourcify website allow uploading zip file. If your file is too large, we recommend directly using the Sourcify website to upload multiple files. If you are using Truffle, sometimes after you upload the json file, Sourcify complains not able to find the corresponding find .sol files in your local file path. You could try zip all the contract source code in a file and upload to Sourcify website. It will typically resolve the issue. From time to time, Sourcify may have problem recognizing files uploaded from Windows computers. You could try using a Mac to upload the files.
Is your feature request related to an existing issue? Please describe.
It is related to [Feature] - Launch on Meter #1770
Is there anything stopping this feature being completed?
N/A
Describe alternatives you've considered
N/A
Additional context
The Sourcify portal from the Meter documentation does support uploading a single zip with all of the smart contracts and/or metadata.
https://sourcify.dev/#/verifier
However, it might be even more involved than this based upon a quick and initial look into this by Taloner. It could require something to be written that would get all of the source files together so they can be uploaded by hand or so that they can be verified via the Meter API after getting the source files together. It would be a brand new script/verification process.
The text was updated successfully, but these errors were encountered: