Skip to content

Commit

Permalink
Adds zkatana.
Browse files Browse the repository at this point in the history
  • Loading branch information
steven2308 committed Nov 21, 2023
1 parent 773a75d commit 90c99a5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ SEPOLIA_URL=https://eth-sepolia.g.alchemy.com/v2/<YOUR ALCHEMY KEY>
MUMBAI_URL=https://polygon-mumbai.g.alchemy.com/v2/<YOUR API KEY>
BASE_GOERLI_URL=https://base-goerli.g.alchemy.com/v2/<YOUR API KEY>
SHIBUYA_URL=
ZKATANA_URL=

# Mainnet networks
MOONRIVER_URL=https://moonriver.blastapi.io/<YOUR ALCHEMY KEY>
Expand All @@ -19,6 +20,7 @@ MOONSCAN_APIKEY=ABC123
POLYGONSCAN_API_KEY=ABC123
BASESCAN_API_KEY=ABC123
ASTAR_BLOCKSCOUT_API_KEY=ABC123
ZKATANA_BLOCKSCOUT_API_KEY=ABC123

# To report gas
REPORT_GAS=
Expand Down
15 changes: 15 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ const config: HardhatUserConfig = {
accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
// gasPrice: 2000000000,
},
zkatana: {
chainId: 1261120,
url: process.env.ZKATANA_URL || 'https://rpc.startale.com/zkatana',
accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
gasPrice: 650000000,
},
moonriver: {
url: process.env.MOONRIVER_URL || 'https://rpc.api.moonriver.moonbeam.network',
chainId: 1285,
Expand Down Expand Up @@ -111,6 +117,7 @@ const config: HardhatUserConfig = {
polygonMumbai: process.env.POLYGONSCAN_API_KEY || '', // Polygon Mumbai Etherscan API Key
baseGoerli: process.env.BASESCAN_API_KEY || '', // Base Goerli Etherscan API Key
shibuya: process.env.SHIBUYA_BLOCKSCOUT_API_KEY || '', // Shibuya blockscout API Key
zkatana: process.env.ZKATANA_BLOCKSCOUT_API_KEY || '', // ZKatana blockscout API Key
moonriver: process.env.MOONSCAN_APIKEY || '', // Moonriver Moonscan API Key
moonbeam: process.env.MOONSCAN_APIKEY || '', // Moonbeam Moonscan API Key
mainnet: process.env.ETHERSCAN_API_KEY || '', // Ethereum Etherscan API Key
Expand Down Expand Up @@ -151,6 +158,14 @@ const config: HardhatUserConfig = {
browserURL: 'https://blockscout.com/astar/',
},
},
{
network: 'zkatana',
chainId: 1261120,
urls: {
apiURL: 'https://zkatana.blockscout.com/api',
browserURL: 'https://zkatana.blockscout.com',
},
},
],
},
dodoc: {
Expand Down

0 comments on commit 90c99a5

Please sign in to comment.