# Developer Toolbox

## Connect to Mainnet and Testnet

Chiliz Chain is available through a Mainnet for your production projects, and has a Testnet for testing purposes. The Chiliz Testnet is called Spicy Testnet.

{% tabs %}
{% tab title="Chiliz Chain Mainnet" %}

<table><thead><tr><th width="253">Parameter</th><th width="346">Value</th></tr></thead><tbody><tr><td>Network Name</td><td>Chiliz Chain</td></tr><tr><td>RPC endpoint</td><td>Recommended:<br><a href="https://rpc.ankr.com/chiliz">https://rpc.ankr.com/chiliz</a> <br><br>Alternatives:<br><a href="https://chiliz-mainnet.gateway.tatum.io">https://chiliz-mainnet.gateway.tatum.io</a><br><a href="https://chiliz-rpc.publicnode.com">https://chiliz-rpc.publicnode.com</a></td></tr><tr><td>Chain ID</td><td>88888</td></tr><tr><td>Currency Symbol</td><td>CHZ</td></tr><tr><td>Chiliz Block Explorer URL</td><td>Recommended:<br><a href="https://chiliscan.com">https://chiliscan.com</a><br><br>Alternative:<br><a href="https://scan.chiliz.com">https://scan.chiliz.com</a></td></tr></tbody></table>
{% endtab %}

{% tab title="Spicy Tesnet" %}

<table><thead><tr><th width="253">Parameter</th><th width="312">Value</th></tr></thead><tbody><tr><td>Network Name</td><td>Spicy Testnet</td></tr><tr><td>RPC endpoint</td><td>Recommended:<br><a href="https://spicy-rpc.chiliz.com/">https://spicy-rpc.chiliz.com/</a><br><br>Alternatives:<br><a href="https://chiliz-testnet.gateway.tatum.io">https://chiliz-testnet.gateway.tatum.io</a><br><a href="https://chiliz-spicy.publicnode.com/">https://chiliz-spicy.publicnode.com/</a></td></tr><tr><td>RPC Websocket</td><td>Recommended:<br>wss://spicy-rpc-ws.chiliz.com/<br><br>Alternative:<br>wss://chiliz-spicy.publicnode.com/</td></tr><tr><td>Chain ID</td><td>88882</td></tr><tr><td>Currency Symbol</td><td>CHZ</td></tr><tr><td>Spicy Block Explorer URL</td><td><p>Recommended:<br><a href="https://testnet.chiliscan.com/">https://testnet.chiliscan.com/</a></p><p><br>Alternative:<br><a href="https://spicy-explorer.chiliz.com/">https://spicy-explorer.chiliz.com/</a></p></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

For more information, see the [connect-using-rpc](https://docs.chiliz.com/develop/basics/connect-to-chiliz-chain/connect-using-rpc "mention") page.

## Obtain testnet tokens

You can obtain free test CHZ tokens through a faucet, allowing you to experiment on Spicy Testnet without the financial risk of testing on Chiliz Mainnet.

There are currently two faucets available:

* [Spicy Faucet](https://spicy-faucet.chiliz.com/).
* [Tatum's Chiliz Faucet for Testnet](https://tatum.io/faucets/chiliz).

For more details on faucets, go to our dedicated page:

{% content-ref url="../develop/basics/obtain-free-testnet-tokens" %}
[obtain-free-testnet-tokens](https://docs.chiliz.com/develop/basics/obtain-free-testnet-tokens)
{% endcontent-ref %}

## Deploy and verify a contract

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.

{% content-ref url="../develop/basics/deploy-a-smart-contract" %}
[deploy-a-smart-contract](https://docs.chiliz.com/develop/basics/deploy-a-smart-contract)
{% endcontent-ref %}

2. Verifying that contract.

{% content-ref url="../develop/basics/verify-a-smart-contract" %}
[verify-a-smart-contract](https://docs.chiliz.com/develop/basics/verify-a-smart-contract)
{% endcontent-ref %}

## Run a Chiliz Chain Node

Running your own Chiliz Chain node provides control and privacy but demands more technical skill and resources.

This page gives you the essential parameters to launch your node:

```bash
docker run \
-v $(pwd)/my-datadir:/datadir \
--name ccv2-node \
-p 8545:8545 \
-p 8546:8546 \
chilizchain/ccv2-geth:latest \
--chiliz \ # for Chiliz Mainnet. Use --spicy for Spicy Testnet.
--datadir=/datadir \
--ipcdisable \
--http \
--http.addr=0.0.0.0 \
--http.api=eth,net,web3,debug,txpool \
--http.port=8545 \
--http.corsdomain="*" \
--http.vhosts="*" \
--ws \
--ws.addr=0.0.0.0 \
--ws.api=eth,net,web3,debug,txpool \
--ws.port=8546 \
--ws.origins="*" \
```

For more details, check this more complete page:

{% content-ref url="../develop/basics/connect-to-chiliz-chain/run-a-chiliz-chain-node" %}
[run-a-chiliz-chain-node](https://docs.chiliz.com/develop/basics/connect-to-chiliz-chain/run-a-chiliz-chain-node)
{% endcontent-ref %}

Also, you might be interested in running a Validator node:

{% content-ref url="../learn/about-validators/running-a-validator-node" %}
[running-a-validator-node](https://docs.chiliz.com/learn/about-validators/running-a-validator-node)
{% endcontent-ref %}
