> ## Documentation Index
> Fetch the complete documentation index at: https://mantrachain.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started with EVM

> Get started building and deploying EVM smart contracts on MANTRA Chain

MANTRA Chain's EVM module provides full Ethereum Virtual Machine compatibility, enabling you to deploy Solidity smart contracts using standard EVM tooling.

## Overview

MANTRA Chain supports smart contracts written in Solidity and deployed via the EVM module. The EVM module provides seamless integration with native chain modules.

> [!NOTE]
>
> The EVM Module on MANTRA Chain is under constant development and audit cycles. For the latest versioning, see our [GitHub repository](https://github.com/MANTRA-Chain/evm).

## Wallet Setup (MetaMask)

### MetaMask

Add one (or both) networks to MetaMask:

| Network | RPC URL | Chain ID | Currency | Explorer |
| - | - | -: | - | - |
| Mainnet | `https://evm.mantrachain.io` | `5888` | `MANTRA` | `https://blockscout.mantrascan.io` |
| Testnet (DuKong) | `https://evm.dukong.mantrachain.io` | `5887` | `MANTRA` | `https://explorer.dukong.io` |

## Network Endpoints

| Endpoint | URL |
| - | - |
| Mainnet RPC | `https://evm.mantrachain.io` |
| Mainnet WebSocket | `wss://evm.mantrachain.io/ws` |
| Testnet RPC | `https://evm.dukong.mantrachain.io` |
| Testnet WebSocket | `wss://evm.dukong.mantrachain.io/ws` |

## Faucets (testnet)

* **MANTRA Faucet**: [faucet.dukong.mantrachain.io](https://faucet.dukong.mantrachain.io/) — Get testnet MANTRA for gas fees
* **ERC-20 Faucet**: [ERC-20 Testnet Faucet](https://faucet-for-common-erc-20s-j8va3o4ic-bounceybytes-projects.vercel.app/) — Mint testnet versions of common tokens (tUSDC, tUSDT, tmantraUSD, twMANTRA)

## Block Explorers

| Network | Explorer |
| - | - |
| Mainnet | [blockscout.mantrascan.io](https://blockscout.mantrascan.io) |
| Testnet | [explorer.dukong.io](https://explorer.dukong.io) |

## Development Tools

MANTRA Chain supports standard EVM development tools:

| Tool | Description |
| - | - |
| **Hardhat** | Development environment for Ethereum software. Helps manage and automate tasks involved in building smart contracts and dApps. |
| **Foundry** | Fast development toolkit for Ethereum smart contracts. Known for speed and Solidity-native testing. |

## Quick Start

1. **Choose your development tool**: [Hardhat](https://mantrachain.mintlify.site/developers/evm/using-hardhat.md) or [Foundry](https://mantrachain.mintlify.site/developers/evm/using-foundry.md)
2. **Configure your network**: Use the endpoints above
3. **Deploy your contract**: Follow our [deployment guide](https://mantrachain.mintlify.site/developers/evm/deploying-contracts.md)
4. **Verify your contract**: Use our [verification guide](https://mantrachain.mintlify.site/developers/evm/verifying-contracts.md)

## Key Features

* **Full EVM Compatibility**: All opcodes and precompiles supported
* **Standard Tooling**: Works with Hardhat, Foundry, Remix, and other EVM tools
* **Extended Precompiles**: Access additional chain features via [precompiles](https://mantrachain.mintlify.site/developers/evm/using-precompiles.md)

## Next Steps

* Learn about [EVM compatibility](https://mantrachain.mintlify.site/developers/architecture/evm-compatibility.md)
* Set up [Hardhat](https://mantrachain.mintlify.site/developers/evm/using-hardhat.md) or [Foundry](https://mantrachain.mintlify.site/developers/evm/using-foundry.md)
* Explore [precompiles](https://mantrachain.mintlify.site/developers/evm/using-precompiles.md) for extended functionality


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.