From 8a7c3fcb4ca419a746ab0f2e5dff5ea25aeba918 Mon Sep 17 00:00:00 2001 From: --global <--global> Date: Sun, 28 Apr 2024 12:06:47 +0400 Subject: [PATCH] Add sepolia etherium network --- hardhat.config.ts | 16 +++++++++++----- .../offchainAssetReceiptVault_Sepolia_Eth.ts | 6 ++++++ 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 scripts/constructorArguments/offchainAssetReceiptVault_Sepolia_Eth.ts diff --git a/hardhat.config.ts b/hardhat.config.ts index 6e449e97..7dfb0cb7 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -15,10 +15,11 @@ const { MUMBAI_URL, POLYGONSCAN_API_KEY, GOERLI_URL, - SEPOLIA_URL, + SEPOLIA_ARBITRUM_URL, ETHERSCAN_API_KEY, ARBITRUM_API_KEY, - ARBITRUM_URL + ARBITRUM_URL, + ETHEREUM_SEPOLIA_URL } = process.env; export const config = { @@ -53,8 +54,8 @@ export const config = { accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [], gasPrice: 22000000000, }, - sepolia: { - url: SEPOLIA_URL || "", + sepolia_arbitrum: { + url: SEPOLIA_ARBITRUM_URL || "", accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [], gasPrice: 22000000000, }, @@ -63,6 +64,11 @@ export const config = { accounts: PRIVATE_KEY3 ? [`0x${PRIVATE_KEY3}`] : [], gasPrice: 300000000, }, + sepolia: { + url: ETHEREUM_SEPOLIA_URL || "", + accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [], + gasPrice: 10000000000, + }, }, solidity: { compilers: [ @@ -80,7 +86,7 @@ export const config = { etherscan: { // Your API key for Etherscan // Obtain one at https://etherscan.io/ - apiKey: ARBITRUM_API_KEY, + apiKey: ETHERSCAN_API_KEY, customChains: [ { network: "arbitrum sepolia", diff --git a/scripts/constructorArguments/offchainAssetReceiptVault_Sepolia_Eth.ts b/scripts/constructorArguments/offchainAssetReceiptVault_Sepolia_Eth.ts new file mode 100644 index 00000000..94ed6393 --- /dev/null +++ b/scripts/constructorArguments/offchainAssetReceiptVault_Sepolia_Eth.ts @@ -0,0 +1,6 @@ +module.exports = [ + { + implementation: "0xebaF408b5cE8bf417e627d66b948acDa3Ca9de15", + receiptFactory: "0x7e6Ee6a291847Aa28788467092B318A7D2229F7c", + }, +];