Interpreting Cellula: A gamified asset issuance protocol that pays tribute to POW mining
Author: Nickaqiao & Faust, Geekweb3
Since the popularity of ERC-20 assets in 2017BlockchainSince the launch of Web3, the threshold for asset issuance has been low. Various project parties have issued customized assets arbitrarily through ID0, IC0, etc.TokenOr NFT, and most of them have problems of strong control or information opacity, and the RugPull phenomenon occurs frequently. Various sickles seem to regard IC0 and ID0 as an excellent way to reap profits.
Today, conventional ID0 and IC0 have fully exposed their fairness flaws, and people have always hoped for a fairer and more reliable asset issuance protocol to solve many problems during the TGE of new projects. Although some creative projects have unilaterally proposed their own "fair economic models", they are often not universally promoted. In the end, most of these economic models have become "specific cases" rather than "a set of abstract protocols."
So,What model is a fairer and more reliable way to distribute assets? What solution can serve as a universal protocol?Cellula, which will be introduced in this article, provides a new perspective to solve the above problems. They implemented aThe asset distribution layer simulating POW uses virtual proof of work (vPOW) to “miningize” the asset distribution process to simulate BTC and achieve a fairer asset distribution paradigm.
Although the project is considered by many as Gamefi, the in-game rewards it distributes can be set as any type of token.In theory, Cellula can be used as an asset distribution platform with POW effect.It brings broader prospects and imagination space for the issuance of Web3 assets. It is not an exaggeration to even call it "a social experiment in tribute to BTC mining."
POW and vPOW: Lottery draws with unpredictable outcomes
In fact, whether it is authentic POW or POS, or the vPOW we are going to talk about today, the essence is to set up a set of algorithms with unpredictable/difficult to predict output results, and conduct "lottery draws" through the output results.BTC miners need to construct blocks that meet the restrictions locally and submit them to all nodes in the network for consensus before they can get the block reward. As for the restrictions, the Hash of the constructed block must meet special requirements, such as a prefix of 6 zeros.
Since the block hash generation result is unpredictable/difficult to predict, in order to construct a qualified block, the input parameters of the given algorithm can only be continuously changed. This process requires brute force and has high requirements on the miners' hardware equipment.
In short, BTC mining uses the unpredictability of the SHA-256 hash algorithm to implement a "lottery" system in which miners from the entire network participate online. This design ensures permissionless participation at the expense of electricity.
In addition, POW is a more equitable way of distributing assets. The control difficulty of the project owner in the mainstream POW public chain is much greater than that in the POS public chain.In many POS public chains or IC0 and ID0 schemes, there are many cases where the project party has strong control.
(Under FTX’s manipulation, Solana skyrocketed by nearly 500 times in 2020-2021 alone, which is extremely unfriendly to latecomer validator operators)
For example, under the manipulation of FTX and SBF, the price of Solana coin soared nearly 1,000 times from 2019 to 2021. Many Solana verification node operators are its early investors, and the cost of obtaining chips for them is close to zero, which seriously disrupts the fairness of asset distribution.Although the project owner also has room to control the market in POW, the degree is often much lighter than in POS.
The problem is,The POW model is often applied to the underlying public chain rather than the asset issuance layer of DAPP. Can we simulate the effect of POW with a set of solutions that can be implemented on the chain?If possible, we can implement a set of asset distribution protocols that are fairer and more reliable than strong control solutions such as IC0 and ID0. Combined with some game scenarios, we can make some interesting Gamefi (of course, the actual use is not limited to games, it can also provide a fair asset distribution solution for other projects).
So the key is,If we want to simulate the effect of POW at the on-chain asset issuance layer, how should we do it?In the Gamefi project Cellula introduced in this article, the famous "Conway's Game of Life" algorithm is introduced to allocate computing power to virtual digital entities on the chain (called "BitLife"). To put it simply, it is like letting a group of people breed cell clusters in their own petri dishes. As time goes by, whoever has more surviving cells in their petri dishes will get higher mining computing power after conversion, and will be more likely to get mining rewards.
in short,Cellula replaces the traditional POW hash calculation with another calculation method with unpredictable/hard-to-predict results.Xiaobai Navigation, replacing the "Work" form in "Proof of Work".According to Cellula, the key is to obtain a culture dish (BitLife) with more surviving cells, and deducing the state changes of BitLife requires computing resources.The essence is to change the hash algorithm executed by BTC mining into a specific algorithm for deducing Conway's Game of Life, which is called vPOW (Virtual POW).
Let us now conduct a more in-depth analysis of the mechanism design of vPOW. I have to say that many of the details here are very interesting. It can be said that one of the things Cellula is doing is to simulate the BTC mining machine industry chain model through the on-chain NFT transaction chain.
The core of vPOW: Conway's Game of Life and BitLife
Before we start to explain the mechanism design of Cellula, let's take a look atThe most important core of vPOW is "Conway's Game of Life".It can be traced back to the concept of "cellular automaton" proposed by John von Neumann in 1950, and then mathematician John Conway formally proposed the "Conway Game of Life" in 1970, using algorithms to simulate the evolution of life in nature.
Suppose we have a petri dish, which is divided into a bunch of small squares according to two-dimensional coordinates. Then we perform an "initial setting" on the petri dish, allowing some living cells to occupy some of the squares. After that, the life and death states of these cells will evolve over time, gradually presenting a complex cell cluster (you can imagine how mold reproduces). This is essentially a two-dimensional grid game with very simple rules:
-
Each cell has two states: alive/dead. Just like the minesweeper game, each cell interacts with the cells on the eight squares around it (as shown in the figure, black means alive and white means dead).
-
Assuming that a cell survives, but there are less than 2 surviving cells (0 or 1) in the surrounding 8 grids, the cell enters the dead state;
-
If a cell survives and there are 2 or 3 surviving cells around it, the cell will remain alive;
-
A cell is in a survival state. When there are more than 3 survival cells around it, the cell enters a death state (simulating a scenario where there are too many lives competing for resources).
-
When the current cell is in a dead state but there are 3 surviving cells around it, the cell will enter a survival state (simulating cell proliferation)
So it's simple,Given an initial pattern of cell states in a two-dimensional culture dish, the cell states will then evolve and iterate over time according to the above rules, producing a myriad of changing results.You can even use Conway's Game of Life to simulate the effects of a computer.
For example, the life/death of each cell in the culture dish corresponds to the binary 0/1. You can regard the initial state of the cell as the "input parameter". The life or death of each cell (0 or 1) represents the input data. After that, the cell state will begin to evolve according to the initial pattern. Each round of state change is equivalent to a step in the calculation process. The state obtained after a period of time can be regarded as "output".
As long as the appropriate initial pattern is arranged, Conway's Game of Life can output a specific result after several generations of evolution. Since the initial pattern is ever-changing, its characteristics can be used to simulate the effect of lottery draws.We can set restrictions, and each player randomly selects a batch of initial patterns. After 100 generations of evolution, the petri dish owners whose output results meet xx characteristics are eligible to receive rewards. This is similar to the idea of BTC mining:
"The system first limits which types of output results meet the requirements, and participants input random initial values into a given algorithm to try to obtain output results that meet the requirements."Since there are so many initial input parameters to try (almost a huge amount), you have to work hard to get lucky and win, which is exactly the logic of proof of work: miners must do a certain amount of work to get rewards.
After understanding the basic ideas of Cellula and Conway's Game of Life, let's look at its specific details. Cellula divides the "petri dish" mentioned above into 9*9=81 squares, and the cells on each square have two states: life/death (corresponding to binary 0 and 1). In this way, according to the permutations and combinations, there are 2^81 initial states of the cells in the petri dish, which is equal to 1 trillion squared (basically an astronomical figure).
Then, all the player has to do is select the initial mode (input parameters) of the petri dish.BitLife acts as a petri dish entity (actually an NFT), containing 81 squares, with a cell placed on each square (it may be in two states: alive/dead, and an empty square is equivalent to a dead cell). Then, every 3*3=9 adjacent squares in BitLife form a BitCell, and each BitLife is composed of 2 to 9 BitCells (if the BitLife you construct has less than 9 Bitcells, some places will be vacant, and all are dead cells by default).
According to the permutations and combinations, BitCell (3*3 squares) has 2^9 initial modes.All players have to do is randomly select multiple BitCells of different modes and combine them to construct a BitLife.To put it simply, it means to randomly choose an initial mode for your own petri dish.As mentioned before, there are 2^81 different initial modes, which is an astronomical number. Therefore, there is a lot of room for choice for participants, which is a bit like the use of SHA-256 in BTC mining.
The state of BitLife cells will change as the block height increases. Cellula allocates computing power according to the state of BitLife at different block heights. Given a block height, the more surviving cells a BitLife contains, the higher its computing power will be, which is equivalent to creating a virtual mining machine.
To give a specific example, Cellula participants need to exhaustively enumerate BitLife’s 2^81 initial modes off-chain, predict the state of each mode after evolution, and then see if it meets the requirements of the reward system.Assuming that the current block height is 800, and the system requires that when the block height is 1000, the BitLife with the most surviving cells will receive the most rewards, then the goal of the participants will be clear:
At block height 800, I want to obtain a certain mode of BitLife that has more surviving cells than other BitLife at block height 1000.
This is actually the core gameplay of Cellula. Your goal is to construct or buy from others the BitLife that is most likely to get mining rewards.This model is equivalent to allowing ordinary retail investors/advanced retail investors to develop their own mining machines. Then you can sell your own mining machines to others, or buy other people's mining machines to mine.If you want to build your own mining machine, you have to deduce the state evolution of different modes of BitLife off-chain, which will consume computing resources; if you want to buy someone else's mining machine, you are actually buying BitLife with different initial modes, and you have to judge the future state changes of these BitLife by yourself, so you still have to calculate it yourself off-chain. This is actually a very interesting point in the entire Cellula game design.
After understanding the core mechanism of the game, let's look at other details: In fact, the living cells in BitLife can overflow beyond the initial 9*9 grid, and the number of living cells can be much larger than 9*9, without any boundary restrictions. As shown in the figure, if the number of active cells in a BitLife continues to increase, the mining power allocated to it will also increase. If the initial mode of BitLife is not properly selected, the number of living cells will decrease, and the computing power will also decrease.
Then,The system will distribute a certain amount of mining rewards (called energy points in the game) every 5 minutes, based on each BitLife's share of computing power in the network.
In Cellula, the process of players synthesizing BitLife is a process of "making" a new mining machine. As we mentioned earlier, the entity of BitLife is an NFT.After BitLife is minted on the chain, it needs to be “charged” before mining can start.A single charge is valid for 1, 3, and 7 days. A small handling fee is required, and further charging is required after expiration.
Here, in order to encourage users to charge BitLife more, Cellula has set up a "charging lottery" function. Every time you initiate a charging operation, you may be selected and get some extra rewards (that is, this reward is independent of the mining reward). We will briefly introduce this design in the Analysoor algorithm section later.
According to Cellula's official rules, the minting of BitLife containing 3*3 Bitcells (that is, containing 81 small squares) has been stopped. Players have minted more than 1.5 million of this type of BitLife in total. In the future, new users can buy BitLife in the secondary market and charge for mining. According to the official explanation, limited minting is to maintain the stability of the game ecosystem and prevent scientists from minting BitLife NFTs indefinitely, which will cause the value of mining machines to shrink.
In the future, Cellula will introduce a role similar to that of a mining machine manufacturer, which is based on a licensing system and requires staking.Token, publicize sales channels, have certainCommunityThese manufacturers will be responsible for minting and selling BitLife containing 4×4 BitCells, that is, 16*9=144 small squares. The amount of BitLife that a manufacturer can mint will be limited by the amount of its staked tokens.
Here we briefly explain the core concepts involved in vPOW.The essence of vPOW is a computing model based on given rules. Participants can participate in the competition by optimizing strategies and issue and distribute assets in a gamified way. Cellula simulates the operation of the BTC mining machine market and replaces the computing task form in the proof of work.Since the distribution of mining computing power can be adjusted dynamically, any mode of BitLife may not be the global optimal. The BitLife with the largest number of surviving cells today may be surpassed by other BitLife tomorrow, which will lead to complex emergence phenomena and dynamic strategies.
Analysoor lottery algorithm and VRGDAs index pricing curve
In the previous section, we mainly focused on the core mechanisms of Conway's Game of Life and Cellula. Now let's take a look at other designs included in the game.As mentioned above, Cellula has a charging lottery session, which uses a random number output algorithm called Analysoor.It uses the block hash as the input parameter of the random number generator, extracts the winners among the chargers in each block, and introduces a lottery system.
For example, in Analysoor's design, the current BNB Chain block hash is a long string of 6mjv..., which contains 4 numbers: 6, 2, 1, 6. According to the order of these numbers in the string, the first number is 6 and the last number is 6, which is an even number, and will be counted from the beginning to the end. The extracted numbers are counted from 0, so the transaction order corresponding to the number 6 is 7, and the 7th charging player in the current block is regarded as the winner. Of course, the specific design can be more flexible, this is just an example. The above random lottery algorithm can effectively motivate players to charge more and mobilize the activity of the in-game ecosystem.
In addition, there is a problem in the entire transaction model of Cellula: once a certain model of BitLife is minted by a big guy, the BitCell combination scheme used will be made public, and others can also "follow suit" and mint BitLife according to the same combination scheme, which will easily lead to a phenomenon of a large number of people following suit, seriously affecting the randomness of the game results.Cellula introduced Variable Rate Progressive Dutch Auctions (VRGDAs), a pricing algorithm developed by Paradigm that dynamically adjusts prices——Raise the price when the casting volume exceeds expectations, and lower the price when the casting volume is lower than expectations.
Assume that the initial expectation is to mint 10 Class A NFTs per day, with a starting price of 1 CKB. On the 5th day, it was expected that people would mint a total of 50 Class A NFTs, but because many people followed suit, the minting volume reached 70, which was equivalent to the original goal to be achieved on the 7th day. In order to limit the speed, the minting price must be quickly increased through the exponential pricing curve, and the unit price must rise to 4 CKB to suppress the minting behavior.
If by the 15th day, only 120 coins have been minted (the original plan was to mint a total of 150 coins at this time), and the expected sales volume has not been achieved, the price will be lowered to stimulate minting.
In the above scenario, when a certain type of BitLife is minted in large quantities in a short period of time, the minting price of this type of NFT will increase exponentially. This drastic price increase can effectively prevent scientists.
Summary: Cellula from the perspective of player game
After talking about all the core designs of Cellula, let's look at this mind-blowing game mechanism from the perspective of players. First of all, there are many participants in vPOW, and each participant has a different strategy. Taking the primary issuance market as an example, a "scientist" can write code and combine different BitCells to find a BitLife with higher computing power to obtain higher mining income. At the same time, there will be some MEV players who monitor the casting events on the chain. When they find that a NB scientist has cast a certain type of BitLife, they will also follow suit and cast a large number of them.
However, due to the existence of VRGDAs exponential pricing algorithm, the price of a single type of BitLife casting can grow exponentially, which can effectively prevent scientists (counterfeit)Witch), of course, BitLife/mining machines will also be priced. If the computing power of a certain type of mining machine is high, its casting/production price will also be very high. The price circulating in the secondary market will refer to the production price and then be transmitted to the entire supply chain.
Analogous to the issuance process of BTC mining machines, scientists discovered that a certain type of BitLife has high computing power, just like a mining machine company developed a new chip, and MEV players followed suit, just like the first-level dealers completed the pricing of the mining machines, and the subsequent secondary market transactions were similar to retail investors buying equipment from dealers.
The difference is that compared with the development of mining machines in the real world, scientists discovered that the speed of the new BitLife will be much faster, and anyone can participate in the state deduction of BitLife, which is equivalent to reducing the research and development power of mining machines to a large extent."Everyone has the opportunity to become a scientist" is more friendly to most people and is impossible to appear in the actual mining machine production chain.
As for the project owner, the adoption of a POW-style asset distribution scheme weakens his power, so scientists, project owners, and ordinary players cannot unilaterally control the market. In the mining machine casting and issuance process, a three-party game is generated, and no one party can completely monopolize the market, which can form a dynamic balance.
Overall, compared to the BTC mining machine industry chain, Cellula's solution is a more interesting social experiment.
The article comes from the Internet:Interpreting Cellula: A gamified asset issuance protocol that pays tribute to POW mining
Bitget Wallet is Asia's largest and world's leading one-stop Web3 wallet, with more than 20 million users worldwide. Bitget Wallet, the world's leading TON ecosystem Web3 wallet, announced the launch of the "TONNECT 2024" large-scale online event to accelerate the construction and development of the TON ecosystem. "…