⚙️How it work?
The NEAR Scan tool operates based on information such as the smart contract source code and contract address. The verification process includes the following steps:
Input information: Users provide the source code of the contract in a supported contract language on the NEAR Protocol (e.g., Rust or AssemblyScript) and the address of the contract to be verified.
Source code comparison: NEAR Scan will compare the source code provided by the user with the deployed source code on the NEAR blockchain. This process ensures the integrity of the source code.
Integrity verification: The tool checks the integrity by comparing the hash of the source code and verifies that it matches the hash of the deployed source code on the NEAR blockchain.
Verification result: NEAR Scan provides a verification result indicating whether the source code deployed on the NEAR blockchain matches the source code provided by the user. If the source code does not match, the user needs to investigate and address the differences.
Important Note: NEAR Scan only verifies the integrity of the smart contract source code on the NEAR blockchain. The verification of logic and functionality of the contract remains the responsibility of the deployer and users.
The source code of contracts on the NEAR Protocol is often publicly available on platforms like GitHub or NEAR Explorer. NEAR Scan does not generate new source code but only verifies that the deployed source code on the blockchain accurately corresponds to the published source code.
Last updated