Smart contract verification is a highly demanded function to ensure the trustlessness of a blockchain. On the one hand, it allows developers to verify and publish their source code and thus authenticate the published smart contract. On the other hand, it provides transparency and ensures safety for users interacting with smart contracts. On Sui, smart contracts are called packages. Package verification is now available on Sui via Suiscan in partnership with Welldone Studio. The function checks that the source code provided by the published matches the package code deployed on-chain in the Move bytecode format.Documentation Index
Fetch the complete documentation index at: https://docs.modo.link/llms.txt
Use this file to discover all available pages before exploring further.
Verification Process
Package verification runs in 3 steps:- Preparation
- Package Submission
- Package Verification
Preparation
Go to the page showing the details of the package to be verified. If the package is already verified, two tabs will be available: Bytecode and Source Code. Otherwise, the Source Code tab will be missing.



Package Submission
To submit the source code:-
Click the Verify button. It will be activated only if the published package hasn’t been verified.

-
In the search line, enter part or full package ID of the package you want to verify. If the selected package has already been verified, it will be labeled.

- Upload the zip file containing the package source code from your device. You can click the Browse File button and select the file in the directory, or you can directly drag and drop the file to submit the source code for verification.

Package Verification
Now, wait until Welldone Studio checks the submitted source code for validity. The published package bytecode will be compared against the submitted source code. If they are the same, the package gets verified. Otherwise, the verification fails, and the smart contract remains unverified, though it is still published and available. As the verification check completes, you will see the result on the screen as shown below:

