project screenshot 1
project screenshot 2
project screenshot 3

Space Command

As a space cadet navigating the DeFi universe, I've found the ultimate spaceship! It's equipped with advanced tools from Mask, XMTP, ZK Rollups, and more, making my journey smoother and safer. Plus, interplanetary achievements and communication are game-changers!

Space Command

Created At

ETHOnline 2023

Winner of

trophy

πŸŠβ€β™€οΈ Mantle β€” Build on Mantle

trophy

🏊 Scroll β€” Pool Prize

trophy

πŸ’‘ Mask Network β€” Most Creative

Project Description

Greetings, Cosmic Voyager! πŸš€

Welcome to your interstellar vessel, a marvel of cosmic engineering designed to traverse the infinite expanse of the DeFi Universe. Let's embark on a tour of your spaceship and its advanced tools:

Mask: Think of this as your spaceship's holographic command center. It's an interactive user interface that uses the Mask/NextId RelationService API to fetch information about celestial bodies (users) and facilitate real-time communication across the cosmos.

Wormhole, Hyperlane, and Connext: These are your spaceship's interstellar gateways. Wormhole is a cross-galaxy bridge, enabling communication between different blockchain galaxies. Hyperlane is another cross-galaxy bridge, processing messages from the Hyperlane and allowing for more complex and versatile cosmic transactions. Connext is your spaceship's wormhole generator, letting you build secure cross-galaxy dApps (xApps) and enabling safes to communicate between galaxies using Connext as a bridge.

Gnosis Safe: This is your spaceship's cosmic controller. It manipulates objects across the planets, enabling safes to send messages across galaxies and execute cross-galaxy transactions, thereby significantly improving the efficiency and versatility of governance protocols.

XMTP: This is your spaceship's advanced communication system. It's a fork of XMTP chat that works seamlessly with the Mask network, allowing you to search any connected celestial bodies and resolve them to an address which can be messaged.

Filecoin Virtual Machine, Compound, ApeCoin, Polygon zkEVM, Spark Lend, Scroll Testnet, and Mantle: These are the planets in your journey. Each planet offers unique on-chain achievements and rewards. They are like cosmic badges of honor, rewarding you for your on-chain activities. From farming in the fertile fields of Compound to proving your ownership of ApeCoin in the ApeCoin asteroid belt, each planet offers a unique adventure and reward.

The Graph: This is your spaceship's cosmic map. It's a subgraph for the NFT achievements, allowing you to chart your course and understand your on-chain activities better.

Push Protocol: This is your spaceship's interstellar communicator. It allows you to initiate a chat or a call with just a click of a button, no matter where you are in the cosmos.

Uniswap: This is your spaceship's cosmic trade facilitator. It uses user-staked MAI to liquidate loans and uses UniswapV4 hooks to sell the collateral at a certain MAI price.

In essence, your spaceship is equipped with the most advanced DeFi tools to ensure a smooth and profitable journey across the crypto cosmos. Buckle up, Cosmic Voyager, and prepare for an exciting adventure! πŸš€

How it's Made

Our spaceship, the DeFi project, is built using a variety of technologies and protocols, each contributing to a specific functionality. Here's a detailed breakdown:

  1. NextId: We used the NextId RelationService API to fetch user's information and facilitate real-time communication within the interface. This made it easier to search for users, enhancing the overall user experience.

  2. XMTP: We created a fork of XMTP chat that works seamlessly with the Mask network. This feature allows users to search any connected social accounts and resolve them to an address which can be messaged. We also integrated Privy for convenient user login.

  3. Filecoin Virtual Machine: We incorporated on-chain achievements into our Mintable.sol contract. This enables the creation of unique achievements related to balance, farming, and borrowing. We also integrated achievements for Filecoin Virtual Machine holders.

  4. Gnosis Safe and Connext: We developed a module for Connext that enables safes to send messages across chains. This cross-chain communication enhances the functionality of Gnosis Safe by allowing for more complex and versatile transactions.

  5. The Graph: We deployed a subgraph for the NFT achievements. This allows us to build out a website that shows all the NFTs earned by a user as well as the ones they are able to earn.

  6. Push Protocol: We integrated the Push Protocol to add push chat and calling features. This enhances the user interaction on the main site.

  7. Uniswap: Our liquidation engine works with Stability MAI. It uses user-staked MAI to liquidate loans and uses UniswapV4 hooks to sell the collateral at a certain MAI price. This integration into the stability pool of MAI allows the stability pool contract to sell into Uniswap when the price is acceptable.

  8. Polygon zkEVM, Scroll Testnet, and Mantle: We deployed an NFT achievements contract on these platforms to let users earn NFTs for their on-chain activity. We created a demo and art for ETH holders on these platforms.

  9. Spark Lend: Our versatile contract uses interest-bearing assets as collateral in lending protocols. It's compatible with SparkLend, the erc4626 sDAI, and also works with Compound lending.

  10. ApeCoin: We integrated achievements for ApeCoin holders. Users can prove they own some ApeCoin to earn the NFT.

In terms of hacky solutions, we did have to create a fork of XMTP chat to make it work seamlessly with the Mask network. This was a bit of a workaround but it greatly enhanced the functionality of our project.

Our codebase also includes contracts and interfaces for vaults and liquidators, among other features. All these components are pieced together to create a comprehensive DeFi platform that integrates various protocols and services to enhance the user experience.

background image mobile

Join the mailing list

Get the latest news and updates