Skip to content

Latest commit

 

History

105 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BIT10

BIT10 pioneers the concept of an "S&P 500 for crypto assets." It provides users with a streamlined way to diversify their exposure to DeFi assets by tracking major crypto tokens, including BRC-20s and ERC-20s, across the ecosystem.

🖥️ Presentation

For the World Computer Hacker League (WCHL) 2025, we have created the following demo videos to help you better understand BIT10. Please start by watching the Loom video presentation - it provides a smooth walkthrough of the platform.

Extra instructions on how to use the entire system and FAQ's are in the Part 3 of the Gitbook.

🚀 The Problem

Investing in DeFi is often complex, requiring extensive research. Buying individual tokens can be costly and inefficient, and most users end up with unbalanced portfolios that increase risk and expose them to underperforming assets.

💡 The Solution

BIT10 offers a pre-selected, diversified basket of assets, significantly reducing research time and transaction costs. Users can gain diversified exposure by purchasing a single token. With auto-rebalancing, BIT10 continuously optimizes portfolio performance by replacing underperforming assets with stronger performers.

🌐 Features

  • Diversified Exposure: Gain exposure to multiple DeFi assets with a single token.
  • Auto-Rebalancing: Regularly updates asset allocations to optimize performance.
  • Decentralized ETF: Fully decentralized structure powered by the Internet Computer (ICP).

📂 Code Structure

🪴 Branches

  • main: Contains code for Mainnet, including Smart Contracts/Canisters.
  • testnet: Contains code for the Testnet version of the website.

🌲 Main Branch Folder Structure

⚠️ Steps to run the canister and the related architecture diagrams are present in their respective folders.

  • icp_canister/ - Contains all the canisters on ICP.

    • asset_storage/ - Contains canister code for storing different token types:

      • bsc_asset_storage/ - Stores BNB and BEP20 tokens.
      • erc20_asset_storage/ - Stores ETH and ERC-20 tokens.
      • icp_asset_storage/ - Stores ICP tokens.
      • sui_asset_storage/ - Stores SUI tokens.
      • trx_asset_storage/ - Stores TRX tokens.
    • buy_bit10/ - Swap logic for buying and selling BIT10 tokens on ICP.

    • ai_portfolio_manager/ - AI Portfolio Manager canister running on ICP.

    • dex/ - DEX swap logic for same-chain and cross-chain token swaps on ICP.

      • testnet_dex_router/ - Canister code for the DEX router.
      • testnet_dex_eth_asset_storage/ - Canister code for swapping tokens on Ethereum.
      • testnet_dex_bsc_asset_storage/ - Canister code for swapping token on BSC.
      • testnet_dex_bsc_eth_asset_storage/ - Canister code for swapping token between BSC and Ethereum.
    • lending_and_borrowing/

      • testnet_lending_and_borrowing/ - Canister code for the Cross-Chain Lending and Borrowing on ICP testnet.
    • liquidity_hub/

      • testnet_liquidity_hub/ - Canister code for the Liquidity Hub on ICP testnet.
  • sol_smart_contracts/

    • buy_bit10/ - Swap logic (buying BIT10 tokens with SOL) on Solana Devnet.
  • server/ - Lightweight Node.js server for serving data to the web app.

  • web_app/ - Contains frontend code for the BIT10 application.

🛠 Tech Stack

  • Frontend: Next.js, Shadcn/ui, Aceternity UI, motion-primitives
  • Backend: tRPC, Drizzle, Nodemailer, Dfinity
  • Auth: NextAuth
  • Data Visualization: Recharts

🔗 ICP Canisters

🔗 Solana Programs & SPL Tokens

Devnet

🏁 Getting Started

To start using BIT10, follow these steps:

  1. Navigate to web_app:

    cd web_app
  2. Install Dependencies:

    npm install
  3. Run the App:

    npm run dev
  4. Access the app at http://localhost:3000.

📐 Architecture Overview

BIT10 is structured using:

  • Next.js for the frontend framework.
  • Node.js for the backend framework.
  • Rust for the ICP Canisters
  • Dfinity for decentralized canister management.
  • Drizzle ORM for efficient database interaction.
  • tRPC for type-safe API routing.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages