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

frontend: Migrate from onboardjs to web3-react lib #604

Merged
merged 4 commits into from
May 20, 2024

Conversation

miguelmota
Copy link
Member

@miguelmota miguelmota commented May 17, 2024

Migrates from onboard to web3-react.

Switching over cleaned up a lot of the Web3Context Provider/hook since there used to be a lot of overrides with onboardjs to customize it for our needs. The nice thing about web3-react is that it allows you to specify your own modal and also provides easy to use hooks.

The changes should be pretty easy to follow.

Copy link

netlify bot commented May 17, 2024

Deploy Preview for hop-sdk-docs failed.

Name Link
🔨 Latest commit 2a8d3c2
🔍 Latest deploy log https://app.netlify.com/sites/hop-sdk-docs/deploys/664780e2af92290008b3467f

@miguelmota miguelmota marked this pull request as ready for review May 17, 2024 06:54
Copy link
Member

@shanefontaine shanefontaine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

packages/frontend/src/contexts/Web3Context.tsx Outdated Show resolved Hide resolved
packages/frontend/src/contexts/Web3Context.tsx Outdated Show resolved Hide resolved
@miguelmota miguelmota mentioned this pull request May 18, 2024
@miguelmota miguelmota merged commit 4a96907 into develop May 20, 2024
0 of 4 checks passed
@shanefontaine shanefontaine deleted the feature/web3-react branch May 20, 2024 22:11
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

Successfully merging this pull request may close these issues.

None yet

2 participants