Open hardhat.config.js and look for
networks. Did you setup the Ethereum mainnet network there? Is "mainnet" the name you're using?
It should look like this:
networks: {
mainnet: {
url: "json-rpc provider url",
accounts: ["private-key"]
}
}
Thanks, I repeated all the steps several times and in the end everything worked out. I had to delete and create a new Alchemy App.
Now I have the task of verifying my NFT contract, created according to the instructions from the Ethereum website. An error is coming out:
ParserError: Multiple SPDX license identifiers found in source file. Use “AND” or “OR” to combine multiple licensesI
flat my contract and uploaded it to Etherscan, but it didn't help
But this is probably another topic?