Skip to content

Commit e8c6192

Browse files
authored
feat: remove goerli network (#178)
1 parent f9495db commit e8c6192

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ import { Wallet, providers, getDefaultProvider } from "ethers";
189189

190190
// Providers
191191
const mainnetProvider = getDefaultProvider();
192-
const goerliProvider = getDefaultProvider("goerli");
193192
const metamaskProvider = new providers.Web3Provider(web3.currentProvider); // Will change network automatically
194193

195194
// Signer
@@ -268,7 +267,7 @@ For users who want to quickly deploy their contracts without too much hassle, yo
268267
npx hardhat deploy:token --network mumbai --name "The Great Shipping Co." --symbol GSC
269268
```
270269

271-
👆 This is the easiest and most cost-effective method to deploy. Currently, this is supported on Ethereum, Goerli, Sepolia, Polygon and Polygon Mumbai. The deployed contract will inherit all the standard functionality from our on-chain contracts. This helps to save deployment costs and make the process more convenient for users and integrators.
270+
👆 This is the easiest and most cost-effective method to deploy. Currently, this is supported on Ethereum, Sepolia, Polygon and Polygon Mumbai. The deployed contract will inherit all the standard functionality from our on-chain contracts. This helps to save deployment costs and make the process more convenient for users and integrators.
272271

273272
> 💡 Remember to supply the`--network` argument with the name of the network you wish to deploy on.
274273
> See [Network Configuration](#network-configuration) section for more info on the list of network names.
@@ -360,7 +359,6 @@ tasks (which internally uses the same plugin), you will need to include your cor
360359
Here's a list of network names currently pre-configured:
361360

362361
- `mainnet` (Ethereum)
363-
- `goerli`
364362
- `sepolia`
365363
- `polygon` (Polygon Mainnet)
366364
- `mumbai` (Polygon Mumbai)

hardhat.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ const config: HardhatUserConfig = {
7070
* Ethereum
7171
*/
7272
mainnet: ETHERSCAN_API_KEY!,
73-
goerli: ETHERSCAN_API_KEY!,
7473
/**
7574
* Polygon
7675
*/
@@ -86,10 +85,6 @@ const config: HardhatUserConfig = {
8685
...networkConfig,
8786
url: `https://mainnet.infura.io/v3/${INFURA_APP_ID}`,
8887
},
89-
goerli: {
90-
...networkConfig,
91-
url: `https://goerli.infura.io/v3/${INFURA_APP_ID}`,
92-
},
9388
sepolia: {
9489
...networkConfig,
9590
url: "https://rpc.sepolia.org",

src/constants/contract-address.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const ChainId = {
22
Ethereum: 1,
3-
Goerli: 5,
43
Sepolia: 11155111,
54
Polygon: 137,
65
PolygonMumbai: 80001,
@@ -11,7 +10,6 @@ const ChainId = {
1110
export const contractAddress = {
1211
TitleEscrowFactory: {
1312
[ChainId.Ethereum]: "0xA38CC56c9291B9C1f52F862dd92326d352e710b8",
14-
[ChainId.Goerli]: "0x5aA71Cc9559bC5e54E9504a81496d9F8454721F5",
1513
[ChainId.Sepolia]: "0x5aA71Cc9559bC5e54E9504a81496d9F8454721F5",
1614
[ChainId.Polygon]: "0x5B5F8d94782be18E22420f3276D5ef5a1bc65C53",
1715
[ChainId.PolygonMumbai]: "0x5aA71Cc9559bC5e54E9504a81496d9F8454721F5",
@@ -20,14 +18,12 @@ export const contractAddress = {
2018
},
2119
Deployer: {
2220
[ChainId.Ethereum]: "0x92470d0Fc33Cbf2f04B39696733806a15eD7eef3",
23-
[ChainId.Goerli]: "0x9eBC30E7506E6Ce36eAc5507FCF0121BaF7AeA57",
2421
[ChainId.Sepolia]: "0x9eBC30E7506E6Ce36eAc5507FCF0121BaF7AeA57",
2522
[ChainId.Polygon]: "0x92470d0Fc33Cbf2f04B39696733806a15eD7eef3",
2623
[ChainId.PolygonMumbai]: "0x9eBC30E7506E6Ce36eAc5507FCF0121BaF7AeA57",
2724
},
2825
TokenImplementation: {
2926
[ChainId.Ethereum]: "0xd3F09dD800525Ecf7e452C3c167C7c716632d016",
30-
[ChainId.Goerli]: "0xC78BA1a49663Ef8b920F36B036E91Ab40D8F26D6",
3127
[ChainId.Sepolia]: "0xC78BA1a49663Ef8b920F36B036E91Ab40D8F26D6",
3228
[ChainId.Polygon]: "0xd3F09dD800525Ecf7e452C3c167C7c716632d016",
3329
[ChainId.PolygonMumbai]: "0x83A533397eFE1d90baA26dEc7743626d7598656F",

0 commit comments

Comments
 (0)