-
|
Hello, I open with read permission Simplestorage.sol I get my byte code and my ABI I use Ganache to generate Account number with his privateKey I install and import web3 to connect with ganache I install dotenv to hide my privateKey But when i launch my code i got that output and my code Do you know why the code doesn't work .... ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Hi, you have the wrong Chain ID, please look at this post here. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, and now i get an error on output ( i tried to add a varible name I'm not comfortable yet with the notion of chain_id |
Beta Was this translation helpful? Give feedback.
-
|
Hello |
Beta Was this translation helpful? Give feedback.
Hi,
So i change my code for connecting to ganache like that.
and now i get an error on output ( i tried to add a varible name
chain_id = "5777")I'm not comfortable yet with the notion of chain_id
the chain_id is like the id of one block on the blockchain ?
And network id is the id of the blockchain ?
to make a test with ganache where can i find th…