I have always felt that CKB is different from other blockchains. Its Lock is more than an access condition—it is programmable on-chain logic, which gives developers a unique space for experimentation.
This led me to a question:
Can ordinary users experience Web3 without first setting up a wallet?
For many newcomers, installing a wallet, managing private keys, and obtaining CKB before sending a first transaction creates a significant barrier.
So, with the help of AI-assisted coding, I built a simple COMP Shared Lock. The initial idea was to create a public Lock and use a shared Cell as a Gas Pool, allowing users to interact with an application without handling the full wallet experience first.
Its core rule is simple:
Anyone may use the Cell, while no individual can take it over.
Each state transition creates exactly one successor Cell. The Lock, Args, and Type remain unchanged, while capacity can only decrease within a defined limit. This allows a CKB Cell to function as a long-lived shared state container maintained by a community rather than a central server.
Beyond a Gas Pool Cell
After building the Gas Pool concept, I started thinking about what else could be created with a shared Cell.
Because CKB Locks are programmable and Witness data can carry custom information, a Cell can also become an open public message space. This idea led to the CKB Open Message Protocol, which is also where the name COMP comes from.
Text Room
A permissionless on-chain text room.
Anyone can post anonymous messages. Once recorded on-chain, each message becomes part of the transaction history, and the application provides no delete function.
Canvas Wall
A public on-chain graffiti wall.
Multiple people can paint on the same canvas, leave their own marks, and explore the history through replay.
This is a small experiment exploring how CKB Lock programmability and shared Cells can lower the barrier to Web3 and create open, community-maintained spaces on-chain.
Feel free to leave a message in the Text Room or add your own drawing to the Canvas Wall.
Note: This project was built in only a day or two. The focus was on exploring the possibilities and playability of CKB Locks, rather than designing rigorous data structures or protocol standards. It should be viewed as an early prototype, and feedback is very welcome.
Project source code: