Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Nucleus-Lab/SignalFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SignalFlow: Data-Driven On-Chain Insights and Trading Platform

In the rapidly evolving crypto market, identifying alpha, validating strategies, and executing trades in real time is critical. ⚡ SignalFlow is an all-in-one platform designed to streamline this process through a data-driven trading loop.

Core Modules

  1. Signal Discovery
  • Query any on-chain data using natural language (e.g. large transfers, DEX activity, active wallets).
  • Visualize results instantly with interactive charts.
  • Save and reuse signals in downstream strategies.
  1. Strategy Backtesting
  • Backtest any signal combination with historical data.
  • Evaluate performance via key metrics like PnL, drawdown, and Sharpe ratio.
  • Quantify edge and validate ideas before deployment.
  1. Real-Time Execution
  • Combine signals, define trigger conditions, and monitor live on-chain activity.
  • Automatically execute buy/sell actions when criteria are met.
  • Close the loop from insight to trade with full automation.

Architecture

1. AI Agents

  • Intelligent agents for processing and responding to user queries
  • Natural language understanding and generation
  • Integration with the chat interface
  • MCP (Message Control Protocol) for managing agent responses

2. Backend

  • Python-based server (>= 3.10)
  • Handles communication between frontend and AI agents
  • API endpoints for subscription and visualization data

3. Frontend

  • React-based web application
  • Features:
    • Chat interface with AI agents
    • Subscription management
    • Visualization canvas
    • File management system
  • Change theme color in src/constants/colors.js and tailwind.config.js

4. Smart Contracts (Hardhat)

Getting Started

Prerequisites

  • Node.js >= 16
  • Python >= 3.10
  • Hardhat
  • MetaMask or compatible Web3 wallet

Installation

  1. Clone the repository
git clone <repository-url>
cd <project-directory>
  1. Install AI Agents dependencies
cd agents
pip install -r requirements.txt
  1. Install Backend dependencies
cd backend
pip install -r requirements.txt
  1. Install Frontend dependencies
cd frontend
npm install
  1. Install and compile contracts
cd hardhat
npm install
npx hardhat compile

Configuration

  1. Set up environment variables
# Create .env files in each component directory
cp .env.example .env
  1. Configure the following in your .env files:
  • AI API keys
  • Backend server URLs
  • Contract addresses
  • Network configurations

Running the Project

  1. Start the Backend server
uvicorn backend.main:app --reload
  1. Start the Frontend development server
cd frontend
npm run dev
  1. Deploy contracts (if needed)
cd hardhat
npx hardhat run scripts/deploy.js --network <network-name>

Development

Project Structure

├── agents/ # AI agents implementation
├── backend/ # Python backend server
├── frontend/ # React frontend application
└── hardhat/ # Smart contract development

About

Data-Driven On-Chain Insights and Trading Platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •