Cocoon lets you leverage the power of MUD to create complex on-chain entities that can be tokenized or securitized.
Cocoon leverages MUD to let you easily create on-chain entities to represent almost anything, and wrap / unwrap those into a tokenized or securitized form.
For example, a game asset can be pulled out a game, wrapped into an ERC721, traded with another user, who can burn that token to then deploy that asset back to the game in their account.
Users can take it one step further and securitise their game asset. Have an OP character you want to capitalise on but don't want to sell... no problem, simply loan out the character under your terms and claim it back when the loan expires.
Individual properties of financial products can be re-imagined as components, and pieced together to form any type of security. Is this a sale, or a loan? Is it a swap, a future, an option. Is this time limited? How do I maintain access? This can all be represented through upgradeable components and systems.
And it doesn't end with game assets, anything that can be represented as an entity can be tokenized or securitized.
This project uses the full MUD stack to build upgradeable entities and it is these which are then tokenized / securitized and locked. We used NFT.Storage, which made uploading metadata for tokenized entities a breeze.
The basic stack is React with MUD / React framework, using Foundry as the smart contract platform. We use tailwind for styling, ethers for some additional smart contract interaction