Advanced cryptographic authorization coming to CKB post-hard fork
Check out what is possible with soon to be introduced exec functionality!
The concept of “chained lock scripts" was recently proposed on the Nervos Talk forum.
The purpose of chained lock scripts is to serialize multiple lock scripts using the exec function from Linux, so that the different lock scripts can be used to verify signatures created using different crypto primitives.
A chained lockscript looks like a normal lockscript, you can even use it like a normal lock script. Each chained lock script contains validation code for one particular signature algorithm, for example, we might have chained lockscripts for secp256k1, secp256r1, RSA, Schnorr, BLS, etc.
A dApp can build an entrypoint lock script first, which is in charge of general validation of the transaction, and then proceed with confirmation of the signatures using the different chained lock scripts.
By decoupling the lock script of the cell and actual signature verification logic, CKB makes it convenient for dApps to support a variety of cryptography and delivers the greatest flexibility for innovation.
RFC
Nervos applies the RFC (Request for Comments) process for implementing every building block of the protocol. There were 27 previous RFCs, which can be found here.
Dev Updates
Core
CKB
(#2707) use KeyedPriorityQueue to replace BTreeMap/HashSet
(#2771) remove lru cache from SinceVerifier
(#2774) remove lru cache from get_cellbase fn
(#2784) skip updating tx_verify_cache about the cellbase tx
(#2785) fix: put migration version
(#2778) fix: miner panics since the future created by hyper 0.13 need tokio 0.2 runtime
(#2782) bump faux from 0.1.2 to 0.1.3
(#2770) doc: use community contributed site for script error codes
(#2773) remove several duplicate or outdated dependencies, such as hyper, futures, tokio and so on
(#2736) refactor: move state flag to HeadersSyncState enum
Dev Tools
Lumos [JavaScript/TypeScript based dapp framework]
Polyjuice [an Ethereum on CKB solution]
Godwoken-polyjuice [polyjuice for godwoken]
Neuron
CKB Explorer
(#825) Add more nft tags
Layer 2
Muta [Layer2 framework on CKB]
SECBIT Labs [Zero knowledge proof toolkit for CKB]
Godwoken[ [A framework to build rollup solutions upon Nervos CKB]
(#226) Update godwoken-scripts
(#223) Support charge tx fee in built-in scripts & withdrawal
(#219) Update generate-config command
(#224) implement test mode
(#208) Adjust for interoperability
(#222) Fix build
(#221) Fix web3-indexer log format
(#220) Update web3 indexer for gw tx hash
(#212) Impl gw-tools sub command setup-nodes
(#218) Add rpc get script hash by short address
Cross-chain
force-bridge [general force bridge components]
(#120) fix: add prometheus metric monitor
(#135) fix:restore ci flow by yarn script
(#126) fix(offchain): add rpc test in ci
(#131) update deploy way by cli
(#132) expose getBridgeConfig in RPC
(#127) fix: retry error forever to avoid handler crash
(#130) fix: update the deploy script and ckb start height
(#129) doc: update deployment doc
(#128) doc: add deployment doc
(#124) fix: fix cli args parse
(#125) docs: add dapp-user-guide.md
(#123) feat: lint for staged files
(#122) fix: verify ownerTypeHash in isBurnTx and parseMintTx
force-bridge-btc [maps BTC on Bitcoin to cBTC on CKB in a trustless way]
force-bridge-eth [maps ETH on Ethereum to cETH on CKB in a trustless way]
Ecosystem
Tocial [cosplayers’ photo sharing app]
Lay2 [pw-sdk, build dApp on CKB and run them everywhere]
Obsidian Labs [developer IDE]
Synapse [browser wallet and keyper agency]
BlockABC [onechain CKB and web auth]
GrowFi [token swap functionality]
Obsidian Systems [CKB integration with ledger wallets]
Summa One [BTC/CKB interoperability] (completed)
LeapDAO [Sidechain Framework]
Golden Legend [Nervos NFT platform]
DAS [Decentralized Account Systems]
The Nervos Foundation currently runs a grants program for builders, check out the scope and how to apply.
CKB Weekly is curated by a group of people who witnessed Lina’s birth and started this to record her growth. Any views expressed are personal and do not represent an official position of the Nervos project. Got updates or articles you would like to include? Any feedback or other suggestions? Let us know by replying to this email.
If you are interested in contributing, we welcome you to join the review group on Telegram.
Meanwhile, here are some links if you want to learn more about the project and community.