Cells 名字 lock(account-lock)约束Cells name lock (account-lock) Constraints

来源:LusoCryptoLabs/cells-contracts @34dad3c / contracts/account-lock/src/main.rs · 主网 0x9f0f…71ab / 测试网 0xede6…4afd(type,cellula-sdk)Source: LusoCryptoLabs/cells-contracts @34dad3c / contracts/account-lock/src/main.rs · mainnet 0x9f0f…71ab / testnet 0xede6…4afd (type, cellula-sdk)
Lock 脚本Lock script身份 / 钱包Identity / wallet主网Mainnet测试网Testnet开源Open source社区Community

A任意解锁Unlock by anyone

Inputs 输入Inputs
name cellCell{ lock: { codeHash: ACCOUNT_LOCK, hashType: type, args: 0x }, type: ACCOUNT_TYPE … }
➜
Outputs 输出Outputs
outputs:任意outputs: any由 account-cell-type 约束constrained by account-cell-type

限制Constraints

  • —:: program_entry 恒返回 0program_entry always returns 0 (0)
部署与来源Deployments & source 未核验unverified
源码source LusoCryptoLabs/cells-contracts@34dad3c2 · contracts/account-lock/src/main.rs (exact commit read when writing spec/plugin (default-branch HEAD, 2026-09-28). Deployment constants from cellula-sdk@0.2.1 dist/deployments.js and docs/TRUST.md.)
二进制核验binary check 未核验unverified Data hash 0xa46c…f13b (same on both networks) appears in README and docs/TRUST.md as the reproduced build output (a doc listing, not a binary at the commit); reproducible build not attempted here.
0xa46c19f226…e3e3f13b: listed in README.md
网络networkcode_hashcell_deptype_id args数据哈希data hash部署交易deploy tx
mainnet0x9f0f0ba142b58cba2fe047546cfd8481d5b1769437cd3533e6458b21b61871ab type0x522c91d324…01c59268:1 code0xd0713d8ece…942ba0260xa46c19f226…e3e3f13b0x522c91d324…01c59268 #20515861
testnet0xede6a3d80717c3d7927eea678d095abbe68dbb08ca6fdbbbdd9de906455a4afd type0x968ec1a8cb…fec5a30a:1 code0x6df5e3f226…41eb8e920xa46c19f226…e3e3f13b0x968ec1a8cb…fec5a30a #22382771
链上数据核对于 on-chain data checked 2026-10-21
错误码:无Error codes: none
有意为之:所有名字共享同一 lock hash,全部授权在 account-cell-type 中(decision 0002)。不要把它用在没有守护 type 的 cell 上。Intentional: every name shares one lock hash and all authorization lives in account-cell-type (decision 0002). Never use it on a cell without a guarding type.
GitHub · gpBlockchain/ckb-contract-flow-html