Lesson 6: AttributeError: Contract 'FundMe' object has no attribute #1213
Answered
by
cromewar
BrysonHall
asked this question in
Q&A
-
I was doing the Patrick Collins tutorial link and I got this error: "AttributeError: Contract 'FundMe' object has no attribute 'account when running Help is much apricated 🙂 My code: deploy.py
brownie-config.yaml
helpfull_scripst.py
FundMe.sol
` |
Beta Was this translation helpful? Give feedback.
Answered by
cromewar
Mar 7, 2022
Replies: 1 comment 2 replies
-
Hello @MrHeim1 A contract does not have something called account, you may be referring to address?
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
BrysonHall
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @MrHeim1
You have this line:
print(f"Contract deployed to {fund_me.account}")
A contract does not have something called account, you may be referring to address?
print(f"Contract deployed to {fund_me.address}")