Todas as lições · Wallets and signing · Começa aqui · Glossário
Binding an off-chain lock proof to the live cell deps it ran withAvançadoVerificada pelo dono
Verificada pelo dono · Verificação: certa · Verificada em 2026-11-19
When an off-chain signature proof is verified by running the lock against cell deps read live from the chain, record every out point those deps resolved to, dep group members included. Treat the resulting authorization as valid only while all of those cells are still live. A lock upgrade, a redeployment, or a key rotation or recovery in a lock that keeps its keys in a dep cell spends one of them, and the owner must prove again.
Porque importa: Without the recorded out points, a binding keeps trusting a proof made under lock code or key cells that were later upgraded, rotated or recovered away.
Padrão
return { ok: true, fields, cycles: run.cycles, cellDeps };Tirado do commit, encurtado.
Um teste mudou no mesmo commit
Está ao lado da correcção. Nós não o corremos.
- LusoCryptoLabs/ckb-ward:
tests/vectors.test.ts
- Conceitos
- Cell deps and script lookup, Login and authorization
- 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-04
- Última mudança
- 2026-11-04
- Ú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-04 · LusoCryptoLabs/ckb-ward · mais deste projeto
Mais sobre Wallets and signing
- JoyID sub key membership is checked through the CoTA aggregator
- JoyID sub key signatures depend on the live CoTA cell dep holding the sub key root
- 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, "Binding an off-chain lock proof to the live cell deps it ran with", CKB lessons, https://pulse.lusocryptolabs.com/learned/wallets/binding-an-off-chain-lock-proof-to-the-live-cell-deps-it-ran, CC BY 4.0, last changed 2026-11-04.