Developers FAQ
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,501 gwei.
Minimum priority fee: 1 gwei.
Can I write Chiliz Chain contracts in Solidity?
Yes, Chiliz Chain is EVM-compatible and supports Solidity. Note that CHZ is the native token of Chiliz Chain, and not the name of a smart contract. This is similar to the ETH token on Ethereum.
Use Solidity 0.8.24 for your contracts. Chiliz Chain does not support a higher versions currently. Also, ensure that you are running with the "Shangai" EVM version.
How to obtain test tokens?
You can get test tokens for Spicy Testnet through faucets.
Check our dedicated documentation here:
Testnet FaucetsCan I create my own tokens, or should I only use the existing ones?
You can create your own token on Spicy Testnet, they are ERC20 tokens with 0 decimals.
While we encourage using existing ones, deploying your own on Spicy Testnet provides you with more liquidity for testing.
Can I verify contracts on Spicy Testnet using Hardhat?
Currently, there is no direct method to verify contracts on Spicy using Hardhat. We recommend flattening your contracts and using the Chiliz Chain explorer or Chiliscan. Ensure you correctly set the compiler version, EVM version, and optimization settings during verification.
For reference, see the Wrapped CHZ contract: 0x678c34581db0a7808d0aC669d7025f1408C9a3C6.
For easier management, consider using services like Moralis.io and Tatum.io for on-chain data instead of running your own node.
What is the decimal value for the Chiliz native token (CHZ)?
The Chiliz token (CHZ) has 18 decimal places.
Is Chiliz Chain supported on Biconomy?
Yes! Chiliz support on Biconomy can be verified through their own documentation.
Refer to the following page for more details:
BiconomyWhen should I upgrade Chiliz Mainnet vs Spicy Testnet nodes?
If you run your own node, we advise you to upgrade both Chiliz Chain Mainnet and Spicy Testnet nodes whenever a newer version is available.
What is the difference between a Testnet and Mainnet?
Testnet is a replica of the Mainnet blockchain and is used to test out the chain for free, without consuming gas fees. Mainnet on the contrary is where all the real transactions happen and you will be charged the actual gas fees as well. It's a real transfer of crypto coins / Fan tokens.
The Testnet is a testing ground for smart contracts that will later be deployed on Chiliz Chain. We are offering the Testnet for users to get a chance to play around with and test some basic on-chain smart contracts.
Spicy is our Testnet blockchain and Chiliz Chain is our Mainnet blockchain.
What happened to the Scoville Testnet?
We launched the Scoville Testnet in early 2022 to enable users to test out dApps that will be later deployed on the Chiliz Chain Mainnet.
Following external audits, we decided to improve the overall security and performance of our blockchain. However, since it couldn’t be done without a hard fork, in January 2023 we introduced the Spicy Testnet.
The Scoville Testnet should not be used anymore, and is deprecated.
We encourage all developers to deploy their tests on Spicy Testnet as it will be kept up-to-date to directly reflect the new Chiliz Chain.
Can I wrap CHZ on Spicy Testnet?
Yes, you can wrap on the Spicy Testnet.
Make sure you are connected to the Spicy Testnet in your wallet (e.g., MetaMask) before connecting, then open the Spicy Wrap UI and connect your wallet.
Use Wrapped CHZYou can use our wCHZ token if you prefer an ERC20 version of the token instead of the native token.
Last updated
Was this helpful?