Skip to content

Commit

Permalink
Add RPC override env
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdt committed Nov 17, 2023
1 parent 2bbedb6 commit 1da3bbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions boba_community/hc-captcha-metafaucet/.env-template
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# needed for hc api
IS_LOCAL=True
PRIVATE_KEY=
RPC_OVERRIDE=
6 changes: 3 additions & 3 deletions boba_community/hc-captcha-metafaucet/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ const config: HardhatUserConfig = {
accounts: ['0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80', '0xdbda1821b80551c9d65939329250298aa3472ba22feea921c0cf5d620ea67b97', '0xde9be858da4a475276426320d5e9262ecfc3ba460bfac56360bfa6c4c28b4ee0', '0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80', '0xc526ee95bf44d8fc405a158bb884d9d1238d99f0612e9f33d006bb0789009aaa', '0x8166f546bab6da521a8369cab06c5d2b9e46670292d85c875ee9ec20e84ffb61'],
},
boba_goerli: {
url: 'https://replica.goerli.boba.network',
url: process.env.RPC_OVERRIDE !== undefined ? process.env.RPC_OVERRIDE : 'https://replica.goerli.boba.network',
accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
boba_bnb_testnet: {
url: 'https://boba-bnb-testnet.gateway.tenderly.co/1clfZoq7qEGyF4SQvF8gvI',
url: process.env.RPC_OVERRIDE !== undefined ? process.env.RPC_OVERRIDE : 'https://boba-bnb-testnet.gateway.tenderly.co/1clfZoq7qEGyF4SQvF8gvI',
accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
boba_mainnet: {
url: 'https://boba-ethereum.gateway.tenderly.co/1clfZoq7qEGyF4SQvF8gvI',
url: process.env.RPC_OVERRIDE !== undefined ? process.env.RPC_OVERRIDE : 'https://boba-ethereum.gateway.tenderly.co/1clfZoq7qEGyF4SQvF8gvI',
},
},
solidity: {
Expand Down

0 comments on commit 1da3bbd

Please sign in to comment.