Skip to content

Installation

Get Altitrace running in minutes.

Prerequisites

  • Node.js 18+ and Bun 1.2.7+
  • Rust toolchain (see rust-toolchain.toml)
  • Redis (or use our docker-compose)
  • HyperEVM node with nanoreth for trace support

Quick Start

# Clone and setup
git clone https://github.com/altitude-dev/altitrace.git
cd altitrace
bun install
 
# Start Redis (if not installed)
docker compose up -d redis
 
# Configure environment
cp .env.example .env
# Edit .env with your HyperEVM RPC URL
 
# Run everything
bun run dev

This starts:

Verify Installation

# Check API health
curl http://localhost:8080/v1/status/healthcheck
 
# Access Swagger UI
open http://localhost:8080/v1/openapi/docs
 
# Open web interface
open http://localhost:3000

Configuration

Create a .env file in the root directory:

# HyperEVM RPC Configuration
HYPEREVM_RPC_URL=http://localhost:8545
HYPEREVM_CHAIN_ID=1337

# API Configuration
API_PORT=8080
API_HOST=0.0.0.0

# Optional: Enable debug logging
DEBUG=altitrace:*

Next Steps

Getting Help

Need assistance? Here are your options:

Troubleshooting

Common issues and solutions:

Connection Issues

# Check HyperEVM node connectivity
curl -X POST -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' \
  http://localhost:8545

Port Conflicts

If ports 3000 or 8080 are in use, update your .env file:

API_PORT=8081
FRONTEND_PORT=3001

Permission Issues

Ensure your user has permission to bind to the configured ports, or run with appropriate privileges.