Getting Started with ETC Development

Deploy your first smart contract to Ethereum Classic in under 10 minutes. Follow this step-by-step guide using industry-standard tools.

Chain ID

61

Testnet

Mordor (63)

EVM

Shanghai

Block Time

~13 seconds

Step-by-Step Guide

1

Set Up Development Environment

Install Node.js, npm, and your preferred development framework (Hardhat or Foundry recommended).

Terminal
npm install --save-dev hardhat
Hardhat Setup Guide
2

Configure for ETC

Add Ethereum Classic mainnet and Mordor testnet to your hardhat.config.js or foundry.toml configuration.

JavaScript
// hardhat.config.js
networks: {
  etc: {
    url: "https://etc.rivet.link",
    chainId: 61
  },
  mordor: {
    url: "https://rpc.mordor.etccooperative.org",
    chainId: 63
  }
}
3

Get Testnet ETC

Request Mordor testnet ETC from a faucet to deploy and test your contracts without spending real funds.

Mordor Faucet
4

Write Your Contract

Create a Solidity smart contract. ETC is fully EVM-compatible, so any Ethereum contract works on ETC.

JavaScript
// contracts/MyToken.sol
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract MyToken is ERC20 {
    constructor() ERC20("MyToken", "MTK") {
        _mint(msg.sender, 1000000 * 10 ** decimals());
    }
}
5

Deploy to Testnet

Deploy your contract to Mordor testnet first. Test thoroughly before deploying to mainnet.

Terminal
npx hardhat run scripts/deploy.js --network mordor
Deployment Guide
6

Verify on Blockscout

Verify your contract source code on Blockscout for transparency and to enable contract interaction.

Contract Verification

Network Configuration

Mainnet (Production)

Network NameEthereum Classic
Chain ID61
CurrencyETC
RPC URLetc.rivet.link

Mordor Testnet (Development)

Network NameMordor Testnet
Chain ID63
CurrencyMETC
RPC URLrpc.mordor.etccooperative.org
Get Testnet ETC
hardhat.config.js
module.exports = {
  networks: {
    etc: {
      url: "https://etc.rivet.link",
      chainId: 61,
      accounts: [process.env.PRIVATE_KEY]
    },
    mordor: {
      url: "https://rpc.mordor.etccooperative.org",
      chainId: 63,
      accounts: [process.env.PRIVATE_KEY]
    }
  }
}

Development Tips

Always Test on Mordor First

Deploy and test thoroughly on testnet before mainnet. Mordor has the same EVM as mainnet.

Use Established Patterns

Leverage OpenZeppelin contracts for tokens, access control, and common patterns.

Verify Your Contracts

Verify source code on Blockscout for transparency and easier interaction.

Mind Gas Costs

ETC gas is cheaper than ETH, but optimize contracts to minimize user costs.

Need More Help?

Explore our documentation, join the community, or check out example projects.