SDK

Visions-SDK

A smart contract software developer kit to assist developers in building decentralized games with economic primitives. The SDK currently consists of six modules that are the basis for the backend of CafeCosmos and for further P2E social tycoon games.

Modules:

Wrapping

Player’s digital assets of any token type—ERC20, ERC721 or ERC1155—can be wrapped into a new ERC1155 for use as an in-game asset.

VisionsDAO allows developers to wrap any digital asset as in-game items. This allows players to use tokens as items and creates sinks that allow game DAO's treasuries to accumulate any digital asset from any chain. Developers are able to gamify the entire Ethereum token ecosystem including ERC20, 1155s and 721s. This ultimately can allow for a new DAO revenue stream to become realized. When a player brings in a wrapped asset or uses a premium token in-game to either craft a new item or purchase land, those assets are directed to the game's DAO's treasury.

Crafting

mapping(hash =>id uint) public craftingRecipes;

function craft([pos1A, pos2A, pos3A], 
               [pos1B, pos2B, pos3B],
	       [pos1C, pos2B, pos2C]) public -> outputId;

Players have to work hard to unlock new items. Smart contract crafting happens on a 3x3 grid. When the same hash is inputted, the individual items are burned and in return, the player receives a newly crafted item.

Transformation

Create new, dynamic ERC1155 tokens by adding 1155s together. A metadata slot for TIME is included, which creates a time-sensitive mechanism where evolving objects must be taken care of. This enables things like farming, feeding, and cooking; creating a sense of urgency and boosting engagement.

Land Generation

Land is created with fully on-chain procedural generation, using pre-configured raw item rarity and perlin noise, ensuring an element of surprise and avoiding off-chain exploits. Land plots can be expanded by use of the native game currencies. Items can be placed, removed, moved, or destroyed on the land using a variety of tools.

Redistribution Mechanism

A dynamic reward mechanism that takes revenue from the network (Fees, taxes, Emissions and Land Sales) and redistributes it to players in direct proportion of their respective share of unique success.

In a classic idle game this payout system would be a constant price for every dish served. In web3 the payout must be dynamic. So we've designed the reward mechanism with dynamic payouts that leverage player's supplies and network demand.

Math Spec - Redistribution

For the sake of simplicity, we will show the payout system on a discrete time scale. However, note that in the live system, payouts are executed continuously based on transactions from the marketplace and taxes. Therefore on emission i , we have that the total network revenue to be paid out on timestep t is:

Where n is the total number of unique recipes.

User Alice (A for abbreviation) who is cooking recipe j with unique stoves 1, 2, ..., m, will be earning points:

activeStoves(i,j) is a function that returns the number of stoves of type i that are actively working on recipe j. Finally, Alice's payout on timestep t is:

Where S is the set of all other users who have also accrued points from recipe j. Finally, Alice's total payout is simply the sum of payouts over all unique recipes:

Social

We plan to use encrypted messaging based on user’s public keys in order to have communication between friends and players. Since rarity of items and resolving for crafting recipes is part of the game, our goal is to incentivize players to reach out to others for collaboration.

Friends will be available on-chain as to have the same availability of friendship across games and interfaces. While high frequency encrypted chatting will be kept off-chain in a server of the users choosing.

Verification

VisionsDAO will work with token engineers and use token simulation engines such as TokenSpice, to create forecasts on how game templates could perform in the future to assist developers and predict token system failures in great to difficult climates.

CafeCosmos

Inspired by social idle tycoon games of the late 2000s, CafeCosmos is a social game designed to have fully on-chain payout mechanisms that require lower minting volumes than regular p2e. CafeCosmos aims to create a sustainable model through redistribution in the p2e space that also appeals to developer integration and promotes decentralization.

In CafeCosmos you gather resources, combine them, and periodically use your gathered/farmed/prepared ingredients to cook, giving you a temporary share of the dividend pool of your given recipe.

Every recipe has its own dividend pool and every dividend pool is equally paid out by the network revenue pool.

This game loop is similar to a majority of idle and mobile games, by unlocking sustainability with CafeCosmos we can generalize a stack that opens the gates to a whole new generation of play-to-earn.

Developer Tools

VisionsDAO provides a stack to supercharge on-chain game development with plug-n-play mechanics. This allows for game developers, studios and even protocols looking to build games on-chain to focus on the game design and mechanics whilst having a seamless experience when building on top of VisionsDAO modules. VisionsDAO designs to build games with interoperable capabilities across EVM-compatible blockchains.

Our tooling maximizes the efficiency of building on-chain games by allowing developers and studios to focus on building fun and engaging game experiences. We equip builders with the necessary modules for game economies thus, minimizing on-boarding time onto the Ethereum token ecosystem.

Last updated