thirdweb-dev / react

Ultimate collection of React hooks for your web3 apps
https://docs.thirdweb.com/react
Apache License 2.0
80 stars 29 forks source link

useProvider hook #72

Closed 7flash closed 2 years ago

7flash commented 2 years ago

I need to access ethers provider directly.. whats the easiest way to reach it..

jnsdls commented 2 years ago

will be closed by #73 once it's released

@7flash just out of interest what are you using the provider for? Would love to understand so we could potentially handle that use-case directly. :)

7flash commented 2 years ago

here 3id requires me to pass provider.. any workaround for now..

https://github.com/ceramicstudio/js-3id/blob/238b6eed5bcd6e413f206447d0d8207a84f902cb/apps/example/src/app.ts#L13

jnsdls commented 2 years ago

useProvider is available now https://github.com/thirdweb-dev/react/releases/tag/v2.3.13