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

Support ethers #21

Closed
elliotBraem opened this issue Jun 10, 2024 · 1 comment · Fixed by #27
Closed

Support ethers #21

elliotBraem opened this issue Jun 10, 2024 · 1 comment · Fixed by #27
Assignees
Labels
enhancement New feature or request

Comments

@elliotBraem
Copy link
Contributor

In order to have full parity with NearSocial/viewer, we need to introduce EthersProvider for ethers.js support.

This can reference/reuse the useWeb3 hook from bos-workspace/gateway.

Add documentation for how to add chain support to this list, and how to utilize Ethers js in your own widget (or reference existing documentation)

@elliotBraem elliotBraem added the enhancement New feature or request label Jun 10, 2024
@bb-face bb-face self-assigned this Jun 18, 2024
@elliotBraem
Copy link
Contributor Author

elliotBraem commented Jun 18, 2024

@bb-face You'll be able to validate a successful integration by viewing any of the EVM widgets through the web component

https://near.social/hackerhouse.near/widget/EVMComponents

For example, notice how "Connect with Web3" button doesn't work here:
https://psalomobos.near.page/zavodil.near/widget/Lido

but does work here:

https://near.social/zavodil.near/widget/Lido

Maybe there should be a test included in this ticket that validates a web3 login button works

@elliotBraem elliotBraem mentioned this issue Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants