Deploy and verify a contract

circle-info

Prerequisites

  1. This documentation assumes you have already installed MetaMask on your system. If not, please install MetaMask first, either the web-based extension or the mobile app.

  2. For your convenience, pin 📍 the MetaMask extension to your preferred browser.

Building a smart contract is an essential part of the creative project that leads to a dApp for Chiliz Chain — or any blockchain, really.

There are two steps that you must go through once you have built your dApp's smart contract:

  1. Deploying the contract on Chiliz Chain.

  2. Verifying that contract.

These two steps are documented here.

circle-check

Step 1: Deploy your smart contract

You can use either of these options:

Deploy with Remixchevron-rightDeploy with thirdwebchevron-right

Step 2: Verify your smart contract

circle-check

Here are guides for each:

Verify with Chiliscanchevron-rightVerify with Chiliz Block Explorerchevron-right

Once your contract is verified, it will receive a "green dot" on the block explorer interface, indicating that your contract can be trusted.

Chiliscan example
Chiliz Block Explorer example

See for instance the PSG Fan Token contract:

PSG Fan Token on Chiliscan
PSG Fan Token on Chiliz Block Explorer

Last updated

Was this helpful?