Skip to content

Cannot deploy to Rinkeby (Lesson7) #649

Discussion options

You must be logged in to vote

In hardhat-config.js remove double quotes for url :

    require("@nomiclabs/hardhat-etherscan");
    require("@nomiclabs/hardhat-waffle");
    require("hardhat-gas-reporter");
    require("solidity-coverage");
    require("hardhat-deploy");
    
    const RINKEBY_RPC_URL = process.env.RINKEBY_RPC_URL;
    const PRIVATE_KEY = process.env.PRIVATE_KEY;
    const COINMARKETCAP_API_KEY = process.env.COINMARKETCAP_API_KEY;
    const ETHERSCAN_API_KEY = process.env.ETHERSCAN_API_KEY;
    
    module.exports = {
      // solidity: "0.8.8",
      solidity: {
        compilers: [{ version: "0.8.8" }, { version: "0.6.6" }],
      },
    
      networks: {
        rinkeby: {
-         url: "RINKEBY_R…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@alejandro-mitrovich
Comment options

@technophile-04
Comment options

Answer selected by alejandro-mitrovich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants