Commit 5be91416 authored by Nidz The Fact's avatar Nidz The Fact Committed by GitHub

update (#11177)

parent b7f81887
PRIVATE_KEY_DEPLOYER=
L1_RPC=
\ No newline at end of file
import 'dotenv/config'
import { HardhatUserConfig } from 'hardhat/types' import { HardhatUserConfig } from 'hardhat/types'
import { ethers } from 'ethers' import { ethers } from 'ethers'
...@@ -55,6 +56,10 @@ const config: HardhatUserConfig = { ...@@ -55,6 +56,10 @@ const config: HardhatUserConfig = {
url: process.env.L1_RPC || '', url: process.env.L1_RPC || '',
accounts: [process.env.PRIVATE_KEY_DEPLOYER || ethers.constants.HashZero], accounts: [process.env.PRIVATE_KEY_DEPLOYER || ethers.constants.HashZero],
}, },
sepolia: {
url: process.env.L1_RPC || '',
accounts: [process.env.PRIVATE_KEY_DEPLOYER || ethers.constants.HashZero],
},
}, },
external: { external: {
contracts: [ contracts: [
...@@ -73,6 +78,10 @@ const config: HardhatUserConfig = { ...@@ -73,6 +78,10 @@ const config: HardhatUserConfig = {
'../contracts-bedrock/deployments/goerli', '../contracts-bedrock/deployments/goerli',
'../contracts/deployments/goerli', '../contracts/deployments/goerli',
], ],
sepolia: [
'../contracts-bedrock/deployments/sepolia',
'../contracts/deployments/sepolia',
],
}, },
}, },
} }
......
...@@ -47,7 +47,8 @@ ...@@ -47,7 +47,8 @@
}, },
"dependencies": { "dependencies": {
"@eth-optimism/core-utils": "^0.13.2", "@eth-optimism/core-utils": "^0.13.2",
"@eth-optimism/sdk": "^3.3.2" "@eth-optimism/sdk": "^3.3.2",
"dotenv": "^16.4.5"
}, },
"peerDependencies": { "peerDependencies": {
"ethers": "^5" "ethers": "^5"
......
...@@ -183,6 +183,9 @@ importers: ...@@ -183,6 +183,9 @@ importers:
'@eth-optimism/sdk': '@eth-optimism/sdk':
specifier: ^3.3.2 specifier: ^3.3.2
version: 3.3.2(bufferutil@4.0.8)(ethers@5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.7))(utf-8-validate@5.0.7) version: 3.3.2(bufferutil@4.0.8)(ethers@5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.7))(utf-8-validate@5.0.7)
dotenv:
specifier: ^16.4.5
version: 16.4.5
devDependencies: devDependencies:
'@nomiclabs/hardhat-ethers': '@nomiclabs/hardhat-ethers':
specifier: ^2.2.3 specifier: ^2.2.3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment