diff --git a/README.md b/README.md index 3482ff1b..86c7bb16 100644 --- a/README.md +++ b/README.md @@ -189,7 +189,6 @@ import { Wallet, providers, getDefaultProvider } from "ethers"; // Providers const mainnetProvider = getDefaultProvider(); -const goerliProvider = getDefaultProvider("goerli"); const metamaskProvider = new providers.Web3Provider(web3.currentProvider); // Will change network automatically // Signer @@ -268,7 +267,7 @@ For users who want to quickly deploy their contracts without too much hassle, yo npx hardhat deploy:token --network mumbai --name "The Great Shipping Co." --symbol GSC ``` -👆 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. +👆 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. > 💡 Remember to supply the`--network` argument with the name of the network you wish to deploy on. > 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 Here's a list of network names currently pre-configured: - `mainnet` (Ethereum) -- `goerli` - `sepolia` - `polygon` (Polygon Mainnet) - `mumbai` (Polygon Mumbai) diff --git a/hardhat.config.ts b/hardhat.config.ts index d91a744a..8cece67e 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -70,7 +70,6 @@ const config: HardhatUserConfig = { * Ethereum */ mainnet: ETHERSCAN_API_KEY!, - goerli: ETHERSCAN_API_KEY!, /** * Polygon */ @@ -86,10 +85,6 @@ const config: HardhatUserConfig = { ...networkConfig, url: `https://mainnet.infura.io/v3/${INFURA_APP_ID}`, }, - goerli: { - ...networkConfig, - url: `https://goerli.infura.io/v3/${INFURA_APP_ID}`, - }, sepolia: { ...networkConfig, url: "https://rpc.sepolia.org", diff --git a/src/constants/contract-address.ts b/src/constants/contract-address.ts index 642a99a0..f2dc53aa 100644 --- a/src/constants/contract-address.ts +++ b/src/constants/contract-address.ts @@ -1,6 +1,5 @@ const ChainId = { Ethereum: 1, - Goerli: 5, Sepolia: 11155111, Polygon: 137, PolygonMumbai: 80001, @@ -11,7 +10,6 @@ const ChainId = { export const contractAddress = { TitleEscrowFactory: { [ChainId.Ethereum]: "0xA38CC56c9291B9C1f52F862dd92326d352e710b8", - [ChainId.Goerli]: "0x5aA71Cc9559bC5e54E9504a81496d9F8454721F5", [ChainId.Sepolia]: "0x5aA71Cc9559bC5e54E9504a81496d9F8454721F5", [ChainId.Polygon]: "0x5B5F8d94782be18E22420f3276D5ef5a1bc65C53", [ChainId.PolygonMumbai]: "0x5aA71Cc9559bC5e54E9504a81496d9F8454721F5", @@ -20,14 +18,12 @@ export const contractAddress = { }, Deployer: { [ChainId.Ethereum]: "0x92470d0Fc33Cbf2f04B39696733806a15eD7eef3", - [ChainId.Goerli]: "0x9eBC30E7506E6Ce36eAc5507FCF0121BaF7AeA57", [ChainId.Sepolia]: "0x9eBC30E7506E6Ce36eAc5507FCF0121BaF7AeA57", [ChainId.Polygon]: "0x92470d0Fc33Cbf2f04B39696733806a15eD7eef3", [ChainId.PolygonMumbai]: "0x9eBC30E7506E6Ce36eAc5507FCF0121BaF7AeA57", }, TokenImplementation: { [ChainId.Ethereum]: "0xd3F09dD800525Ecf7e452C3c167C7c716632d016", - [ChainId.Goerli]: "0xC78BA1a49663Ef8b920F36B036E91Ab40D8F26D6", [ChainId.Sepolia]: "0xC78BA1a49663Ef8b920F36B036E91Ab40D8F26D6", [ChainId.Polygon]: "0xd3F09dD800525Ecf7e452C3c167C7c716632d016", [ChainId.PolygonMumbai]: "0x83A533397eFE1d90baA26dEc7743626d7598656F",