Todas as lições · Wallets and signing · Começa aqui · Glossário
JoyID sub key signatures depend on the live CoTA cell dep holding the sub key rootAvançadoVerificada pelo dono
Verificada pelo dono · Verificação: certa · Verificada em 2026-11-19
A JoyID sub key (second device) signature is checked by the JoyID lock against the sub key root held in the account's CoTA cell, which the transaction carries as a cell dep. Adding a device spends that CoTA cell and creates a new one with a new root. Two separate things follow: a transaction that still lists the old CoTA out point has a cell dep that is no longer live, and the lock run against the old root data does not accept the sub key signature.
Porque importa: A sub key signature checked against a stale or spent CoTA cell is rejected, and a binding made before the device was added stops being valid from the block that spent the old CoTA cell.
JoyID specific: sub key root lives in the CoTA cell dep.
Um teste mudou no mesmo commit
Está ao lado da correcção. Nós não o corremos.
- LusoCryptoLabs/ckb-ward:
tests/joyid-subkey.test.ts
- Conceitos
- Cell deps and script lookup, Witnesses and signatures
- Evidência
- Verificada pelo dono: verificada pelo dono do projeto de onde veio, que também publica estas lições
- Vista pela primeira vez
- 2026-11-06
- Última mudança
- 2026-11-06
- Última verificação
- 2026-11-19
- Verificação contra o commit
- certa: a lição sai do commit e continua a valer no código de hoje
Fontes (1)
- 2026-11-06 · LusoCryptoLabs/ckb-ward · mais deste projeto
Mais sobre Wallets and signing
- Binding an off-chain lock proof to the live cell deps it ran with
- JoyID sub key membership is checked through the CoTA aggregator
- Lock code hashes differ between testnet and mainnet for Omnilock, JoyID, ACP and PW lock
Verificada por @LusoCryptoLabs (dono do projeto), 2026-11-19.
Manténs um projeto de onde esta lição veio? Confirma ou corrige
Citar esta lição
LusoCryptoLabs, "JoyID sub key signatures depend on the live CoTA cell dep holding the sub key root", CKB lessons, https://pulse.lusocryptolabs.com/learned/wallets/joyid-sub-key-signatures-depend-on-the-live-cota-cell-dep-ho, CC BY 4.0, last changed 2026-11-06.