HashLips / hashlips_nft_minting_dapp

HashLips minting dapp is a quick and easy way to connect your smart contract and start minting NFTs.
MIT License
1.02k stars 984 forks source link

error unsupported network #141

Open eaxycoderr opened 1 year ago

eaxycoderr commented 1 year ago

error unsupported network while on rinkeby test network, what to do?

dbreugne commented 1 year ago
Screenshot 2022-08-09 at 4 11 38 PM

Make sure you have this config and not the one by default

johncliffalvarez commented 1 year ago
Screenshot 2022-08-09 at 4 11 38 PM

Make sure you have this config and not the one by default

I'm also stuck on the minting dapp myself! I checked on this config and it is set to the following:

testnet: Networks.hardhatLocal,

This is correct, right? But still, the minting page gives me an the "Error unsupported network" message. Strange thing is that I am still able to connect my wallet, but the error message stays up and I don't see neither my wallet address being displayed, nor the minting interface appear to start minting NFTs. Is there something eaxycoderr and I are missing? Would greatly appreciate the help!

megaz90 commented 1 year ago

This is because there are multiple network settings. As of this date there are two networks for the minting dapp. One is Mainnet and other is testnet. In testnet there are further two networks Goerli and Rinkeby if you are on rinkeby test network on metamask then you need to change some settings because by default it is set to Goerli test network. You can check all networks under smart-contract < libs < Networks.ts. image

Rinkeby test network is named as ethereumLegacyTestnet and if you go to file under smart-contract < config < CollectionConfig.ts you'll find that it is set to ethereumTestnet by default.

image

Just change it to ethereumLegacyTestnet and you are good to go.

image

If you are on Goerli test network then you have no problem.