Getting Started¶
Welcome to Radix Relay! This guide will help you get up and running quickly.
Prerequisites¶
- CMake 3.21+
- C++20 compiler: Clang 19.1.1, GCC 14+, or MSVC 2022
- Rust: Stable (with clippy and rustfmt)
- Protocol Buffers: protoc 3.x+
- Ninja: Build system
- Python 3.8+: For documentation (optional)
Quick Start Options¶
Docker (Easiest)¶
The fastest way to get started:
See Docker instructions for details.
Automated Setup (setup-cpp)¶
Install all dependencies automatically:
# Linux/macOS
curl -sL https://github.com/aminya/setup-cpp/releases/latest/download/setup_cpp_linux -o setup_cpp
chmod +x setup_cpp
./setup_cpp --compiler llvm-19 --cmake true --ninja true --ccache true --clangtidy 19.1.1
# Then install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup component add clippy rustfmt
Manual Installation¶
Follow the detailed Installation guide for manual dependency setup.
Quick Navigation¶
- Installation - Set up dependencies and development environment
- Building - Compile the project from source
- Docker - Run in a containerized environment
- Troubleshooting - Common issues and solutions
Typical Workflow¶
-
Install dependencies - See Installation
-
Clone and configure:
git clone https://github.com/dustingooding/radix-relay.git
cd radix-relay
cmake --preset=unixlike-clang-debug
- Build:
- Run tests:
- Build documentation (optional):
What's Next?¶
- New to the project? Start with Installation →
- Ready to build? Jump to Building →
- Want to contribute? See Developer Guide →
- Need help? Check Troubleshooting →