Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
truffle console doesn't work in v5 #1601
From the docs:
However, there's no way to make this syntax work with truffle ^5.0.
Steps to Reproduce
Now, either of the following comands will return an error:
Return the number set on deployment, that is 64.
Switching to using just the new web3 1.0 Contract object works seamlessly:
Just like with #1455, TruffleContract seems to be causing more trouble than good. I mean this in a constructive way, I'm very grateful for your work, but I do feel that there needs to be more standardisation in the blockchain space.
It is still relevant. I followed the exact steps I posted 19 days ago and I get the same error. Here's what I get when I do
Maybe you're using a globally installed truffle v4?
@PaulRBerg I would not expect the syntax you are using to work. You need to execute those slightly differently. You need to "await" and receive the instance before calling