Explorer Tools for DApp Development
Last updated
Last updated
Explorer Smart Contract Tools
The Explorer (https://explorer.script.tv/) provides a set of tools similar to Etherscan for users to interact with and inspect smart contracts deployed on-chain.
Verify Contract Source Code and Interact with Contracts
After a smart contract is deployed, the Script explorer allows users to upload and verify the source code of the smart contract. To do this, after a smart contract is deployed on chain, navigate to the explorer page for the contract address. Then simply scroll down the page. After the "Transactions" section, you should see a text box for uploading the contract source code. Simply copy and past your contract source code, and select the Compiler Version and Optimization option (need to be identical to your settings when you compiled the contract). Next hit "Verify and Publish".
Below is an example showing how to publish the source code of the contract to the explorer.
After the contract is verified, you should see the verified source code as shown in the screenshot below.
In addition, by clicking on the "Read Contract" tab, the explorer will extract and display all the readable attributes of the smart contract as shown below.