Skip to content

feat: Web3Auth integration - #862

Draft
raul-oliveira wants to merge 3 commits into
masterfrom
feat/web3auth
Draft

feat: Web3Auth integration#862
raul-oliveira wants to merge 3 commits into
masterfrom
feat/web3auth

Conversation

@raul-oliveira

Copy link
Copy Markdown
Contributor

Summary

  • Integrates Web3Auth SDK for social login-based wallet recovery
  • Adds new saga (web3auth.js), recovery screen, and selectors
  • Adapts PIN flow, InitWallet, and Settings screens for Web3Auth support
  • Adds Redux state management for Web3Auth

WIP — work in progress, not ready for review.

🤖 Generated with Claude Code

WIP: Integrates Web3Auth SDK for social login-based wallet recovery,
including new saga, recovery screen, PIN flow adaptations, and Redux state.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Apr 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: dc3f4df3-2f4c-4110-9ffa-8721feb3453a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/web3auth

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@raul-oliveira raul-oliveira self-assigned this Apr 20, 2026
@raul-oliveira raul-oliveira moved this from Todo to In Progress (WIP) in Hathor Network Apr 20, 2026
@raul-oliveira raul-oliveira changed the title feat: Web3Auth integration for wallet recovery feat: Web3Auth integration Apr 20, 2026
@raul-oliveira raul-oliveira moved this from In Progress (WIP) to Todo in Hathor Network May 7, 2026
@raul-oliveira raul-oliveira moved this from Todo to In Progress (WIP) in Hathor Network May 12, 2026
@raul-oliveira raul-oliveira moved this from In Progress (WIP) to In Review (WIP) in Hathor Network May 18, 2026
@raul-oliveira raul-oliveira moved this from In Review (WIP) to In Progress (WIP) in Hathor Network May 18, 2026
raul-oliveira and others added 2 commits May 18, 2026 15:13
Persists two node_modules modifications required for Web3Auth to load
on React Native:

- scripts/fix-web3auth-crypto-hack.js: removes the `crypto` mapping
  injected by `rn-nodeify --hack` from 20 Web3Auth packages that ship
  their own EC crypto. Without this, the @web3auth/auth barrel export
  crashes on load (LOGIN_PROVIDER becomes undefined).

- patches/bitcore-lib+8.25.10.patch: routes bitcore-lib's strict
  validate() through global.__bitcorePointValidate (set up in shim.js),
  preventing the elliptic prototype pollution that crashes the Web3Auth
  SDK with "Invalid y value for curve".

Both run as part of `npm run setup` between `rn-nodeify --hack` and
`npx patch-package`. See explicacao-hacky-web3-auth.md for full context.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@raul-oliveira raul-oliveira moved this from In Progress (WIP) to Todo in Hathor Network Jun 1, 2026
@raul-oliveira raul-oliveira moved this from Todo to In Progress (WIP) in Hathor Network Jun 1, 2026
@raul-oliveira raul-oliveira moved this from In Progress (WIP) to Todo in Hathor Network Jun 2, 2026
@raul-oliveira raul-oliveira moved this from Todo to Parking Lot in Hathor Network Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Parking Lot

Development

Successfully merging this pull request may close these issues.

1 participant