pet-shop-tutorial icon indicating copy to clipboard operation
pet-shop-tutorial copied to clipboard

Refactor initialization and account tracking

Open dotwilbert opened this issue 4 years ago • 0 comments

  • initWeb3 now follows Metamask recommendation: See https://docs.metamask.io/guide/ethereum-provider.html
  • App.account holds the active account. When the user changes accounts in Metamask App.account is updated.

dotwilbert avatar Oct 14 '21 23:10 dotwilbert