Skip to content

Commit

Permalink
Merge pull request #750 from clrfund/feat/add-sepolia
Browse files Browse the repository at this point in the history
Add sepolia and remove goerli testnet
  • Loading branch information
yuetloo authored Apr 25, 2024
2 parents 4ee0e4f + e4d8d20 commit 880e96b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
Expand All @@ -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: [
{
Expand Down
8 changes: 4 additions & 4 deletions vue-app/src/utils/chains.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export enum ChainId {
MAINNET = 1,
GOERLI = 5,
SEPOLIA = 11155111,
HARDHAT = 31337,
ARBITRUM_ONE = 42161,
ARBITRUM_RINKEBY = 421611,
Expand Down Expand Up @@ -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',
},
Expand Down

0 comments on commit 880e96b

Please sign in to comment.