diff --git a/boba_community/hc-captcha-metafaucet/.env-template b/boba_community/hc-captcha-metafaucet/.env-template index e011b58f54..6e0ac4cc6f 100644 --- a/boba_community/hc-captcha-metafaucet/.env-template +++ b/boba_community/hc-captcha-metafaucet/.env-template @@ -1,2 +1,4 @@ # needed for hc api IS_LOCAL=True +PRIVATE_KEY= +RPC_OVERRIDE= diff --git a/boba_community/hc-captcha-metafaucet/hardhat.config.ts b/boba_community/hc-captcha-metafaucet/hardhat.config.ts index 0862acdb1b..79015b44b6 100644 --- a/boba_community/hc-captcha-metafaucet/hardhat.config.ts +++ b/boba_community/hc-captcha-metafaucet/hardhat.config.ts @@ -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: {