File tree 3 files changed +10
-2
lines changed 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ MAINNET_RPC_URL=
2
2
SEPOLIA_RPC_URL =
3
3
PRIVATE_KEY =
4
4
MAINNET_PRIVATE_KEY =
5
- ETHERSCAN_KEY =
5
+ ETHERSCAN_API_KEY =
Original file line number Diff line number Diff line change @@ -17,3 +17,10 @@ fuzz_runs = 1000
17
17
verbosity = 4
18
18
19
19
gas_reports = [" Echo" ]
20
+
21
+ # Config
22
+ [rpc_endpoints ]
23
+ sepolia = " ${SEPOLIA_RPC_URL}"
24
+
25
+ [etherscan ]
26
+ sepolia = { key = " ${ETHERSCAN_API_KEY}" }
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ contract DeployEcho is Script {
9
9
function test () public {}
10
10
11
11
function run () external {
12
- vm.startBroadcast ();
12
+ uint256 deployerPrivateKey = vm.envUint ("PRIVATE_KEY " );
13
+ vm.startBroadcast (deployerPrivateKey);
13
14
new Echo ({owner: address (0x213bE2f484Ab480db4f18b0Fe4C38e1C25877f09 )});
14
15
15
16
vm.stopBroadcast ();
You can’t perform that action at this time.
0 commit comments