Always Success 约束Always Success Constraints

来源:ckb-devrel/ckb-proxy-locks / contracts/always-success/src/entry.rs · 0x3b52…f7f1 (data1,主网与测试网相同)Source: ckb-devrel/ckb-proxy-locks / contracts/always-success/src/entry.rs · 0x3b52…f7f1 (data1, same on mainnet and testnet)
Lock 脚本Lock script代理 / 工具Proxy / utility主网Mainnet测试网Testnet开源Open sourceNervos 官方Nervos

A任意解锁Unlock by anyone

Inputs 输入Inputs
inputCell{ lock: { codeHash: ALWAYS_SUCCESS, args: any } }
➜
Outputs 输出Outputs
outputs:任意outputs: any任意any

限制Constraints

  • —:: program_entry 恒返回 0program_entry always returns 0 (0)
部署与来源Deployments & source 未核验unverified
源码source ckb-devrel/ckb-proxy-locks@38b7e1df · contracts/always-success/src/main.rs (default-branch HEAD recorded at backfill 2026-10-21; spec/plugin were written from the default branch shortly before (exact read commit not recorded))
二进制核验binary check 未核验unverified no binary or checksum at the recorded commit matched the deployed data hash (reproducible build not attempted)
网络networkcode_hashcell_deptype_id args数据哈希data hash部署交易deploy tx
mainnet0x3b521cc4b552f109d092d8cc468a8048acb53c5952dbe769d2b2f9cf6e47f7f1 data10x10d63a9961…160eb66b:0 code—0x3b521cc4b5…6e47f7f10x10d63a9961…160eb66b #13589704
testnet0x3b521cc4b552f109d092d8cc468a8048acb53c5952dbe769d2b2f9cf6e47f7f1 data10xb4f171c9c9…a3137b93:0 code—0x3b521cc4b5…6e47f7f10xb4f171c9c9…a3137b93 #14025090
链上数据核对于 on-chain data checked 2026-10-20
错误码(error.rs):(none)Error codes (error.rs): (none)
不检查任何签名:安全性完全来自 args 指向的其他脚本No signature is checked: security comes entirely from the script that args points to
GitHub · gpBlockchain/ckb-contract-flow-html