add sepolia to ss import
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s
Details
This commit is contained in:
parent
ffe711ad7f
commit
04d6625816
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue