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.The EVM Module on MANTRA Chain is under constant development and audit cycles. For the latest versioning, see our GitHub repository.
Wallet Setup (MetaMask)
MetaMask
Add one (or both) networks to MetaMask:| Network | RPC URL | Chain ID | Currency | Explorer |
|---|---|---|---|---|
| Mainnet | https://evm.mantrachain.io | 5888 | OM | https://blockscout.mantrascan.io |
| Testnet (DuKong) | https://evm.dukong.mantrachain.io | 5887 | OM | 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)
- OM Faucet: faucet.dukong.mantrachain.io — Get testnet OM for gas fees
- ERC-20 Faucet: ERC-20 Testnet Faucet — Mint testnet versions of common tokens (tUSDC, tUSDT, tmantraUSD, twMANTRA)
Block Explorers
| Network | Explorer |
|---|---|
| Mainnet | blockscout.mantrascan.io |
| Testnet | 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
- Choose your development tool: Hardhat or Foundry
- Configure your network: Use the endpoints above
- Deploy your contract: Follow our deployment guide
- Verify your contract: Use our verification guide
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
Next Steps
- Learn about EVM compatibility
- Set up Hardhat or Foundry
- Explore precompiles for extended functionality