Skip to content

feat: integrate Casa Tookan wallet with Taproot support - #4

Draft
droplister wants to merge 3 commits into
mainfrom
codex/casatookan-integration
Draft

droplister wants to merge 3 commits into
mainfrom
codex/casatookan-integration

Conversation

@droplister

@droplister droplister commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Enable Casa Tookan from XCPFolio�s wallet button and chooser, including Taproot, mobile detection, restore/revocation and visible errors. Keep connection signature-free as before. Add app metadata using the existing icon and keep browser specs separate from Jest.

SDK and supported boundary

Pinned to XCP/wallet-sdk@089ca36 (XCP/wallet-sdk#13). The adapter supports mainnet Legacy, Native SegWit and BIP-86 Taproot, selected inputs, preserved foreign signatures, reusable authorizations and up to 20 PSBTs per approval. Message proofs declare BIP-137 or ECDSA-BIP86 explicitly.

Each PSBT requires prevouts and is capped at 64 KiB. Casa does not validate application intents or linked marketplace bundles. Script-path/commit-reveal, multisig and nested SegWit remain unsupported. Detection requires the Casa marker, so ordinary Unisat is not mistaken for Casa.

The integration remains build-time opt-in with NEXT_PUBLIC_CASATOOKAN_ENABLED=true. No production deployment, live-chain broadcast, or installed iOS/Android test is claimed. SDK evidence includes real dev-wallet signing and 481 passing unit tests; site browser suites use a deterministic provider. The official dev bridge is only used in temporary QA, never shipped.

Validation

8 browser checks, typecheck, all 17 Jest tests and lockfile dry run pass. Browser tests cover the real Connect UI using an injected bridge, with public APIs intercepted.

See docs/casatookan.md for setup, evidence and rollout limits.

The pinned SDK also reports its confirmed inability to recover custom Taproot outputs (taprootTreeKeyPath: false). This is an additive capability report; no additional site flow is enabled. Direct-wallet evidence and the upstream restrictions are documented in XCP/wallet-sdk#13.

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
xcpfolio Ready Ready Preview Oct 20, 2026 8:37pm UTC

Request Review

@droplister droplister changed the title Add opt-in Casa Tookan wallet connection pilot feat: integrate Casa Tookan wallet with Taproot support Oct 20, 2026

This branch was successfully deployed

1 active deployment
Preview — d682a886 Deployed Oct 20, 2026 by vercel[bot]
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