Skip to main content


Hardhat is the most widely used development environment for Ethereum smart contracts.

If you want to deploy your smart contracts to the EOS EVM using hardhat, update your hardhat.config.js file with the following network configuration:

// mainnet
const config: HardhatUserConfig = {
// ...

networks: {
eosevm: {
url: "",
eosevm_testnet: {
url: "",

Now you can deploy your contract to either the mainnet or the testnet using:

npx hardhat run scripts/deploy.js --network eosevm

// or for testnet
npx hardhat run scripts/deploy.js --network eosevm_testnet