OpenViSTAI · Agents · Blockchain · Crypto
Menu
Smart Contracts

Cubes

Cubes is Layer3’s Solidity smart-contract repository for CUBEs, ERC-721 credentials that attest to quests involving multiple chains, transactions or decentralized apps. It also documents contracts for escrow-based token rewards linked to quest completion.

Independent OpenViST project profile, based on linked sources.

Cubes — OpenViST project profile in Smart Contracts.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use the repository when building or studying smart-contract flows that link quest completion, onchain credentials and escrowed rewards.

Who it is for

  • Solidity developers exploring or adapting onchain quest credentials.
  • Teams designing quest systems that connect credential minting with token-reward escrow.

Documented uses

  • Represent quest achievement as an ERC-721 credential.
  • Initialize quest records with details such as title, difficulty and participating communities.
  • Use EIP-712-signed data in the CUBE minting flow.
  • Create quest-specific escrow contracts and distribute eligible token rewards after credential minting.
Before you choose

Requirements & limits

The repository is public and displays an Apache-2.0 license.

  • The documented CUBE contract uses Solidity 0.8.20 with optimization set to 10,000 runs.
  • The README describes admin, signer and upgrader roles with different permissions.
  • A deployment example targets Base Sepolia; the documentation provided here does not characterize supported production chains.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install, build and test the contracts

Run the repository’s documented Make-based setup, build and test stages.

Before you start

  • The public Cubes repository
  • A development environment with Make and the dependencies required by the repository

Steps

  1. Run the command below.

    Documented command
    make install
  2. Run the command below.

    Documented command
    make build
  3. Run the command below.

    Documented command
    make test

Expected outcome

The documented dependency-install, build and test commands have been invoked.

Guide limitations

  • The README does not specify dependency versions or describe expected test output.
  • These documented commands do not establish compatibility with a particular environment.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
13 October 2026
Original website title
layer3xyz/cubes · Official homepage title · retained in its source language