diff --git a/frontend/src/components/Documentation.jsx b/frontend/src/components/Documentation.jsx new file mode 100644 index 0000000..73cd56f --- /dev/null +++ b/frontend/src/components/Documentation.jsx @@ -0,0 +1,309 @@ +import React, { useState } from "react"; +import { + BookOpen, + Code, + Coins, + MessagesSquare, + Wallet, + ArrowRight, + Github, + Terminal, + Globe, +} from "lucide-react"; + +const Documentation = () => { + const [activeSection, setActiveSection] = useState("overview"); + + const sections = { + overview: { + title: "Project Overview", + content: ( +
+ IntentAI is a decentralised chatbot application that offers a + next-generation AI assistant that combines advanced conversational + abilities with powerful tools for quant trading, providing users + with intelligent, real-time responses, personalized insights, and + strategies, available 24/7 to enhance productivity, trading, and + decision-making. +
++ Natural language processing interface for user interactions +
++ Solidity contracts for DeFi protocol interactions. +
++ Trading using advance Quantitative algorithms. +
++ Main contract for processing user intents and interacting with + Compound protocol. +
+ ++ cETH Address (Mainnet): + 0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5 +
++ cETH Address (Goerli): + 0x64078a6189Bf45f80091c6Ff2fCEe1B15Ac8dbde +
++ Example commands for Compound protocol interactions: +
+ +deposit 0.1 ETH - Deposit ETH into Compound
+ withdraw 0.05 ETH - Withdraw ETH from Compound
+ Example commands for trading:
+ +swap 0.1 WETH to DAI
+ trade ETH for DAI
+
+ git clone https://github.com/foundryUp/AI-Quant-Trader
+
+ cd ./frontend/
+ npm i
+ npm run dev
+ anvil --fork-url https://eth-mainnet.g.alchemy.com/v2/KywLaq2zlVzePOhip0BY3U8ztfHkYDmo
+ forge script script/DeployTradeIntent.sol:DeployTradeIntent --rpc-url http://127.0.0.1:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --broadcast
+
+ + Complete documentation for the IntentAI project, including + architecture, smart contracts, and usage guides. +
+