RealityETH / reality-eth-monorepo

Monorepo containing reality.eth contracts, UI code and everything else.
39 stars 20 forks source link

Update ethereum provider init code #114

Closed edmundedgar closed 1 year ago

edmundedgar commented 1 year ago

The code we need where we detect the provider etc seems to have changed again: https://docs.metamask.io/guide/ethereum-provider.html#using-the-provider

Currently there's some issue with brave when unlocked where it offers us the ethereum object but doesn't respond to any requests. Check what's up with that and also test on other wallets.

edmundedgar commented 1 year ago

Issue with Brave sorted out in eb266ea654344276bc893a4800e9527539d50337, seems to be unrelated to the metamask recommended setup changes and the current thing seems ok so closing those without fixing that part