Skip to content

feat: add DeBox wallet - #2695

Open
PonyDevAI wants to merge 1 commit into
rainbow-me:mainfrom
PonyDevAI:feat/debox-wallet
Open

PonyDevAI wants to merge 1 commit into
rainbow-me:mainfrom
PonyDevAI:feat/debox-wallet

Conversation

@PonyDevAI

Copy link
Copy Markdown

Description

This PR adds DeBox to the wallet list. DeBox is a Web3 social app with a built-in DApp browser — dapps opened inside it get an injected provider flagged isDeBox and announced over EIP-6963.

Discussed in #2694.

Changes

  • Added deboxWallet connector, following the trustWallet pattern (injected when DeBox is detected, WalletConnect + debox://wc?uri= deep link otherwise).
  • Added wallet logo (deboxWallet.svg).
  • Added isDeBox flag to WalletProviderFlags.
  • Excluded isDeBox from the MetaMask impersonation check — the provider sets isMetaMask for backwards compatibility with older dapps, so without this MetaMask would be reported as installed inside DeBox's browser.
  • Added deboxWallet to the example package.
  • Updated locales translations.
  • Updated custom-wallet-list docs.
  • Generated changeset.

Testing

Verified against DeBox's production injected provider script, loaded at document-start:

  • Desktop — appears under Installed → Debox Wallet, correctly deduplicated against the EIP-6963 announcement via rdns.
  • Mobile — appears in the modal, where EIP-6963 connectors are otherwise filtered out.
  • Selecting it connects through the injected connector and advances to the SIWE step.

pnpm build, pnpm lint and pnpm test all pass.

Checklist

  • Tested locally.
  • Included Changeset.

DeBox is a Web3 social app with a built-in DApp browser. When a dapp runs
inside it, the wallet is injected as `window.ethereum` with an `isDeBox`
flag and announced over EIP-6963; outside of it, connections go through
WalletConnect with the `debox://wc?uri=` deep link.

The connector follows the existing `trustWallet` pattern: injected when
DeBox is detected, WalletConnect otherwise.

Also excludes `isDeBox` from the MetaMask impersonation check, since the
provider sets `isMetaMask` for backwards compatibility with older dapps.
@PonyDevAI
PonyDevAI requested a review from a team August 19, 2026 10:45
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

@PonyDevAI is attempting to deploy a commit to the rainbowdotme Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 67036ab

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 18 packages
Name Type
@rainbow-me/rainbowkit Patch
example Patch
@rainbow-me/rainbow-button Patch
rainbowkit-next-app Patch
site Patch
with-create-react-app Patch
with-next-app-i18n Patch
with-next-app Patch
with-next-custom-button Patch
with-next-mint-nft Patch
with-next-siwe-iron-session Patch
with-next-siwe-next-auth Patch
with-next-wallet-button Patch
with-next Patch
with-react-router Patch
with-remix Patch
with-vite Patch
with-next-rainbow-button Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This branch has not been deployed

No deployments
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.

1 participant