Developers FAQ

Can Chiliz Chain contracts be written in Solidity?

Yes, the Chiliz Chain is EVM compatible and supports Solidity. Note that CHZ on Chiliz Chain is the native token and not a smart contract. This is similar to ETH on Ethereum.

Use Solidity 0.8.23 for your contracts. Chiliz Chain does not support higher versions currently. Ensure we are running with EVM version 19.

How to obtain test tokens?

You can get test tokens for the Spicy network from two faucets, including our own.

Check our dedicated documentation here:

Spicy Faucets

Can I create my own fan tokens, or should I only use the existing ones?

You can create your own fan tokens, which are ERC20 tokens with 0 decimals.

While we encourage using existing ones, deploying your own on the Spicy Testnet may provide more liquidity for testing.

Is CREATE2 supported on Chiliz?

CREATE2 is support on Chiliz Chain Mainnet.

ThirdWeb has deployed a CREATE2 factory on the Spicy testnet. For reference, see the unverified contract at this address.

Is there a way to verify contracts on Spicy 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 token (CHZ)?

The Chiliz token (CHZ) has 18 decimal places.

Is Chiliz supported on Biconomy?

Yes! Chiliz support on Biconomy can be verified through their own documentation.

Refer to the following page for more details:

Biconomy and Chiliz

When should I upgrade mainnet vs testnet nodes?

If you run your own node, we advise you to upgrade both mainnet and 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.

You can use our wCHZ token if you prefer an ERC20 version of the token instead of the native token.

Last updated