Process
- Find the
ContractAddress. this will show up after you dotruffle migrate - Find the
ContractABIwhich is a ABI for the Smart Contract - Everytime you connect your Metamask wallet to the browser, an
ethereumvariable is injected into your browser window. This allows us to tell if a browser is web3 compatible - Check if
ethereumis null - If
ethereumis not null, get thechainIDanduserID