Introducing SCORE Audit System

Simplifying the Deployment of Smart Contracts on ICON Network

Greetings ICONists,

We are happy to introduce ICON SCORE Audit System. ICON Score Audit System is a smart contract audit system that makes it easy for SCORE developers to verify and deploy smart contracts to the ICON Network. This system allows SCORE developers in the ICON Network to automatically review and verify their smart contract and to pre-audit their smart contract prior to submitting it to the auditors at ICON. Also, developers can deploy their smart contracts to ICON Network via this system.

ICON Foundation officially recommends all developers who want to develop SCORE on the ICON Network to use this audit system before they deploy their SCORE on the network. You can audit your SCORE by auditbut, deploy SCORE to the testnet, deploy SCORE to the mainnet, and get feedback from auditors at the Foundation.

Please access https://audit.icon.foundation and verify your smart contract using this system.

Figure 1. Flowchart of audit process

This system provides the following features:

  • Smart contract self-audit
  • Smart contract deployment
  • E-mail notifications for the audit result

1. Upload a SCORE code to ICON Audit System

  • Access to the “SCORE Audit” tab and click the “Upload” button to upload SCORE codes.
Figure 2. “SCORE Audit” tab
  • As you can see in Figure 3 below, there are “SCORE Name” and “Parameters” input boxes, and “Upload Source Code” and “Submit” buttons.
  • Enter the SCORE’s name. If the SCORE has parameters required for SCORE installation, enter parameters to the input box. Also, press the “Upload Source Code” button to select your compressed codes.
  • Click the “Submit” button. Then, the SCORE codes will be uploaded in the ICON Audit System.
Figure 3. Upload a new SCORE

2. Deploy the SCORE code to the Auditnet and run the audit-bot

Now that you successfully uploaded the SCORE source code on ICON Audit System, you can start to self-audit via the self-audit bot in the Auditnet to check and verify your SCORE before submitting SCORE to the Mainnet Auditors.

  • First, click the “Deploy to Auditnet” button to deploy your SCORE to the Auditnet
Figure 4. “Deploy to Auditnet” button
  • When the status message changes to “Ready For Audit”, press the “Run the audit bot” button to run the audit-bot.
  • Wait for a couple of minutes until the audit bot finishes the auditing process. The status tag of each audit item will change to “pass” or “hold”.

3. Get the result from the audit-bot

After the audit-bot finishes auditing your SCORE codes based on the audit items, you can get the result of the audit. Before you deploy the SCORE, you should check and fix issues that the audit-bot points out.

Figure 5. Auditbot will provide a self-audit result

4. Deploy the audited code to ICON Mainnet or Testnet

Once the audit process is finished, you can submit the audited SCORE code to ICON Mainnet or Testnet.

  • Press the “Deploy to ICON” button.
  • Select “Network” that you want to deploy.
  • Click the “Select Address” button and choose your desired address with the ICX to pay the transaction fee.
  • Finally, click the “Submit” button to deploy your SCORE code to your destination network.
Figure 6. SCORE Deployment

5. Check the status of your SCORE

You can see one of the following messages that helps to understand the status of SCORE. If you deployed your SCORE to the ICON Network Mainnet, auditors will audit and test your SCORE and leave a decision.

  • Uploaded — SCORE code has been uploaded to the ICON SCORE Audit System
  • On Auditnet- SCORE code has been deployed to the Auditnet
  • Deployed — SCORE code has been deployed to the ICON Network
  • Accepted — Deployed SCORE in the ICON Network has been accepted
  • Rejected — Deployed SCORE in the ICON Network has been rejected
  • Report Saved — The report provided by Auditor has been saved
  • Report Uploaded — The report provided by Auditor has been uploaded
  • Report Updated — The report provided by Auditor has been updated
Figure 7. Status of each SCORE

Thank you,

ICON Foundation

stay up to date with icon