Skip to content

Commit

Permalink
feat: add sepolia network (Open-Attestation#127)
Browse files Browse the repository at this point in the history
* chore: add sepolia network

* feat: add sepolia contract addresses
  • Loading branch information
superical committed Sep 21, 2022
1 parent 381681e commit 3e791f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ const config: HardhatUserConfig = {
...networkConfig,
url: `https://kovan.infura.io/v3/${INFURA_APP_ID}`,
},
sepolia: {
...networkConfig,
url: "https://rpc.sepolia.org",
},
/**
* Polygon
*/
Expand Down
4 changes: 4 additions & 0 deletions src/constants/contract-address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const ChainId = {
Ropsten: 3,
Rinkeby: 4,
Goerli: 5,
Sepolia: 11155111,
Kovan: 42,
Polygon: 137,
PolygonMumbai: 80001,
Expand All @@ -14,6 +15,7 @@ export const contractAddress = {
[ChainId.Rinkeby]: "0x878A327daA390Bc602Ae259D3A374610356b6485",
[ChainId.Ropsten]: "0x878A327daA390Bc602Ae259D3A374610356b6485",
[ChainId.Goerli]: undefined,
[ChainId.Sepolia]: "0x878A327daA390Bc602Ae259D3A374610356b6485",
[ChainId.Kovan]: undefined,
[ChainId.Polygon]: undefined,
[ChainId.PolygonMumbai]: "0x878A327daA390Bc602Ae259D3A374610356b6485",
Expand All @@ -23,6 +25,7 @@ export const contractAddress = {
[ChainId.Rinkeby]: "0x021C1e895e39D53Cf87722211FF0a824d9D73c60",
[ChainId.Ropsten]: "0x9eBC30E7506E6Ce36eAc5507FCF0121BaF7AeA57",
[ChainId.Goerli]: undefined,
[ChainId.Sepolia]: "0x9eBC30E7506E6Ce36eAc5507FCF0121BaF7AeA57",
[ChainId.Kovan]: undefined,
[ChainId.Polygon]: undefined,
[ChainId.PolygonMumbai]: "0x9eBC30E7506E6Ce36eAc5507FCF0121BaF7AeA57",
Expand All @@ -32,6 +35,7 @@ export const contractAddress = {
[ChainId.Rinkeby]: "0x83A533397eFE1d90baA26dEc7743626d7598656F",
[ChainId.Ropsten]: "0xE5C75026d5f636C89cc77583B6BCe7C99F512763",
[ChainId.Goerli]: undefined,
[ChainId.Sepolia]: "0xE5C75026d5f636C89cc77583B6BCe7C99F512763",
[ChainId.Kovan]: undefined,
[ChainId.Polygon]: undefined,
[ChainId.PolygonMumbai]: "0xE5C75026d5f636C89cc77583B6BCe7C99F512763",
Expand Down

0 comments on commit 3e791f8

Please sign in to comment.