truffle-box / react-box

Truffle, Webpack and React boilerplate.
https://truffle-box.github.io/
MIT License
736 stars 251 forks source link

Update deprecated ethereum command #171

Closed beakerfm closed 2 years ago

beakerfm commented 2 years ago

As suggested https://github.com/truffle-box/react-box/issues/165 is the updated call to ethereum.enable(). Confirmed it is working as expected locally.

cliffoo commented 2 years ago

Thanks @beakerfm for opening this! The current implementation uses this web3js function to enable browser wallets.

beakerfm commented 2 years ago

Excellent, thank you for the info! Glad its up to date now :)