Purpose: Build on a browser light-client prototype that has completed a real testnet transfer to improve stability, implement mainnet transfers and full Nervos DAO deposits and withdrawals, and deliver a reusable kit for other dApps.
Request: USD 1,000 equivalent in CKB over four weeks, delivered through two milestones under the MIT license.
Scope: Desktop Chrome and Firefox, existing CCC wallet connections, mainnet and testnet. The application does not hold private keys; wallets approve and sign transactions.
2. Team profile
Applicant and maintainer: Akane; GitHub: Akane-CN; Nervos Talk: Akane.
CKB already provides a browser-capable WASM light client as a foundation for client-side verification. This project focuses on sustained operation during asset management, including synchronization, reconnection, local persistence and transaction confirmation.
Users need balances and asset operations to remain reliable after a page reload or a network interruption. Developers need those capabilities in reusable components rather than repeatedly diagnosing the same underlying failures.
4. Solution
Browser-resident, verifiable data access: Run chain queries and light-client validation in the user’s browser to reduce dependence on remote RPC data services. Applications receive a consistent interface to locally verified data, while users can see synchronization, data completeness and transaction progress.
Real asset workflows as the engineering workload: Implement mainnet transfers and the full DAO deposit, withdrawal-request and unlock sequence to exercise historical queries, persistent state and multi-stage transactions. Use the failures encountered in these workflows to improve synchronization, reconnection, storage and recovery across the complete user experience.
Improvements that other applications can reuse: Improve and release the existing core adapter, React APIs, project template and reference application together with reproductions, regression tests and optimization findings. Submit reusable underlying fixes upstream so the benefits extend beyond this application.
5. Technical approach and primary risk
Stack: Use the official CKB WASM light client, CCC, TypeScript, Bun, Vite and React. CCC handles transaction construction and wallet signing; the browser light client supplies chain data, broadcasts transactions and tracks confirmation.
Primary risk and response: Browser light-client stability is the main engineering risk, with testing focused on stalled synchronization, reconnection, Worker lifecycle and IndexedDB behavior. Diagnose encountered failures, implement targeted fixes or optimizations, and retain before/after measurements, regression cases and unresolved issues.
Correctness: Track header synchronization separately from address scanning so partial data is not presented as a complete balance. Isolate mainnet/testnet configuration and storage, and verify the historical headers, dependencies and unlock conditions required by DAO transactions.
Network boundary: Kit-controlled chain queries, broadcast and confirmation must not use remote node/indexer RPC or hidden fallbacks. Static assets, P2P connections and wallet-owned traffic are documented separately.
6. Execution plan
M1: browser stability and basic transactions, weeks 1-2
Week 1: Extend the existing Chromium tests with synchronization, memory, storage and reconnection baselines; reproduce priority issues and identify existing DAO deposits suitable for withdrawal verification within the project window.
Week 2: Fix or optimize priority issues, add DAO transaction construction and extend the existing testnet transfer flow with failure-recovery regressions. Deliver reproductions, before/after results and a runnable revision.
M2: mainnet asset workflows and reusable release, weeks 3-4
Week 3: Complete mainnet transfers, DAO deposits, withdrawal requests and eligible unlocks, including wallet interaction, status display and failure recovery.
Week 4: Finish both-browser stability tests, independent-project integration and mainnet acceptance; publish the packages, reference app, documentation and walkthrough.
7. Funding by deliverable
USD 400: Browser light-client stability diagnosis, fixes and performance optimization.
USD 300: Mainnet transfer and DAO deposit/withdrawal implementation and verification.
USD 300: Component and reference-app improvements, packaging, tests and integration documentation.
Total: USD 1,000.
Payment schedule: USD 200 at launch, USD 400 after M1 acceptance and USD 400 after M2 acceptance.
8. Deliverables and verification
Stability improvements: Run each target browser continuously for at least two hours and verify recovery after disconnection, reload and reopening. Provide synchronization timings, memory trends, reproductions and before/after results, with the required workflows actually passing.
Mainnet functionality: Publish confirmed transaction hashes for a transfer, DAO deposit, withdrawal request and unlocked withdrawal, with the corresponding balance and Cell changes. Each transaction is approved and signed in the connected test wallet; testnet covers regression and failure scenarios.
DAO verification: M1 selects existing deposits eligible for unlocking within the project window; M2 verifies new deposits, withdrawal requests and unlocks separately.
Packages and evidence: Generate an application in a clean directory, integrate the packages into a separate CCC project and repeat core workflows with remote chain-data RPC blocked, including Workers and service workers. Deliver sanitized logs, pinned versions, replay instructions, the integration guide and walkthrough video.
9. Current state vs. funded work
Existing implementation: The public repository includes the core adapter, React Provider and hooks, an application generator, and balance, transfer and read-only DAO pages.
Execution evidence: A passing Chromium browser test used a test signer to complete a real 100 CKB testnet self-transfer and wait for on-chain confirmation. Type checking, builds and unit tests passed on the same revision.
Optimization baseline: The current code includes targeted handling of synchronization state and address-scan start points, with recorded synchronization and confirmation timings to guide further improvements.
Funded additions: Improve browser stability, complete mainnet and DAO deposit/withdrawal workflows, verify compatibility with real wallets, and publish reusable releases based on the existing prototype.
10. CKB alignment
The project brings CKB light-client verification, the Cell model and Nervos DAO asset workflows into browser applications. Real mainnet use will guide stability improvements, with open-source components and fixes expanding the options for applications that avoid dependence on remote chain-data services.
JoyID testnet: a supported path for headless CI testing
I’m documenting this Light dApp Kit integration blocker here because JoyID’s feedback link is unavailable.
The goal is to cover the JoyID testnet connect flow through @ckb-ccc/joy-id in automated regression tests.
What the investigation found
The 2026-10-28 investigation used headless Chromium on Linux with a CDP virtual authenticator against https://testnet.joyid.dev/auth. The reported diagnostic sequence was:
The popup keeps window.opener when the dApp uses Document-Isolation-Policy: isolate-and-require-corp.
With the virtual authenticator attached, the platform-authenticator availability check returns true, and navigator.credentials.create() succeeds.
JoyID then displays “JoyID is not supported in current environment”, asking for Chrome 130 or later with Google Account sync.
The investigation points to the client-side isSupportedPasskey() AAGUID allow-list check, rather than a failure to create a WebAuthn credential. Chrome’s virtual authenticator reports 01020304-0506-0708-0102-030405060708, which is not an accepted provider in this flow.
This blocks the current headless test setup even though passkey creation succeeds. Relying on a signed-in consumer password-manager account would also make CI provisioning and new-device verification considerably more involved.
What would help
Preferred: an explicit testnet-only flag that relaxes the AAGUID allow-list for automated testing, honored only on testnet.joyid.dev.
Accept Chrome’s virtual-authenticator AAGUID on testnet.
Provide a documented test harness or supported mock for JoyID connect/sign integration tests.
The request is strictly for testnet testing support, with production behavior unchanged.
Reproduction
Serve the dApp with the isolation header above, open JoyID through the CCC connector, attach a CDP virtual authenticator to the navigated JoyID popup, then choose Create New. Passkey creation succeeds, but JoyID rejects the environment before the connection completes.
Thank you for taking the time to prepare and submit this proposal, and for your efforts on the browser light-client prototype.
The committee has completed its review. After careful discussion, we regret to inform you that the Light dApp Kit proposal will not be approved at this time.
We would like to be transparent about the reasons for this decision:
Duplication of existing ecosystem infrastructure: The CKB ecosystem already has a mature, production-ready product—NervDAO (https://nervdao.com/)—that fully supports deposits into and withdrawals from Nervos DAO. Building another DAO-focused dApp toolkit would essentially duplicate functionality that already exists.
Light-client tools already exist: CKB already provides an official browser-based WASM light client as a foundation, and the community has also built light-client projects on top of it.
“Validated value”: The Spark Program is intended to support exploratory projects that can bring incremental value to the CKB ecosystem. Since this proposal duplicates existing work, it falls outside Spark’s scope for validation.
We appreciate your team’s efforts on the prototype and proposal. Please keep building, and feel free to reach out to us anytime!
Best regards,
xingtian
On behalf of the Spark Project Committee
Thanks @xingtianchunyan for the review and explanation. I understand the committee’s decision.
Separately, could you help with the JoyID question in my earlier post? In the testnet setup, passkey creation succeeds with Chrome’s virtual authenticator, but JoyID rejects the environment, blocking headless integration tests.
JoyID’s feedback link was unavailable when I tried it. Is there a recommended channel or maintainer I could contact to report this and ask about a supported way to test JoyID connect/sign flows in CI?