You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use network id as returned by RPC {network : 4} for Rinkeby.
I prefer exporting ABI, contract address and transaction hash to a new JSON, skipping dependencies on built-in dapp and fallback to web3 contracts using ABI and contract address. The transaction hash is used to verify chain/network id, together with contract address.
Further information
Network id is also refered to as chain id (chainId).
Summary
Add
networkId
string field (as number) to auto-generated Contracts data object (usually accessed viathis.Contract
).In
src/deployer.js
:Motivation
Further information
Network id is also refered to as chain id (
chainId
).Further reference: https://github.com/ethereum/wiki/wiki/JSON-RPC#net_version
The text was updated successfully, but these errors were encountered: