Skip to content

fix: support Phantom Bitcoin Wallet Standard#100

Merged
towanTG merged 2 commits into
developfrom
fix/phantom-btc-wallet-standard-followup
Jun 25, 2026
Merged

fix: support Phantom Bitcoin Wallet Standard#100
towanTG merged 2 commits into
developfrom
fix/phantom-btc-wallet-standard-followup

Conversation

@towanTG

@towanTG towanTG commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • merge the Phantom Bitcoin Wallet Standard fallback work onto current develop
  • keep Wallet Standard as a direct app dependency without adding an unused direct base dependency
  • tighten Phantom Bitcoin coverage to use the real @wallet-standard/app registry instead of mocking the module
  • add a patch changeset for @swapkit/wallet-extensions

Test plan

  • bun@1.3.13 install --frozen-lockfile
  • bun@1.3.13 run build:ci
  • bun@1.3.13 run type-check:ci
  • bun@1.3.13 test packages/wallet-extensions/test/phantom.test.ts packages/wallet-extensions/test/phantom-bitcoin.test.ts

0xepicode and others added 2 commits June 23, 2026 16:05
…der absent

Phantom deprecated the injected window.phantom.bitcoin provider; newer builds
expose Bitcoin only through the Wallet Standard registry (Solana/EVM are still
injected, so those chains keep working). Connecting BTC therefore threw
wallet_phantom_not_found.

getBitcoinAccess now prefers the legacy injected provider when present (no
behaviour change for existing users) and falls back to discovering Phantom via
@wallet-standard/app getWallets() using the bitcoin:connect / bitcoin:signTransaction
features.
@towanTG towanTG merged commit e6522af into develop Jun 25, 2026
1 check passed
@towanTG towanTG deleted the fix/phantom-btc-wallet-standard-followup branch June 25, 2026 09:31
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.

2 participants