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 {
12
12
// RPCs
13
13
const ARBITRUM_ONE_RPC = vars . get ( 'ARBITRUM_ONE_RPC' , 'https://arb1.arbitrum.io/rpc' )
14
14
const 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' )
15
16
16
17
export const solidityUserConfig : SolidityUserConfig = {
17
18
version : '0.8.27' ,
@@ -54,7 +55,7 @@ export const networksUserConfig: BaseNetworksUserConfig = {
54
55
} ,
55
56
localhost : {
56
57
chainId : 31337 ,
57
- url : 'http://localhost:8545' ,
58
+ url : LOCALHOST_RPC ,
58
59
secureAccounts : {
59
60
enabled : true ,
60
61
} ,
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ The following environment variables might be required:
8
8
9
9
| Variable | Description |
10
10
| ----------| -------------|
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 ` |
13
15
14
16
You can set them using Hardhat:
15
17
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ The following environment variables might be required:
8
8
9
9
| Variable | Description |
10
10
| ----------| -------------|
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 ` |
13
15
14
16
You can set them using Hardhat:
15
17
You can’t perform that action at this time.
0 commit comments