Skip to main content
Autheo Chain is EVM-compatible — Mainnet chain ID 2127, Testnet chain ID 785 — which means any Hardhat, Foundry, or ethers.js project can target it with minimal configuration. This page shows the minimum setup for each major toolchain.

Hardhat

1

Create a new project

Select Create a JavaScript project (or TypeScript).
2

Install dependencies

3

Configure hardhat.config.js

4

Create a .env file

Never commit your .env file to version control. Add it to .gitignore.
5

Deploy

Foundry

1

Install Foundry

2

Create a new project

3

Configure foundry.toml

4

Deploy

Bare ethers.js

For scripts or backend services that don’t need a full framework:

EVM version note

Always set the EVM version to paris (or earlier) when compiling contracts for Autheo Chain. Using shanghai or later may produce opcodes not yet supported by the chain’s EVM configuration.

Next steps