banner
CKB 中文

CKB 中文

CKB 是理想的比特币 Layer 2

Understand the Digital Asset Creation Protocol Spore on the CKB Chain in One Article

Last Friday, the JoyID wallet officially launched the first Spore DOB Marketplace based on the UTXO order book trading model, and trading for the first DOB asset — Unicorn Box — has begun.

DOB (Digital Object, Digital Goods) is a cryptocurrency asset issued by the Spore protocol, which creates digital goods on the CKB blockchain. The Spore protocol is not entirely the same as the NFT protocols many are familiar with, as the DOBs generated by Spore are not only immutable and fully stored on-chain, but also establish an intrinsic connection between content and value. Specifically, generating a DOB requires acquiring CKB tokens as "raw materials," and the amount of CKB minted determines the size of the storage space for that DOB on-chain, while destroying the DOB allows the retrieval of the occupied CKB. This mechanism ensures that holding Spore DOB is equivalent to occupying CKB, thereby reducing the circulation of CKB within the ecosystem, which will positively impact the secondary market for CKB — as more CKB is occupied, their value is expected to increase. This creates a healthy symbiotic relationship for the creators and holders of Spore DOBs, as well as the overall CKB ecosystem.

In today's article, we will provide a detailed introduction to the Spore protocol for creating digital goods on the CKB blockchain and its many innovations.

Origin of the Spore Protocol#

According to the team, the Spore protocol was conceived about a year ago, largely inspired by Ordinals. Since Bitcoin does not support smart contracts, there are many things Ordinals cannot do; from a technical perspective, Ordinals is a very simple protocol, yet many people are interested in it, and many are using it. Thus, the Spore team considered how to expand the Ordinals protocol from the perspective of CKB, leading to the development of the Spore protocol.

The Spore team believes that if Bitcoin supported smart contracts, then Ordinals would resemble Spore. In other words, if CKB is viewed as an upgraded version of Bitcoin, then Spore is an upgraded version of Ordinals.

Features of the Spore Protocol#

1. Supports various content types, providing more creative space#

Unlike many small image NFTs in the Ethereum ecosystem, the Spore protocol is not limited to static images or offline links; it also supports various content types such as video, audio, and text, giving creators more creative space.
1

2. All content is on-chain, allowing users to truly own it#

NFTs based on the Ethereum ERC-721 protocol, such as CryptoPunks, only store imageHash in their smart contracts, while the images are stored on the centralized larvalabs.com server; if the server goes down, those images are lost. Similarly, for Bored Apes (BAYC), its smart contract stores an IPFS address, meaning those images are actually hosted on IPFS. In other words, the vast majority of Ethereum NFTs that people are familiar with have their content stored off-chain, with only a link stored on-chain. In contrast, the content data of DOBs minted through the Spore protocol is fully stored on the CKB blockchain (in Cells).
2

From a technical perspective, the actual owner of NFTs under the Ethereum ERC-721 protocol is the smart contract, which designates which addresses own which NFTs and grants them operational permissions. In contrast, DOBs minted through the Spore protocol are essentially a Cell (an improved version of UTXO), which is portable and fully controlled by the user, as Cells can only be unlocked by the user’s private key; smart contracts cannot control these Cells. This is why if there is an issue with the smart contract of an Ethereum NFT, all NFTs could potentially be rug pulled; whereas on the CKB blockchain or any UTXO model blockchain, asset loss can only occur if the user's private key is compromised. This difference is fundamentally due to the distinction between account models and UTXO models.

3. Each DOB has CKB as its value backing#

Storing any type of item on the CKB blockchain requires occupying CKB; one CKB token equals one byte of space on-chain. Therefore, if you want to create a 200-byte Spore DOB, you need to purchase 200 CKB to occupy that space on-chain.

This is interesting because the blockchain is inherently an infinite virtual space, but now a limited resource has been created, and the Spore protocol amplifies this point. Each CKB incurs significant electricity and computational resources from miners; using CKB to mint Spore DOB is akin to using gold extracted from ore to create jewelry. Since the raw material gold itself has value, this piece of jewelry is valuable regardless of its craftsmanship. The underlying value of Spore DOB comes from the CKB it occupies, while the value of CKB derives from the entire blockchain network.

The value of gold jewelry is naturally higher than the value of the raw material gold, so the value of Spore DOB will also naturally exceed the value of the CKB it occupies. If we no longer like this piece of gold jewelry, we can destroy it to reclaim the raw material gold; similarly, if you no longer want this DOB, you can destroy it and retrieve the occupied CKB.
3

