@@ -57,7 +57,8 @@ const {
5757 FLOW_EXPLORER_API_KEY ,
5858 HBAREVM_EXPLORER_API_KEY ,
5959 ARCUSDC_EXPLORER_API_KEY ,
60- DOGEOS_EXPLORER_API_KEY
60+ DOGEOS_EXPLORER_API_KEY ,
61+ CODEX_EXPLORER_API_KEY
6162} = process . env ;
6263
6364const PLACEHOLDER_KEY : string =
@@ -960,6 +961,22 @@ const config: HardhatUserConfig = {
960961 `${ PLACEHOLDER_KEY } ` ,
961962 `${ PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT } `
962963 ]
964+ } ,
965+ codexeth : {
966+ url : `https://rpc.codex.xyz/` ,
967+ accounts : [
968+ `${ PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT } ` ,
969+ `${ PLACEHOLDER_KEY } ` ,
970+ `${ PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT } `
971+ ]
972+ } ,
973+ tcodexeth : {
974+ url : `https://rpc.codex-stg.xyz/` ,
975+ accounts : [
976+ `${ PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT } ` ,
977+ `${ PLACEHOLDER_KEY } ` ,
978+ `${ PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT } `
979+ ]
963980 }
964981 } ,
965982 gasReporter : {
@@ -1137,7 +1154,11 @@ const config: HardhatUserConfig = {
11371154
11381155 // Robinhood Chain (explorer.testnet.chain.robinhood.com)
11391156 hoodethTestnet : `${ ETHERSCAN_API_KEY } ` ,
1140- hoodethMainnet : `${ ETHERSCAN_API_KEY } `
1157+ hoodethMainnet : `${ ETHERSCAN_API_KEY } ` ,
1158+
1159+ // CODEXETH
1160+ codexethTestnet : `${ CODEX_EXPLORER_API_KEY } ` ,
1161+ codexethMainnet : `${ CODEX_EXPLORER_API_KEY } `
11411162 } ,
11421163 customChains : [
11431164 {
@@ -1919,6 +1940,22 @@ const config: HardhatUserConfig = {
19191940 apiURL : 'https://explorer.testnet.chain.robinhood.com/api' , // TODO: update to mainnet explorer API when available
19201941 browserURL : 'https://explorer.testnet.chain.robinhood.com' // TODO: update to mainnet explorer when available
19211942 }
1943+ } ,
1944+ {
1945+ network : 'codexethTestnet' ,
1946+ chainId : CHAIN_IDS . CODEXETH_TESTNET ,
1947+ urls : {
1948+ apiURL : 'https://explorer.codex-stg.xyz/api' ,
1949+ browserURL : 'https://explorer.codex-stg.xyz'
1950+ }
1951+ } ,
1952+ {
1953+ network : 'codexethMainnet' ,
1954+ chainId : CHAIN_IDS . CODEXETH ,
1955+ urls : {
1956+ apiURL : 'https://explorer.codex.xyz/api' ,
1957+ browserURL : 'https://explorer.codex.xyz'
1958+ }
19221959 }
19231960 ]
19241961 } ,
0 commit comments