add sepolia to ss import
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s Details

This commit is contained in:
Ladd Hoffman 2024-04-20 12:44:04 -05:00
parent ffe711ad7f
commit 04d6625816
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ const getProvider = () => {
switch (network) {
case 'localhost':
return ethers.getDefaultProvider('http://localhost:8545');
case 'sepolia':
return new ethers.providers.InfuraProvider(
network,
process.env.INFURA_API_KEY,
);
default:
throw new Error('Unknown network');
}