This mechanism ensures that holding Spore DOB is equivalent to occupying CKB, thereby reducing the circulation of CKB within the ecosystem, which will positively impact the secondary market for CKB — as more Spore DOBs are created and held, more CKB will be occupied, further reducing its circulation. This reduction in circulation will drive up its price, thereby increasing the value of Spore DOBs that use CKB as "raw materials." The wealth effect from the appreciation of DOBs will attract more people to mint and hold DOBs, ultimately creating a positive feedback loop for CKB.

4. No transaction fees, providing a better user experience and privacy protection#

DOBs minted through the Spore protocol will automatically deposit an additional 1 CKB during minting, so future transactions of DOBs do not require additional gas fees. In a non-congested network, 1 CKB can cover the miner fees for over 7000 on-chain transfers.

Eliminating transaction fees enhances user experience and makes it easier to reach a broader audience. Imagine wanting to gift a CryptoPunk to a friend outside the crypto space; they would first need to learn how to register an Ethereum wallet, understand how to securely store their mnemonic phrase and private key, and then provide you with their wallet address. After receiving the CryptoPunk, if they want to transfer it to someone else, they would need to buy ETH on the market and transfer it to their wallet to send the CryptoPunk, all while learning about gas fees and how to set them. With Spore DOB, you can simply have your friend open joy.id in their mobile browser, follow the prompts to create a JoyID wallet with just two fingerprint scans in a matter of seconds. After receiving the Spore DOB, if they want to transfer it to someone else, they do not need to purchase CKB for miner fees, nor do they need to understand what gas fees are; they can simply enter the recipient's address and scan their fingerprint twice to transfer it, making it very convenient.

No transaction fees also provide better privacy protection. The UTXO model inherently emphasizes privacy, as wallets on UTXO chains automatically change addresses with each use; in contrast, wallets on account model blockchains (like MetaMask) do not automatically change addresses.

Blockchain data is public, and everyone can see it. If you continuously use the same address, all operations are associated with that address, allowing anyone to analyze your behavior. Vitalik once wrote an article about implementing stealth addresses on Ethereum. When user A transfers to user B, a temporary one-time stealth address is generated on the blockchain, and user A transfers assets to this stealth address, allowing user B to operate the assets at that address. Only the two parties involved in the transaction know who owns the address, and others cannot determine the true owner through on-chain data. While stealth addresses can be implemented on Ethereum, UTXO blockchains have had similar functionality for a long time, so stealth addresses are not an innovation point of Ethereum.

Moreover, the Ethereum stealth address solution is not perfect. For instance, if user A sends an NFT to user B's stealth address 1, and user C sends an NFT to user B's stealth address 2, if user B wants to gift these two NFTs to a friend, and both stealth addresses do not have ETH to pay for gas fees, they would need to transfer ETH to those stealth addresses, which would expose their identity. Alternatively, they could use various complex protocols to have someone else pay the gas fees, but this would complicate the process. Thus, the Ethereum stealth address solution is not flawless.

This can be done perfectly on CKB. Certain wallets on CKB (like Neuron) automatically create multiple addresses, changing addresses with each use. If user A owns 100 Spore DOBs, each DOB can be stored in different addresses, and during transfers, since Spore DOBs come with their own transaction fees, user A can easily transfer these 100 DOBs to others.

5. Contracts are non-upgradable, ensuring DOBs remain unchanged#

NFTs based on the Ethereum ERC-721 protocol often have upgradable contracts, allowing for bug fixes or the addition of new features through multi-signature or other methods.

In contrast, the Spore protocol, which has been deployed on the CKB mainnet, has non-upgradable contracts. If there is a bug in the contract, the developers cannot do anything about it; a bug is a bug, and it is part of that version's flaws. If we refer to the deployed Spore protocol as version v1.0, if we want to add more features, we can only deploy a new contract rather than upgrade Spore v1.0. This means that there will be many different versions of Spore DOB in the future, some minted through Spore v1.0, others through v2.0... A DOB minted with v1.0 will not suddenly upgrade to v2.0 or have features you dislike added or your favorite designs removed.

With this design, Spore DOB becomes an eternal entity in the digital world of CKB, with all its content data stored on-chain. As long as the CKB chain continues to operate, this DOB will always exist. Additionally, since the Spore contract is non-upgradable, you do not need to worry about changes to the DOB you hold; if it was minted through the Spore v1.0 contract, it will always be version v1.0 and will not change. In the real world, a piece of jewelry made with a certain technique does not change to look like something made with a new technique just because a new technique becomes available; this is why antiques exist. Therefore, we can consider Spore DOB as a simulation of the real world.

