Installation
The Paradox Framework is a Python-based modular framework designed for deploying, interacting with, and managing DeFi agents, Solscan analytics, and AI models. The framework also supports posting to Discord, Telegram, or Twitter and can be managed through Discord or Telegram. This guide will walk you through the installation process.
Prerequisites
Before installing and using the Paradox Framework, ensure you have the following:
Python
Install the latest version of Python (3.8 or higher). You can download it from the Python Official Website. After installation, confirm the version using:
Command Prompt (Windows) or Terminal (Linux/Mac):
python --version
If python
doesn’t work on Windows, try:
py --version
If the command returns a version number (e.g., Python 3.10.6
), Python is installed correctly.
Pip
Pip, the Python package manager, comes with Python. Verify the installation by running:
pip --version
If it returns a version (e.g., pip 21.2.4
), Pip is ready to use.
PyCharm
Download and install PyCharm as the preferred development environment for working with the Paradox Framework.
Dependencies
To ensure the Paradox Framework runs correctly, install the required dependencies directly in your IDE. These libraries handle blockchain interactions, AI processing, and data analysis.
Core Dependencies
Paradox relies on essential libraries to interact with blockchain networks, manage API requests, and handle environment variables. Install the following:
pip install requests web3 python-dotenv
AI & Machine Learning Dependencies
The framework includes proprietary transformers, but PyTorch is required for AI processing. Install based on your system:
For CPU-only:
pip install torch torchvision torchaudio
For GPU acceleration with CUDA:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Data Handling & Utilities
Paradox processes and analyzes blockchain data using these libraries:
pip install pandas numpy scikit-learn
Web & API Frameworks
Paradox uses FastAPI for the backend and Uvicorn to run the API server. Install them with:
pip install fastapi uvicorn[standard]
Database Management (Optional)
If you need to store blockchain data, install SQLAlchemy for database integration:
pip install sqlalchemy
Installing All Dependencies at Once
To install everything in one step, run:
pip install requests web3 python-dotenv torch torchvision torchaudio pandas numpy scikit-learn fastapi uvicorn[standard] sqlalchemy
After installation, the framework will be ready for use.
Downloading the Framework
Clone the Paradox Framework repository and navigate to the project directory.
clone https://github.com/Paradox-Framework/Paradox.git
cd Paradox
Once inside the directory, ensure all dependencies are installed before proceeding
Last updated