Skip to content

GHX5T-SOL/IncryptSignal

Repository files navigation

🚀 IncryptSignal

Solana x402 TypeScript License

AI Agent Platform Empowering Autonomous Trading Agents with Instant Micropayments

Live DemoFeaturesSetupArchitecture


🔮 What is IncryptSignal?

IncryptSignal is a revolutionary AI agent platform built on Solana that enables autonomous AI trading agents to earn revenue through instant micropayments using the x402 protocol. The platform combines advanced AI fine-tuning, real-time market data integration, and seamless payment infrastructure to create a fully functional ecosystem where AI agents provide trading signals as a service.

The x402 Advantage

The x402 protocol is at the core of IncryptSignal's innovation. It enables instant, real-time payments that allow AI agents to monetize their services immediately. When a user requests a trading signal, the payment is processed atomically through Solana's blockchain (~400ms finality), and the AI agent receives payment before delivering the service. This creates a sustainable revenue model for autonomous AI agents.

AI Agent Ecosystem

IncryptSignal features three specialized AI trading agents, each fine-tuned and trained with different risk strategies:

  • Zyra - High Risk Strategy (20-100x leverage)
  • Aria - Medium Risk Strategy (5-25x leverage)
  • Nova - Low Risk Strategy (1-10x leverage)

These agents are not simple rule-based systems. They are sophisticated AI models that have been:

  • Fine-tuned using state-of-the-art techniques including Llama architecture, Hugging Face Transformers, and Unsloth for efficient training
  • Trained with real-time market data, historical price patterns, and market sentiment indicators
  • Integrated with multiple data sources including:
    • Real-time price feeds from Pyth Network
    • Long/short ratio data from CoinGlass
    • Liquidation heatmap data
    • Fear & Greed Index from Alternative.me
    • News feeds and market sentiment analysis
    • Technical indicators (RSI, MACD, Bollinger Bands)

Each agent conducts comprehensive fundamental and technical analysis, combining:

  • Technical Analysis: Price patterns, support/resistance levels, momentum indicators, volume analysis
  • Fundamental Analysis: Market sentiment, news impact, long/short positioning, liquidation risks

This dual-analysis approach ensures that each agent provides signals tailored to their specific risk strategy, from aggressive high-leverage opportunities to conservative, capital-preservation focused recommendations.


🎯 Key Features

AI Trading Agents

  • Zyra - High Risk Trader

    • Aggressive entries with high leverage opportunities (20-100x)
    • Larger portfolio allocation (15-30%)
    • Higher risk-reward ratios (3:1+)
    • Fine-tuned for maximum returns with aggressive strategies
  • Aria - Medium Risk Trader

    • Balanced approach with optimal risk-reward ratios
    • Moderate leverage (5-25x) and portfolio allocation (5-15%)
    • Fine-tuned for steady, sustainable growth
  • Nova - Low Risk Trader

    • Conservative strategy with tighter stops
    • Lower leverage (1-10x) and portfolio allocation (2-8%)
    • Fine-tuned for capital preservation with measured risk

Trading Signals Include

  • Direction: Long or Short recommendation with AI reasoning
  • Leverage: Precise leverage recommendation (1x-100x) based on risk strategy
  • Portfolio Allocation: Recommended percentage of portfolio to allocate
  • Take Profit Target: AI-calculated profit target based on market conditions
  • Stop Loss Level: Dynamic risk management stop loss
  • Liquidation Warning: Calculated liquidation price based on leverage and position
  • Comprehensive Analysis: Detailed reasoning combining technical and fundamental factors

Market Data Integration

  • Pyth Network: Real-time oracle price feeds for accurate market prices
  • CoinGlass: Long/short ratios and liquidation heatmap data
  • Alternative.me: Fear & Greed Index for market sentiment
  • Technical Indicators: RSI, MACD, and other indicators calculated from price history
  • News Integration: Real-time news feeds analyzed for fundamental signals

🏗️ Architecture

┌─────────────┐      ┌──────────────┐      ┌─────────────────┐
│   Frontend  │─────>│   Backend    │─────>│  x402 Facilitator│
│   (React)   │      │  (Express)   │      │  (PayAI Network) │
│             │      │              │      │                 │
│  - Home     │      │  - AI Agents │      │  - Gasless Tx   │
│  - Arena    │      │  - Signals   │      │  - Payment Ver. │
│  - Wallet   │      │  - Analysis │      │  - Settlement   │
└─────────────┘      └──────────────┘      └─────────────────┘
                            │
                            ├──> Hugging Face (AI Inference)
                            ├──> Pyth Network (Price Feeds)
                            ├──> Market Data APIs (Sentiment, Liquidation)
                            └──> PostgreSQL (Receipts & Reputation)

Payment Flow

  1. User selects agent and trading pair
  2. User approves payment in wallet ($0.01 USDC via x402)
  3. Payment processed atomically on Solana (~400ms)
  4. AI agent receives payment confirmation
  5. Agent conducts real-time analysis using market data and AI models
  6. Signal delivered with full analysis, leverage recommendations, and reasoning
  7. Trustless receipt stored on-chain for verification

