Loading...
The code below is the minimum hardhat configuration to deploy smart contracts on The Root Network.
hardhat
import { getPublicProviderUrl } from "@therootnetwork/evm"; const config: HardhatUserConfig = { solidity: { version: "0.8.17", }, networks: { porcini: { url: getPublicProviderUrl("porcini"), chainId: 7672, accounts: [...], }, root: { url: getPublicProviderUrl("root"), chainId: 7668, accounts: [...], }, }, };