project screenshot 1
project screenshot 2
project screenshot 3

Qubiq

Qubiq permits retail investors to take a position in custom thematic baskets and dollar value averages their Crypto Investments with the clicking of one button!

Qubiq

Created At

HackMoney 2022

Winner of

trophy

🏊‍♂️ Coinbase Wallet — Pool Prize

Project Description

Qubiq is a decentralized platform where users can invest in crypto market themes via trading baskets. A basket can be rule-based as well as involve discretion. Our team will publish high-quality baskets and we also welcome external experts/traders opening up their basket designs for a subscription. Basket creators will earn management fees as a proportion of the assets under management.

Core Features and Functionality:

There are two types of users on the platform

a. Basket subscribers

Users have two types of baskets to choose from:

  1. our in-house designed index/basket products; 2) basket products created by experts.

We will employ advanced statistical techniques and insights from quantitative finance to build indices, which can be:

Theme based: top 10 coins by market cap/TVL in the gaming sector

Factor-based: fastest growing coins in terms of market cap/TVL

User-generated baskets are more likely to be theme-based. In other words, they can build a basket from a theme but they can choose which coins to include and weights according to their preferences. But we can also provide tools such as different weighting schemes etc.

Subscribers can pick as many baskets they want and connect their wallets to our platform to decide what amount to subscribe to and at what frequency. We can accept any crypto coin that lives in ethereum but if users pay in non-major we will convert them into ETH/USDT first, which means a higher transaction fee

We will then execute trades for subscribers in DEX

Subscribers pay a fixed percentage of the subscribed amount to creators as the management fee and also pay us transaction/gas fees that incur as part of the execution service.

b. Basket creators:

As mentioned above, user-generated baskets are more likely to be theme-based. In other words, they can build a basket from a theme but they can choose which coins to include and weights according to their preferences. But we can also provide tools such as different weighting schemes etc.

How it's Made

Architecture:

  1. Front End:

The front end of the app is hosted on Web3.0 and made using ReactJS with ChakraUI (Scaffold-Eth) which is used to design the landing pages and the integration and usage of smart contract functions.

Smart Contracts:

We have 3 smart contracts:

  1. Baskets.sol

This contract creates the baskets with the user given weight inputs and also mapping of users to baskets,

  1. Subscribe.sol

This has multiple methods:

a. add - to subscribe to a basket

b. exit - to completely exit the basket

c. invest more - to invest more as a part of recurring payment

d. partial exit - if the user wants to exit partially

e. rebalance - if the weights of the baskets are changed, this function rebalances the basket position accordingly

f. getPrice- gets prices of the tokens from Chainlink to determine which token should be bought in what proportion while rebalancing or depositing more.

  1. Swap.sol

Performs swaps on Uniswap

Backend:

A decentralised database to store user data i.e their public address and corresponding basket subscribed.

A Microservice will notify the user of the investment due date and take approval from the user to trigger the contract at regular intervals to perform the periodic payment.

background image mobile

Join the mailing list

Get the latest news and updates