Deployed NFT contract with wrong Alchemy key

Viewed 25

Accidentally deployed an NFT contract with an Alchemy key from app set to Goerli Network on Ethereum Mainnet.

enter image description here

I had it set up for testing ... but forgot to change it when I deployed. How will this impact the contract?

From hardhat.config.js

    mainnet: {
      chainId: 1,
      url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_GOERLI_KEY}`,
      accounts: [`0x${ACCOUNT_PRIVATE_KEY}`],
      gas: 2100000,
      gasPrice: 8000000000
    },

Can the network be changed on alchemy.com dashboard?

1 Answers

No, the contract was deployed on Goerli and there is nothing you can do about it. The contract is not "affected" in any way, it just lives in a different network.

Related