All lessons · CCC (TypeScript SDK) · Start here · Glossary
Wallet discovery with SignersControllerWorkingFrom one fix
From one fix · Check: partly right · Checked 2026-11-19
To support every CCC wallet without the @ckb-ccc/connector UI, call `new ccc.SignersController().refresh(client, callback, {name, icon})`. Keep the callback registered and update the picker, because it fires again as EIP-6963 wallets announce themselves. Treat signers that are `instanceof ccc.SignerDummy` as download links, not connectable wallets.
Why it matters: Without this, wallets that announce late never reach the picker, or overlapping refreshes overwrite the list with stale results. Download links can also be offered or restored as if they were connected wallets.
Medium confidence.
A test changed in the same commit
It sits next to the fix. We did not run it.
- toastmanAu/daowow:
apps/web/test/build-site.test.js,apps/web/test/model-copy.test.js,apps/web/test/refund-tx.test.js,apps/web/test/vendor.test.js,apps/web/test/wallet-list.test.js
- Concepts
- Witnesses and signatures, Login and authorization
- Evidence
- From one fix: from one project, checked against its commit
- First seen
- 2026-11-12
- Last changed
- 2026-11-12
- Last checked
- 2026-11-19
- Check against the commit
- partly right: a true core, with a part that is loose or too wide
Sources (1)
- 2026-11-12 · toastmanAu/daowow · more from this project
More about CCC (TypeScript SDK)
- Re-zero the witness lock before recomputing the sign message with getSignHashInfo
- Reserve co-signer witness space before completeFeeBy in multi-signer CCC transactions
- Adding a wallet missing from CCC's connector via a SignersController subclass
Do you maintain a project this lesson came from? Confirm or correct it
Cite this lesson
LusoCryptoLabs, "Wallet discovery with SignersController", CKB lessons, https://pulse.lusocryptolabs.com/learned/ccc/wallet-discovery-with-signerscontroller, CC BY 4.0, last changed 2026-11-12.