Game smart contracts
The WAX smart contracts contain the majority of AW functionality. Federation Functionalities, Mining, Teleport, NFTs, Pack Opener and NFT Shining.
Most of the smart contracts are kept together in a single repo here. This structure provides some re-use through shared C++ header files and test helpers.
📄️ Alien Worlds token
Contract to handle all token related activities such as creating, issuing, transferring and vesting of fungible tokens on the WAX blockchain.
📄️ Federation
Central administrator of common management behaviour across all planets and NFTs
📄️ Mining
Used by all planets for controlling the mining actions and mining rewards so that users are able to earn tokens or NFTs from the land within each planet.
📄️ User Points
User points is a mechanism to reward players for specific actions in the metaverse. The rewards are non-transferable to encourage users to focus on one account rather than trying to earn points through many accounts. The user points accumulate in two primary forms. One is redeemable points which the user can choose to redeem for NFT offers and the other is level points which continue to increase as the user earns more points, earning them level NFT rewards (AKA Rank NFTs) without the user needing to redeem the points. In addition to these point tallies there tracking for the most daily and most weekly userpoints that get reset with the user's next action on the following day/week as applicable.
📄️ User Points Proxy
Within the suite of Alien Worlds Smart contracts, one of them is responsible for the rewarding of alien.worlds NFTs as determined by non-transferrable user points. The user points are intended to be distributed to users for performing various game-related activities in the Alien Worlds metaverse. But this is also an avenue for malicious actors to be able to potentially get free NFTs if this mechanism is not well protected from bad actors.
📄️ Land Ratings
Problem Statement:
📄️ Teleport
Contract to handle the cross-chain movement of tokens between WAX, Ethereum and Binance Smart Chain - C++ smart contract.
📄️ Shining
Administer the upgrading of NFT's to a more advanced NFT through an upgrading process referred to as shining.
📄️ NFT Pack Opener
Administer the awarding NFTs into Alien Worlds NFT packs in a way that ensures a high degree of randomness so buyers are not able to game the purchasing of NFT packs by seeing the NFT contents in advance of a purchase. This is a difficult task to achieve on a public, transparent blockchain.
🗃️ Decentralization
4 items