> For the complete documentation index, see [llms.txt](https://docs.chiliz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chiliz.com/develop/basics.md).

# Basics

- [Connect to Chiliz Chain](https://docs.chiliz.com/develop/basics/connect-to-chiliz-chain.md): Connect to Chiliz Chain Mainnet or Spicy Testnet via public RPC endpoints (HTTP/WebSocket) or by running your own node.
- [Connect using RPC](https://docs.chiliz.com/develop/basics/connect-to-chiliz-chain/connect-using-rpc.md): Chiliz Chain Mainnet (chain ID 88888) and Spicy Testnet (chain ID 88882) RPC endpoint URLs, WebSocket connections, explorer links, and rate limit guidance.
- [Run a Chiliz Chain Node](https://docs.chiliz.com/develop/basics/connect-to-chiliz-chain/run-a-chiliz-chain-node.md): Launch, create, connect, and debug a node to sync with Chiliz Chain
- [Use a hardware wallet](https://docs.chiliz.com/develop/basics/connect-to-chiliz-chain/use-a-hardware-wallet.md): Connect a Ledger hardware wallet to Chiliz Chain via MetaMask for secure transaction signing on Mainnet and Spicy Testnet.
- [Obtain Free Testnet Tokens](https://docs.chiliz.com/develop/basics/obtain-free-testnet-tokens.md): Get free test CHZ tokens on Spicy Testnet using the Chiliz Spicy Faucet or Tatum Faucet, with step-by-step confirmation via MetaMask and Spicy Explorer.
- [Obtain test CHZ tokens with Spicy Faucet](https://docs.chiliz.com/develop/basics/obtain-free-testnet-tokens/obtain-test-chz-tokens-with-spicy-faucet.md): Claim 20 free test CHZ tokens every 24 hours from the Chiliz Spicy Faucet by pasting your MetaMask wallet address at spicy-faucet.chiliz.com.
- [Obtain test CHZ tokens with Tatum Faucet](https://docs.chiliz.com/develop/basics/obtain-free-testnet-tokens/obtain-test-chz-tokens-with-tatum-faucet.md): Claim 10 free test CHZ tokens every 24 hours on Spicy Testnet from Tatum's faucet after registering a Tatum Dashboard account.
- [Use a Block Explorer](https://docs.chiliz.com/develop/basics/use-a-block-explorer.md): Navigate Chiliz Chain's two block explorers, Chiliscan (Routescan) and Chiliz Block Explorer (Blockscout), for transactions, NFTs, address lookup, and contract verification.
- [Write a Smart Contract](https://docs.chiliz.com/develop/basics/write-a-smart-contract.md): Write Chiliz Chain-compatible Solidity contracts (v0.8.24, Shanghai EVM): CAP-20 token decimals, gas mechanics, and EVM differences vs. Ethereum.
- [Deploy a Smart Contract](https://docs.chiliz.com/develop/basics/deploy-a-smart-contract.md): Deploy smart contracts on Chiliz Chain using Remix IDE or thirdweb, with minimum gas fee requirements (2,501 gwei) and links to verification guides.
- [Deploy with Remix](https://docs.chiliz.com/develop/basics/deploy-a-smart-contract/deploy-with-remix.md): Deploy a smart contract to Chiliz Chain using Remix IDE's web-based environment, with steps for compiling, injecting MetaMask, and confirming deployment.
- [Deploy with thirdweb](https://docs.chiliz.com/develop/basics/deploy-a-smart-contract/deploy-with-thirdweb.md): Deploy standard or custom smart contracts on Chiliz Chain Mainnet or Spicy Testnet using thirdweb's Explore library or CLI deployment tool.
- [Verify a Smart Contract](https://docs.chiliz.com/develop/basics/verify-a-smart-contract.md): Verify deployed Chiliz Chain contracts via Chiliscan (Routescan) or Chiliz Block Explorer (Blockscout), with Hardhat CLI and flattening options.
- [Verify with Chiliscan](https://docs.chiliz.com/develop/basics/verify-a-smart-contract/verify-with-chiliscan.md): Verify smart contracts on Chiliz Chain via Chiliscan (Routescan) using the web form, Hardhat plugin, or Routescan API.
- [Verify with Chiliz Block Explorer](https://docs.chiliz.com/develop/basics/verify-a-smart-contract/verify-with-chiliz-block-explorer.md): Verify smart contracts on Chiliz Chain via Chiliz Block Explorer (Blockscout) using the web form, Hardhat plugin, or Blockscout API.
- [Verify with Hardhat](https://docs.chiliz.com/develop/basics/verify-a-smart-contract/verify-with-hardhat.md): Verify Chiliz Chain smart contracts from the command line using the hardhat-verify plugin with Chiliscan or Chiliz Block Explorer API keys.
- [Flatten a Smart Contract](https://docs.chiliz.com/develop/basics/verify-a-smart-contract/flatten-a-smart-contract.md): Flatten a Solidity smart contract and all its dependencies into a single .sol file using Remix or Hardhat to simplify source code verification on Chiliz Chain explorers.
- [Verification Best Practices](https://docs.chiliz.com/develop/basics/verify-a-smart-contract/verification-best-practices.md): Best practices for verifying Chiliz Chain contracts: CAP-20 token specifics, Solidity 0.8.24 / Shanghai EVM requirements, and common pitfalls from Ethereum-first code.
- [Use Wrapped CHZ](https://docs.chiliz.com/develop/basics/use-wrapped-chz.md): Wrap and unwrap native CHZ to wCHZ (ERC-20/CAP-20) on Chiliz Chain Mainnet and Spicy Testnet using the Chiliz Bridge wrapper for DeFi and bridging use cases.
- [How-Tos](https://docs.chiliz.com/develop/basics/how-tos.md): Practical how-tos using Moralis, Tatum, thirdweb, and Nodit APIs on Chiliz Chain: wallet balances, transaction history, NFT metadata, and AI-assisted dApp building.
- [How to get the balance of a wallet](https://docs.chiliz.com/develop/basics/how-tos/how-to-get-the-balance-of-a-wallet.md): Retrieve CHZ and token balances for a wallet on Chiliz Chain using the Moralis Wallet API, with code samples for single and multi-asset queries.
- [How to get the history of a wallet](https://docs.chiliz.com/develop/basics/how-tos/how-to-get-the-history-of-a-wallet.md): Fetch a wallet's full transaction history on Chiliz Chain using the Moralis Wallet API, with code samples for credit/debit transaction records.
- [How to get the metadata of a specific NFT](https://docs.chiliz.com/develop/basics/how-tos/how-to-get-the-metadata-of-a-specific-nft.md): Retrieve NFT metadata (image URL, name, attributes) for a specific token on Chiliz Chain using the Moralis NFT API.
- [How to build a Chiliz dApp with AI tools](https://docs.chiliz.com/develop/basics/how-tos/how-to-build-a-chiliz-dapp-with-ai-tools.md): Use AI vibe-coding tools (Cursor, Replit, Lovable, Claude Code, Bolt, V0) to build Chiliz Chain dApps with prompts and context for EVM development.
- [Tips & Tricks](https://docs.chiliz.com/develop/basics/tips-and-tricks.md): Chiliz Chain developer tips: create unlimited ERC-20 test tokens on Spicy Testnet, get current gas prices via RPC, and workaround faucet daily limits.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chiliz.com/develop/basics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
