Deploy and verify a contract
Last updated
Was this helpful?
Last updated
Was this helpful?
This documentation assumes you have already installed MetaMask on your system. If not, please first, either the web-based extension or the mobile app.
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:
Deploying the contract on Chiliz Chain.
Verifying that contract.
These two steps are documented here.
To ensure that your transaction doesn't remain in "pending" status for too long, you should include enough to cover the fees:
Minimum gas fee: 2,500 gwei.
Minimum priority fee: 1 gwei.
You can use either of these options:
After creating a smart contract, it is necessary to verify it. Only you can do it, and you should do it as soon as possible.
Verifying a smart contract allows you to confirm that the contract's source code corresponds to a specific contract address on the blockchain. This is crucial for transparency and trust, especially in the decentralized world of blockchain.
Here are guides for each:
Once your contract is verified, it will receive a "green dot" on the block explorer interface, indicating that your contract can be trusted.
See for instance the PSG Fan Token contract:
Once you have deployed your smart contract on Chiliz Chain, you can verify it by using a block explorer, such as (by ) or (by ).