GithubHelp home page GithubHelp logo

Comments (9)

rudraimmunefi avatar rudraimmunefi commented on June 16, 2024 12

Fix:

fund_me = FundMe.deploy(
        "0x8A753747A1Fa494EC906cE90E9f37563A8AF630e", {'from': account})

from brownie_fund_me.

PatrickAlphaC avatar PatrickAlphaC commented on June 16, 2024 8

Thanks for making this issue! I just added a comment to the code here:

    // if you're following along with the freecodecamp video
    // Please see https://github.com/PatrickAlphaC/fund_me
    // to get the starting solidity contract code, it'll be slightly different than this!

// if you're following along with the freecodecamp video

Does this clear it up for you?

from brownie_fund_me.

Magofoco avatar Magofoco commented on June 16, 2024 6

FIXED:
I had my pragma wrong. The correct one is:
pragma solidity ^0.6.6;

from brownie_fund_me.

PatrickAlphaC avatar PatrickAlphaC commented on June 16, 2024 2

Great work!! Glad we got it sorted

from brownie_fund_me.

Magofoco avatar Magofoco commented on June 16, 2024

Thanks.
I am now using the solidity code taken from:
https://github.com/PatrickAlphaC/fund_me

However, now I am getting different errors when I run brownie compile.

  1. File import callback not supported
  2. Some compiler mismatch

Screenshot from 2021-09-15 16-10-39
Screenshot from 2021-09-15 16-10-19

from brownie_fund_me.

singhKaramjeet avatar singhKaramjeet commented on June 16, 2024

I am still getting this error, please help!!

from brownie_fund_me.

PatrickAlphaC avatar PatrickAlphaC commented on June 16, 2024

Could you please make a stackoverflow question? Not enough context here from you.

from brownie_fund_me.

aymather avatar aymather commented on June 16, 2024

Fix:

fund_me = FundMe.deploy(
        "0x8A753747A1Fa494EC906cE90E9f37563A8AF630e", {'from': account})

Could you please just give a little information as to why this fixes the problem? What is the address that you're passing in as the first argument?

from brownie_fund_me.

PatrickAlphaC avatar PatrickAlphaC commented on June 16, 2024

The constructor of the FundMe contract looks like: constructor(address _priceFeed)

This means, when you deploy it, you need to pass it an address variable! Whenever you deploy a contract, you automatically call the constructor, so you need to pass the constructor's parameters.

from brownie_fund_me.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.