File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
hardhat-graph-protocol/src/sdk Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ interface SecureAccountsOptions {
1212// RPCs
1313const ARBITRUM_ONE_RPC = vars . get ( 'ARBITRUM_ONE_RPC' , 'https://arb1.arbitrum.io/rpc' )
1414const ARBITRUM_SEPOLIA_RPC = vars . get ( 'ARBITRUM_SEPOLIA_RPC' , 'https://sepolia-rollup.arbitrum.io/rpc' )
15+ const LOCALHOST_RPC = vars . get ( 'LOCALHOST_RPC' , 'http://localhost:8545' )
1516
1617export const solidityUserConfig : SolidityUserConfig = {
1718 version : '0.8.27' ,
@@ -54,7 +55,7 @@ export const networksUserConfig: BaseNetworksUserConfig = {
5455 } ,
5556 localhost : {
5657 chainId : 31337 ,
57- url : 'http://localhost:8545' ,
58+ url : LOCALHOST_RPC ,
5859 secureAccounts : {
5960 enabled : true ,
6061 } ,
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ The following environment variables might be required:
88
99| Variable | Description |
1010| ----------| -------------|
11- | ` ARBISCAN_API_KEY ` | Arbiscan API key |
12- | ` ARBITRUM_SEPOLIA_RPC ` | Arbitrum Sepolia RPC URL |
11+ | ` ARBISCAN_API_KEY ` | Arbiscan API key - for contract verification|
12+ | ` ARBITRUM_ONE_RPC ` | Arbitrum One RPC URL - defaults to ` https://arb1.arbitrum.io/rpc ` |
13+ | ` ARBITRUM_SEPOLIA_RPC ` | Arbitrum Sepolia RPC URL - defaults to ` https://sepolia-rollup.arbitrum.io/rpc ` |
14+ | ` LOCALHOST_RPC ` | Localhost RPC URL - defaults to ` http://localhost:8545 ` |
1315
1416You can set them using Hardhat:
1517
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ The following environment variables might be required:
88
99| Variable | Description |
1010| ----------| -------------|
11- | ` ARBISCAN_API_KEY ` | Arbiscan API key |
12- | ` ARBITRUM_SEPOLIA_RPC ` | Arbitrum Sepolia RPC URL |
11+ | ` ARBISCAN_API_KEY ` | Arbiscan API key - for contract verification|
12+ | ` ARBITRUM_ONE_RPC ` | Arbitrum One RPC URL - defaults to ` https://arb1.arbitrum.io/rpc ` |
13+ | ` ARBITRUM_SEPOLIA_RPC ` | Arbitrum Sepolia RPC URL - defaults to ` https://sepolia-rollup.arbitrum.io/rpc ` |
14+ | ` LOCALHOST_RPC ` | Localhost RPC URL - defaults to ` http://localhost:8545 ` |
1315
1416You can set them using Hardhat:
1517
You can’t perform that action at this time.
0 commit comments