📦 Tech Stack

AI & Machine Learning

  • Hugging Face Inference API: AI model inference for signal generation
  • Llama Architecture: Base models fine-tuned for trading analysis
  • Unsloth: Efficient fine-tuning and training optimization
  • Custom Fine-tuning: Agent-specific training for risk strategies

Frontend

  • React 18 with TypeScript
  • Tailwind CSS with custom cyberpunk theme
  • Framer Motion for smooth animations
  • Solana Wallet Adapter for wallet integration
  • PayAI x402 Client for seamless payment handling
  • React Router for navigation

Backend

  • Node.js with Express and TypeScript
  • PostgreSQL for persistent storage (receipts, reputation, agent stats)
  • Pyth Network for real-time oracle price feeds
  • PayAI x402 Server for payment protection and settlement
  • Market Data APIs (CoinGlass, Alternative.me) for comprehensive analysis

Blockchain

  • Solana (Devnet/Mainnet)
  • USDC for micropayments
  • x402 Protocol for instant payments

🚀 Quick Start

Live Demo

Visit the live demo at: https://incrypt-signal.vercel.app/

Local Setup

Prerequisites

  • Node.js 18+ and npm
  • PostgreSQL database (or Railway managed)
  • Solana wallet (Phantom, Solflare)
  • Devnet SOL and USDC for testing
  • Hugging Face API key (free tier available)

Backend Setup

cd backend
npm install
cp .env.example .env
# Edit .env with your configuration
npm run build
npm start

Frontend Setup

cd frontend
npm install --legacy-peer-deps
cp .env.example .env
# Edit .env with your API URL
npm start

Environment Variables

Backend (.env)

# Solana Configuration
SOLANA_NETWORK=devnet
RPC_URL=https://api.devnet.solana.com
USDC_MINT_ADDRESS=4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU
TREASURY_WALLET_ADDRESS=your_treasury_address
FACILITATOR_URL=https://facilitator.payai.network

# Database
DATABASE_URL=postgresql://user:pass@host:port/db

# AI Service
HUGGINGFACE_API_KEY=your_huggingface_api_key

# Server
PORT=3001

Frontend (.env)

REACT_APP_API_URL=http://localhost:3001
REACT_APP_NETWORK=devnet

🎨 UI Features

  • Animated Starfield: 3D particle background effect creating immersive experience
  • Liquid Glass Cards: Holographic glass morphism effects throughout
  • Neon Accents: Cyberpunk aesthetic with cyan and magenta color scheme
  • Responsive Design: Fully optimized for mobile and desktop devices
  • Agent Videos: Auto-playing, looping video backgrounds showcasing each AI agent
  • Real-time Updates: Live signal processing with instant feedback

📊 Trading Assets

Currently supported:

  • BTC/USD - Bitcoin perpetual futures
  • ETH/USD - Ethereum perpetual futures
  • SOL/USD - Solana perpetual futures

More assets coming soon!


🔐 Security & Trust

  • On-chain Verification: All payments verified on-chain via x402 protocol
  • Trustless Receipts: SHA-256 hashed receipts stored in PostgreSQL for verification
  • Reputation System: Agent performance tracking prevents abuse
  • Secure Payments: Atomic transaction processing ensures no double-spending
  • CORS Protection: Secure API access with proper CORS configuration

🌐 Deployment

Railway (Recommended)

Backend and database can be deployed on Railway:

  1. Connect your GitHub repository
  2. Add PostgreSQL service
  3. Set environment variables
  4. Deploy

Vercel

Frontend can be deployed on Vercel:

  1. Connect your GitHub repository
  2. Set environment variables
  3. Deploy

Live Demo: https://incrypt-signal.vercel.app/

See DEPLOYMENT_GUIDE.md for detailed instructions.


🎬 Demo Experience

The platform is designed for seamless demo experiences:

  • Instant Payments: x402 protocol enables ~400ms payment confirmation
  • Guaranteed Signals: Mock data fallbacks ensure signals are always delivered, perfect for demos
  • Comprehensive Analysis: Each signal includes detailed reasoning, leverage recommendations, and risk metrics
  • Visual Excellence: Cyberpunk UI with smooth animations and professional presentation

📞 Contact

For questions, support, or collaboration inquiries, please reach out via email or X.


📝 License

Proprietary License - All Rights Reserved

Copyright (c) 2025 IncryptSignal. All Rights Reserved. This software is proprietary and confidential. Unauthorized use is strictly prohibited.

See LICENSE file for details.


🙏 Acknowledgments

  • Solana Foundation for the x402 protocol enabling instant micropayments
  • PayAI Network for x402 implementation and facilitator infrastructure
  • Pyth Network for reliable oracle price feeds
  • Hugging Face for AI inference capabilities and model hosting
  • Unsloth for efficient fine-tuning tools

Empowering AI Agents to Earn Through Instant Payments

Built for the future of autonomous agent economies

About

x402

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors