{"repo":"layer3xyz/cubes","free":true,"listed":false,"github":"https://github.com/layer3xyz/cubes","clone":"git clone https://github.com/layer3xyz/cubes.git","description":"Layer3 CUBE Contracts","language":"Solidity","stars":74,"topics":["blockchain","crypto"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Introduction CUBEs, or Credentials to Unify Blockchain Events, are ERC-721 credentials that attest and unify multi-chain, multi-transaction, and multi-dapp quests onchain. As new ecosystems appear everyday, a simple way of querying impact and distributing rewards is necessary. CUBE lays the foundation for rewards in a world of 1,000,000 chains. Install Deployment Test Overview Upon completing certain quests, users have the opportunity to mint a CUBE. This unique NFT encapsulates data from the quest, serving as a digital record of achievement. Check out an example of a minted CUBE on Opensea. Minting Process The minting process is initiated by a wallet with the signer role creating an EIP-712 signature. This signature encapsulates all requisite data for the mintCubes function, ensuring the integrity and accuracy of the minting process. The user then broadcasts the transaction, including this signature and data. Minting transactions emit events in the smart contract that are captured onchain. Quest Initialization When a new quest comes to life in our system, we call initializeQuest . This function is key—it broadcasts event data about the quest, such as participating communities (Layer3, Uniswap, 1Inch, etc.), the quest's difficulty level (beginner, intermediate, advanced), title, and more. CUBE Smart Contract Details Key Features - EIP712 Signatures: Utilizes EIP712 to sign data. - Analytics: Events emitted by the contract are captured for analytics. - Referral System: Incorpo","default_branch":null,"files":null,"tree":[],"storefront":"/r/layer3xyz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/layer3xyz/cubes/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}