project screenshot 1
project screenshot 2
project screenshot 3

CryptoBaskets

Our DApp CryptoBaksets allows retail investors to invest in custom thematic baskets and Dollar Cost Average their Crypto Investments with the click of a single button!

CryptoBaskets

Created At

Road to Web3

Winner of

trophy

๐Ÿค– Polygon - Best DeFi

trophy

๐Ÿฅ‡ Uniswap Grants Program - Most Innovative

Project Description

CryptoBaskets 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 in 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 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 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 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:

Front end of the app is hosted on Web3.0 and made using ReactJS which is used to design the landing pages and also for 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 in order to determine which token should be bought in what proportion while rebalancing or depositing more.

  1. Swap.sol

Performs swaps on Uniswap

Backend:

A decentralized 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 on regular intervals to perform systematic payment.

background image mobile

Join the mailing list

Get the latest news and updates