What might multi-chain asset lending look like?
Thought experiments with CKB and the Nervos cell model
Sparkling
Recently, we have found that the introduction of Interoperability 2.0 has spurred some ideas for Interoperability 2.0-related dApps. This week (perhaps inspired by the release of information about Compound Chain), a community member posted a topic to Nervos Talk describing an idea for multi-chain asset lending.
If we were to implement something like Compound or Aave for multi-chain asset lending on CKB, what would it look like?
Step 1: Fork Compound, Aave and other lending protocols’ Solidity code and run it inside Polyjuice, CKB’s EVM compatibility layer.
Step 2: Leverage the CKB Force Bridge cross-chain asset functionality to allow assets to move across chains
Step 3: Utilize PW Core to support a wide variety of wallets that users already have, making it easy for users to enter the CKB lending ecosystem
We can already see that it is likely that the requirements of cross-chain lending can be met with the infrastructure underpinning Interoperability 2.0, and there is even the possibility of shared liquidity across dApps through the Glia protocol.
Lay2 releases pw-sdk Milestone 4!
Though we have mentioned pw-sdk many times before, they continue to make notable releases. In Milestone 4, they bring more methods of unlocking cells, including the ability to use EOS and Tron wallets and even support for the commonly used authentication standard WebAuthn.
Milestone 4 also brings support for WalletConnect, Torus and other linked wallets. Pw-sdk also now includes support not just for standard CKB cells, but also for anyone-can-pay (ACP) and simple user defined token (sUDT) cells.
Schnorr signatures on CKB
The Obsidian Systems team has worked on a previous grant to support the Ledger hardware wallet on CKB. We are excited to see that the team has recently submitted a proposal to bring Schnorr signature functionality to CKB!
The power of Schnorr signatures is clear when looking at multi-signature applications:
Compared to the common secp256k1, Schnorr brings privacy improvements, multiple signatures can be aggregated off-chain, and then a single signature is evaluated on-chain.
Efficiency is also gained from limiting the amount of on-chain data required for multi-signatures, which could be valuable in situations where many signatures are required, such as decisions in a DAO.
Obsidian Systems expects that in addition to implementing the Schnorr cryptographic primitives, they will provide multi-signature examples for use with Lumos, making the functionality more friendly to web developers.
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.
If you are curious about why a design in CKB is what it is now, please post your questions in this repository.
Dev Updates
Core
CKB
Dev Tools
Polyjuice [an Ethereum on CKB solution]
Capsule [development framework for creating smart contract scripts in Rust for CKB]
Lumos [JavaScript/TypeScript based dapp framework]
Neuron
Layer 2
Muta [layer2 framework on CKB]
SECBIT Labs [Zero knowledge proof toolkit for CKB]
Godwoken [A framework to build rollup solutions on top of Nervos CKB]
Cross-chain
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]
( #124) update ckb-relay with multi sign
( #120) optimize eth-relay
( #87) add multisig to TokenLockerV2 and CKBChainV2
( #118) bugfix when reorg on eth relay service
( #114) deploy scripts with type id
( #117) change way of find eth light client cell
( #116) dapp server update
( #113) add relay monitor
( #115) switch to multi-sig ckb light client
Ecosystem
Hxro [Gamified Crypto Trading Platform]
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]
update test for Transaction component
add test for TokenList component
refactor address page
bump version to 0.2.0
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]
The Nervos Foundation currently runs a grants program for builders, here you can 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 the email.
If you are interested in contributing, we welcome you to join the review group on Telegram.
Meanwhile, there are links below if you want to learn more about the project and community.