web3-react icon indicating copy to clipboard operation
web3-react copied to clipboard

No Docs

Open JimLynchCodes opened this issue 3 years ago • 3 comments

Hi, please add some docs.

Like, how do I connect to a smart contract?? 🤔

JimLynchCodes avatar May 27 '22 02:05 JimLynchCodes

🍎

JimLynchCodes avatar May 27 '22 04:05 JimLynchCodes

I too would like documentation.

I'm trying to use import { MetaMask } from '@web3-react/metamask';

But it doesn't seem to expose the activate method on line 120 of the following page like I expect it to

https://github.com/NoahZinsmeister/web3-react/blob/main/packages/metamask/src/index.ts

I see it works in the demo for connecting just to Metamask or Coinbase, and I'd like to have these functionalities in my application, but I can't tell how to replicate it.

rolandm2017 avatar Jun 02 '22 17:06 rolandm2017

@plutownium you need to use beta package for metamask.activate

"@web3-react/metamask": "8.0.24-beta.0"

Check the package.json from the sample project.

tonisives avatar Jun 04 '22 00:06 tonisives