The Cyber Aquarium by the Mustaverse team is an unprecedented Web3 simulation project that proudly received the winner award at the Taiwan Blockchain Week hackathon on the BNB chain. Centered around the theme of aquariums, the project integrates an English auction mechanism, adding not only innovative elements to gamification but also allowing players to participate in the construction of virtual aquariums, blending transactions and business activities.
ERC-6551 was proposed by Jayden Windle and Benny Giang in February 2023. This proposal defines Token Bound Accounts (TBA), enabling TBAs to possess assets like a wallet, interact with applications without modifying existing smart contracts or infrastructure, breaking new ground in the traditional applications of NFTs and bringing forth more innovation:
- NFT as an Account: We empower Aquarium NFTs with their own token balance, smart contracts, and other assets, opening up endless possibilities for gameplay.
- NFT as Components: ERC-6551 allows NFTs to be combined, turning different fish NFTs into schools, no longer confined to singular value, and enabling bulk sales through aquariums by our auction system.
Introduction to Cyber Aquarium
Integration of Cultivation Mechanism and Auction Trading
Cyber Aquarium is an unprecedented NFT showcase application centered around aquariums, incorporating an English auction mechanism. This not only adds innovative elements to the project but also allows players to participate in the construction and management of virtual aquariums. On the web page, players own virtual aquariums that require careful management and care of the creatures within. This fusion of NFTs and game management elements provides players with a richer experience.
By bundling and selling NFTs of aquariums, a new business model is created. This approach not only offers more choices to players but also increases the value and uniqueness of NFTs. The gameplay also allows the combination of different NFT collections, creating entirely new creative works. This combination not only promotes the diverse applications of NFTs but also sparks players’ interest in art and collecting.
DApp Development Technology
Cyber Aquarium had a development timeline of 2 months, utilizing Web3 technologies learned in Z-Institute’s frontend development course. Instructor Li Tingting shared many examples of creating DApps with the React framework, offering valuable guidance on wallet integration and contract interaction. In the initial stages of the hackathon, we referenced the NFT business card example from the course, modifying it to fit the competition theme, expediting the planning of components and templates.
We used RainbowKit as the primary tool for wallet integration. RainbowKit integrates Wagmi and packages it into an easy-to-use wallet connection feature while providing a project initialization tool with the Next.js framework, allowing developers to quickly create Web3 frontend projects.
For interaction with the ERC-6551 contract, we used the Hardhat framework for deployment and testing. After verifying functionality, we introduced the TokenBound SDK, which, by setting the chain ID, providing the NFT contract address and token ID, calculates the TBA address of the NFT, streamlining the complex process of contract interaction. Some pages required displaying NFTs from the wallet on the page. Initially, we attempted to fetch NFT data from IPFS, but later found that Opensea provides a testing API for developers, successfully resolving the issue of displaying NFT images from TBA.
Aquarium Bidding Feature Design
For the NFT trading feature, we drew inspiration from Opensea’s bidding system and adopted the classic English auction mechanism. Based on the example contract from Solidity by Example, we added features such as direct purchase functionality, modifying the start bidding time, and setting a timeout for reclaiming bids, creating a more flexible, convenient, and secure ERC-6551 NFT bidding contract. This bidding contract not only provides a new auction experience but also creates more opportunities for player participation.
- Direct Purchase Functionality: Sellers can set a direct purchase price, known as the floor price, allowing buyers who don’t want to wait to directly purchase the aquarium at this price. This makes transactions more user-friendly and accelerates the circulation of aquariums in the market.
- Gas Fee Optimization: Typically, bidding time is calculated from the start of the auction until the countdown expires. To save gas fees for redeploying the bidding contract when there are no bids, we modified the bidding time to start counting only after the first bid is placed. After the bidding time ends, the auction can be restarted with a set time without redeploying the bidding contract.
- Timeout Reclaim Bids: Initially, our method for ending the bidding,
end()
, could only be called by the owner. There was a situation where if the seller delayed ending the bidding, the funds of the bidders would be stuck in the bidding contract. To address this, we designed a mechanism where if the bidding contract has expired and a specific time has passed without the owner calling it, bidders can reclaim their original bid, and the bidding contract’s status will be reset.
Integration of NFT and Generative Art “SoulFish”
The project had the honor of collaborating with generative artist Wu Zheyu, gaining IP authorization for the concept exhibition of SoulFish from Ink Rain Interactive Design. We encountered Wu Zheyu’s work at the 2023 NFT Taipei, where he combined mathematical formulas with Shader to render beautiful fish images. The real-time computation of the program brought the artwork to life, as if wandering in a virtual world. In Cyber Aquarium, by clicking on the sample account, you can appreciate Wu Zheyu’s generative art combined with TBA aquariums.
https://www.fxhash.xyz/generative/15625
Mustaverse’s Vision for the Future of GameFi
The Mustaverse team’s philosophy revolves around technological innovation as the driving force for shaping the future of game development. We are committed to providing comprehensive technical support, enabling developers to break through traditional limitations and create captivating gaming experiences through cutting-edge technologies such as XR, AI, and Web3. Emphasizing the removal of physical barriers, we connect interactions between people through the integration of virtual and real technologies.
The rewards provided by the TBA cultivation mechanism in our product offer players more motivation to participate in the game, while also creating an ecosystem within the game:
- Users can experience unique gameplay and generate their intrinsic value during the gaming process.
- Creators have a stage to showcase their talents, simultaneously earning profits by selling their creations.
- Developers receive sufficient operating funds to continually maintain and develop subsequent game mechanisms.
Players can place NFTs obtained through various channels into aquariums, and the aquariums themselves can be traded. Players can also showcase their talent by selling their aquarium designs. NFT project owners earn rewards from these transactions, and developers collect fees, ultimately creating a win-win situation for players, NFT project owners, and developers.
Authors: SharKevin, Owen Lu, Aron Yu
8 responses to “Cyber Aquarium: Redefining NFT Art Auction”
This gateway is fabulous. The splendid substance displays the essayist’s commitment. I’m overwhelmed and envision more such astonishing substance.
I loved as much as youll receive carried out right here The sketch is tasteful your authored material stylish nonetheless you command get bought an nervousness over that you wish be delivering the following unwell unquestionably come more formerly again since exactly the same nearly a lot often inside case you shield this hike
I always leave this blog feeling inspired and motivated to make positive changes in my life Thank you for being a constant source of encouragement
Its like you read my mind You appear to know a lot about this like you wrote the book in it or something I think that you could do with some pics to drive the message home a little bit but instead of that this is fantastic blog An excellent read I will certainly be back.
I loved as much as you will receive carried out right here The sketch is tasteful your authored subject matter stylish nonetheless you command get got an edginess over that you wish be delivering the following unwell unquestionably come further formerly again as exactly the same nearly very often inside case you shield this hike.
I truly relished the effort you’ve put in here. The sketch is stylish, your authored material chic, however, you seem to have developed some anxiety about what you intend to deliver subsequently. Assuredly, I will revisit more regularly, akin to I have nearly all the time, in the event you maintain this rise.
This website is an absolute gem! The content is incredibly well-researched, engaging, and valuable. I particularly enjoyed the [specific section] which provided unique insights I haven’t found elsewhere. Keep up the amazing work!
Stumbling upon this website was such a delightful find. The layout is clean and inviting, making it a pleasure to explore the terrific content. I’m incredibly impressed by the level of effort and passion that clearly goes into maintaining such a valuable online space.