diff --git a/contracts/hardhat.config.ts b/contracts/hardhat.config.ts index e9fcb6931..470029275 100644 --- a/contracts/hardhat.config.ts +++ b/contracts/hardhat.config.ts @@ -39,7 +39,7 @@ export default { url: 'http://127.0.0.1:8555', gasLimit: GAS_LIMIT, } as any, - goerli: { + sepolia: { url: process.env.JSONRPC_HTTP_URL || 'http://127.0.0.1:8545', accounts, }, @@ -67,10 +67,6 @@ export default { url: process.env.JSONRPC_HTTP_URL || 'https://sepolia.optimism.io', accounts, }, - sepolia: { - url: process.env.JSONRPC_HTTP_URL || 'http://127.0.0.1:8545', - accounts, - }, 'mantle-testnet': { url: process.env.JSONRPC_HTTP_URL || 'https://rpc.testnet.mantle.xyz', accounts, @@ -89,6 +85,7 @@ export default { process.env.OPTIMISMSCAN_API_KEY || 'YOUR_OPTIMISMSCAN_API_KEY', 'optimism-sepolia': process.env.OPTIMISMSCAN_API_KEY || 'YOUR_OPTIMISMSCAN_API_KEY', + sepolia: process.env.ETHERSCAN_API_KEY || 'YOUR_ETHERSCAN_API_KEY', }, customChains: [ { diff --git a/vue-app/src/utils/chains.ts b/vue-app/src/utils/chains.ts index b84942d8b..acab4ecfe 100644 --- a/vue-app/src/utils/chains.ts +++ b/vue-app/src/utils/chains.ts @@ -1,6 +1,6 @@ export enum ChainId { MAINNET = 1, - GOERLI = 5, + SEPOLIA = 11155111, HARDHAT = 31337, ARBITRUM_ONE = 42161, ARBITRUM_RINKEBY = 421611, @@ -36,12 +36,12 @@ export const CHAIN_INFO: ChainInfo = { explorerLogo: 'etherscan.svg', explorerLabel: 'Etherscan', }, - [ChainId.GOERLI]: { - label: 'Goerli', + [ChainId.SEPOLIA]: { + label: 'Sepolia', currency: 'ETH', logo: 'eth.svg', isLayer2: false, - explorer: 'https://goerli.etherscan.io', + explorer: 'https://sepolia.etherscan.io', explorerLogo: 'etherscan.svg', explorerLabel: 'Etherscan', },