6. Code reuse, no fear of deletion, greatly facilitating developers#

Issuing NFTs on Ethereum requires redeploying the NFT contract because Ethereum's smart contracts contain both logic and state, which cannot be separated. Logic represents the rules that dictate how NFTs can be traded and what functions they can have, while state records which addresses own which NFTs.

With Spore DOB on CKB, logic and state are separated, meaning that when issuing NFTs, there is no need to redeploy the Spore protocol; the protocol standard can be directly referenced. Specifically, Cells are referenceable storage units, and CKB serves as a shared library for code and data for smart contracts running on it, making code reuse on CKB easy. This saves time, as developers do not need to repeatedly deploy the same code, and it also saves space on-chain, reducing deployment costs.

Code reuse does not require worrying about someone modifying the code stored in the dependent Cells, as Cells are immutable, meaning no one can modify them. Even if the owner of a Cell directly deletes it from CKB, no one will suffer a loss because anyone who has a copy of the code (such as those running full nodes or complex light clients) can redeploy the same code on-chain, and the reference to the code hash remains valid; we just need to use a new dependent Cell to construct the transaction. For more on this, it is recommended to read the article "CKB, Version Control and Blockchain Evolution" by CKB Chief Architect Jan Xie.

7. Supports Cluster, improving transaction efficiency#

The Spore protocol also introduces the concept of Cluster, which allows multiple DOBs to be packaged into a collection for direct transfer or trading, improving efficiency.
4

8. Supports contract plugins, offering better scalability#

The Spore protocol has excellent scalability, as it can support plugins written by other developers for this contract. When calling the Spore contract, the script parameter can specify which Spore contract plugins to use, empowering DOBs to achieve more functionalities.

Of course, if the Spore protocol and its plugins cannot achieve the desired functionality for developers, they will need to write and deploy a new DOB minting protocol. CKB is a very flexible blockchain that can implement various protocols and standards.

9. Can freely flow between different UTXO chains#

According to current plans, the RGB++ asset issuance protocol on the Bitcoin layer will go live at the end of March, at which point DOBs issued on the CKB blockchain can leap to the Bitcoin mainnet via RGB++, becoming digital goods on the Bitcoin chain.

In addition to Bitcoin, DOBs issued on CKB can also become digital goods on other UTXO chains in the future through isomorphic binding technology and Leap operations.

More Ways to Use the Spore Protocol#

The Cluster concept mentioned above can help the Spore protocol achieve more functionalities. For example, a mascot DOB can have accessories like glasses, earrings, and necklaces designed for it, and these accessory DOBs can form a Cluster with the mascot DOB for trading or participating in competitions. In other words, Spore DOBs are like LEGO bricks; we can use different LEGO bricks to create various puzzles, fully engaging the creativity and imagination of holders.

Additionally, we can innovate on the storage content of Spore DOBs. For instance, if we want to issue a profile picture DOB, instead of directly storing the image on-chain, we could innovatively store keywords describing the profile features, such as short hair, black eyes, high nose bridge, big mouth, fair skin, male, and then use an on-chain or off-chain decoder to decode it. This decoder acts like an artist, drawing the profile picture based on these keywords.

The interesting part here is that the keywords written on-chain are immutable, but the decoder can change or evolve. Because the same keywords will yield different profile pictures when drawn by different AI models, and different versions of the same AI model will also produce different results. This means that this DOB has the ability to change and evolve, which is very intriguing.

Spore is a very flexible and well-scalable digital goods creation protocol, and we believe that through everyone's brainstorming, we can achieve even more innovative functionalities.

Conclusion#

CKB Chief Architect Jan Xie once said:

"When designing CKB, the intention was to build a digital world or universe. A world or universe consists of two dimensions: time and space, and PoW is essentially a decentralized clock (for specific discussions, refer to Gregory Trubetskoy's article), a technology that can create time within the digital realm. UTXO, or CKB's Cells, represent space on the chain, where data is stored. By combining PoW and Cells, we can create a decentralized universe. In this universe, everything we do is essentially a mapping of our real world."

In this "real virtual world" built on the CKB blockchain, Spore DOB is an on-chain digital good that closely resembles physical items in the real world: its creation requires using raw material CKB, and it can be destroyed to reclaim CKB when no longer desired; it has versions, can remain unchanged like antiques, and can also innovatively possess the ability to change or evolve. The underlying Spore protocol, with its flexibility and scalability, provides more possibilities for DOBs.


References:

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.