VaultNet is a decentralized finance (DeFi) application that combines artificial intelligence with automated trading strategies on the Ethereum blockchain. The platform enables users to create and participate in AI-powered trading vaults without actively managing trades.
-
Automated Trading Vaults
- Create personalized trading vaults as smart contracts
- Enable multi-user participation in successful strategies
- Manage investments through a user-friendly interface
-
AI-Driven Trading
- Machine learning models analyze market data
- Real-time price feeds via Pyth Network
- Market sentiment analysis integration
-
Risk Management
- Customizable risk parameters
- Automated stop-loss mechanisms
- Position size management
- Profit-taking strategies
- Passive Investment: Automated trading without active management
- Customization: Adjustable parameters for risk tolerance
- Transparency: On-chain verification of all transactions
- Risk Control: Built-in investment protection mechanisms
- Community Participation: Join successful trading vaults
[... rest of the previous README content remains the same ...]
- Smart Contract Vaults: Create personalized trading vaults with customizable parameters
- AI Trading Agent: Machine learning model that analyzes market data and sentiment
- Real-time Oracle Integration: Live price feeds via Pyth Network
- Multi-User Investment: Allow others to invest in your vault strategy
- Risk Management: Configurable stop-loss and take-profit mechanisms
- Sentiment Analysis: Market sentiment integration with adjustable influence
- Frontend: React.js application with Web3 integration
- Backend: Node.js server with GraphQL API
- Blockchain: Solidity smart contracts on Ethereum (Sepolia testnet)
- AI Model: TensorFlow-based trading model
- Database: Hasura GraphQL engine
- Smart Contracts: Solidity ^0.8.20
- Frontend: React, ethers.js, TailwindCSS
- Backend: Node.js, Express
- AI/ML: TensorFlow, Python
- Oracle: Pyth Network
- Development: Hardhat
- Clone the repository:
git clone https://github.com/yourusername/VaultNet.git
cd VaultNet- Install dependencies:
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd ../backend
npm install
# Install smart contract dependencies
cd ../VaultNet
npm install- Set up environment variables:
# Frontend (.env)
VITE_BACKEND_URL=http://localhost:3000
VITE_HASURA_ENDPOINT=your_hasura_endpoint
# Backend (.env)
AI_MODEL_URL=http://localhost:5000/api/predict
HASURA_ENDPOINT=your_hasura_endpoint- Start the frontend:
cd frontend
npm run dev- Start the backend:
cd backend
npm start- Deploy to Sepolia testnet:
cd VaultNet
npx hardhat run scripts/deploy.js --network sepolia- Verify contract on Etherscan:
npx hardhat verify --network sepolia [CONTRACT_ADDRESS] [CONSTRUCTOR_ARGS]Vaults can be configured with the following parameters:
- Risk Tolerance (1-10)
- Sentiment Influence (0-100%)
- Trading Style (conservative, moderate, aggressive)
- Max Position Size (1-50%)
- Stop Loss Percentage (1-20%)
- Technical Weight
- Sentiment Smoothing
- Network: Ethereum Sepolia Testnet
- RPC URL: https://ethereum-sepolia-rpc.publicnode.com
- Chain ID: 11155111
- USDC Contract: 0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238
This project is licensed under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
For questions and support, please open an issue in the GitHub repository.