Skip to content

How to create an instance of a contract in Truffle that deployed by another Ethereum node? #5808

Discussion options

You must be logged in to vote

I found out what the problem is. When I wanted to connect Truffle console to PrivEth network I tried this:

truffle develop --network PrivEth

This caused C1 not be deployed into PrivEth. BTW, the C1's address was unknown for all other Ethereum nodes.
I changed the above command to:

truffle console --network PrivEth
And the issue resolved!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AlirezaEthDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant