Crypto has been around for many years and has seen countless significant events, some of which are nostalgic, while others are awe-inspiring. As an ordinary degen, many things have passed us by, and we couldn't implement them ourselves. If you were to be reborn, how would you seize this opportunity, experience what kind of time, and live a more exciting degen life?
In DegenReborn, gamers can reborn themselves into an eventful and yet hilarious life trajectory tailored just for them! Get onboard and feel the reincarnations on the tip of your fingers!
We used ChatGPT to generate a series of AIGC events. We encountered the problem of unclear logic between these events. Through our tuning of the model, we completed a rich and logical combination of events.
As reward distribution is related to degen's score ranking, we have considered maintaining a leaderboard on Ethereum. However, there are two issues with maintaining the leaderboard on the chain: one is the high cost of storage, which limits the amount of data that can be stored, and the other is the high cost of computation, as transactions are subject to gas limits. Therefore, we have used compact storage to store limited results on the chain and optimized the sorting algorithm on the chain. We use a red-black tree as the data structure for sorting the inserted data, which reduces the gas cost for inserting new data and obtaining sorting results to an acceptable level.
Discussion