Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web3.js interaction #95

Open
tnkhanh opened this issue May 31, 2022 · 4 comments
Open

Web3.js interaction #95

tnkhanh opened this issue May 31, 2022 · 4 comments

Comments

@tnkhanh
Copy link

tnkhanh commented May 31, 2022

Hi, I'm just curious. Does ethr-did work with web3.js without Ethers.js? Is there a working example? Thanks.

@mirceanis
Copy link
Contributor

It uses ethers.js internally, so it's not possible to eliminate it.
But, it should work with a web3.js provider since ethers has wrappers for them.

I don't have an example. Would you like to add one?

@tnkhanh
Copy link
Author

tnkhanh commented May 31, 2022

Thanks. Because I somehow cannot make it work with web3.js but it works with ethers.
I will stick with ethers for now.

@mirceanis
Copy link
Contributor

What did you try so far and didn't work?

@mirceanis
Copy link
Contributor

This is what I meant by wrapping: https://docs.ethers.io/v5/api/providers/other/#Web3Provider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants