Getting Started
Welcome to the Decentralized Rights Protocol! This guide will help you set up your development environment and run your first DRP node.
Prerequisites
Before you begin, ensure you have the following installed on your system.
Python 3.10 or higher
DRP is built with Python. Check your version with
python --versionGit
Required for cloning the repository. Install from git-scm.com
pip (Python package manager)
Usually comes with Python. Verify with
pip --versionVirtual Environment (recommended)
Use
venvorvirtualenvto isolate dependencies
Installation
Follow these steps to install and set up DRP on your system.
Step 1: Clone the Repository
Step 2: Create Virtual Environment
Step 3: Install Dependencies
This will install all necessary dependencies including cryptographic libraries, networking modules, and AI frameworks.
Running Your First Node
Start a testnet node to begin participating in the DRP network.
Start Testnet Node
Your node will start connecting to the DRP testnet. You should see output indicating:
- Node initialization
- Peer discovery and connection
- Blockchain synchronization status
- Consensus participation
Configuration
DRP nodes can be configured through environment variables or configuration files. Key settings include:
NODE_HOST- Network interface to bind to (default: 0.0.0.0)NODE_PORT- Port to listen on (default: 8080)NETWORK- Network mode: testnet or mainnetNext Steps
Now that your node is running, explore these resources to learn more about DRP: