Skip to content
/ cxde-ai Public
forked from jbeetle/cxde-ai

Text AI for web3-degens based on TinyTroupe, supports multiple languages, optimized for everyday tasks, can do everything, including writing code and risk analysis in cryptocurrency integrated into X (Twitter)

Notifications You must be signed in to change notification settings

Steake/cxde-ai

 
 

Repository files navigation

CXDE.AI: The First Slayer Trade Agent

**CODE.001 – Text AI based on gpt 4.5 for web3-degens

Text AI for web3-degens based on TinyTroupe, supports multiple languages, optimized for everyday tasks, can do everything, including writing code and risk analysis in cryptocurrency integrated into X (Twitter)**

**CODE.VERONICA – Self-learning ASCII image generator

Self-learning ASCII image generator supports multiple prompts and settings such as number of characters, brightness, contrast, saturation, grayscale and sepia for post-processing the resulting image.**


🚀 Overview

CXDE.AI is a revolutionary auto-trading agent tailored for risk management and high-performance trading on the Crypt0Hopper platform. By leveraging cutting-edge machine learning and Web3.Solana, CXDE.AI adapts to market conditions in real-time, optimizing strategies and maximizing profitability in both volatile and stable markets.

Built for retail traders and institutional investors, CXDE.AI empowers users with:

  • Dynamic Strategy Optimization: Continuously adjusts trading strategies based on real-time market data.
  • Risk Management: Minimizes exposure to losses while maintaining high profit potential.
  • Web3 Integration: Uses Solana blockchain for secure, decentralized data management and operations.

✨ Features

  • Real-Time Market Adaptation: Thrives in volatile market conditions, ensuring top-tier decision-making.
  • Solana Blockchain Integration: Ensures transparency, speed, and security for critical trading operations.
  • Plug-and-Play: Seamless integration with Crypt0Hopper and other trading platforms.
  • Open-Source Flexibility: Customizable to fit your unique trading needs.

🔧 Installation & Setup

Follow these steps to set up CXDE.AI on your local machine.

Prerequisites

1. Clone the Repository

git clone https://github.com/stackz-ai/STACKZ-AI
cd slayer-ai

2. Install Dependencies

pip install -r requirements.txt

3. Configure Environment Variables

Create a .env file in the root directory and add the following:

SOLANA_NETWORK=mainnet-beta
PRIVATE_KEY=your_solana_private_key
CRYPTOHOPPER_API_KEY=your_cryptohopper_api_key
CRYPTOHOPPER_SECRET=your_cryptohopper_secret

4. Run the Application

To start CXDE.AI:

python main.py

5. Build for Production

To generate a production-ready build:

python setup.py build

🧩 Usage

Connecting to Crypt0Hopper

CXDE.AI uses your Crypt0Hopper API key to fetch market data and execute trades. Ensure your API key is active and has the necessary permissions (e.g., trade execution, market analysis).

Running in Development Mode

Use the following command to start the application in development mode with live reloading:

python main.py --dev

Key Features in Action

  • /api/trade: Executes trades based on real-time signals.
  • /api/strategy: Generates optimized strategies dynamically.
  • /api/risk: Monitors and mitigates risks in trading operations.

📂 Project Structure

.
├── src
│   ├── strategies       # Adaptive trading strategies
│   ├── services         # Integration with Solana and Crypt0Hopper
│   ├── utils            # Utility functions and helpers
│   └── main.py          # Entry point of the application
├── .env                 # Environment variables
├── requirements.txt     # Python dependencies
├── README.md            # Documentation
└── LICENSE              # Licensing information

🛠️ Tech Stack

  • Python: Backend runtime for fast, scalable applications.
  • Web3.py: Solana blockchain integration.
  • Flask: Lightweight server framework.
  • Crypt0Hopper API: Seamless trading operations.
  • Solana CLI: Blockchain interactions.

🌐 Web3 Integration

CXDE.AI utilizes Solana blockchain for:

  • Trade Verification: Immutable records of all executed trades.
  • Risk Management Logic: Decentralized and tamper-proof.

To interact with the Solana blockchain, CXDE.AI uses:

from solana.rpc.api import Client
solana_client = Client("https://api.mainnet-beta.solana.com")

def get_balance(public_key):
    balance = solana_client.get_balance(public_key)
    print(f"Balance: {balance['result']['value']} lamports")

📈 Roadmap

  1. v1.0: Core trading engine with Solana and Crypt0Hopper integration.
  2. v2.0: Advanced AI strategies and machine learning enhancements.
  3. v3.0: Full decentralization using Solana smart contracts.

🤝 Contributing

We welcome contributions! Please read our CONTRIBUTING.md for details on the process for submitting pull requests.


📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

CXDE.AI - Revolutionizing financial markets through intelligent automation.

About

Text AI for web3-degens based on TinyTroupe, supports multiple languages, optimized for everyday tasks, can do everything, including writing code and risk analysis in cryptocurrency integrated into X (Twitter)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.6%
  • Cuda 10.4%
  • Shell 2.8%
  • C 0.5%
  • JavaScript 0.4%
  • C++ 0.2%
  • Dockerfile 0.1%