Skip to main content

System Requirements

Before installing Core Lane, ensure your system meets the following requirements:
  • Rust: Version 1.90 or later
  • Operating System: Linux (Debian Trixie, Ubuntu, or compatible), macOS, or Windows with WSL
  • Docker: Required for Bitcoin regtest development environment
  • System Libraries:
    • pkg-config
    • libssl-dev (OpenSSL 3.x)
    • libudev-dev
    • build-essential
    • ca-certificates
    • libclang-dev

Installation Methods

Feature Flags

Core Lane supports optional features that can be enabled during compilation:
cartesi-runner
boolean
default:"true"
Enables Cartesi Machine runtime for executing programs. This is the default feature.

Building Without Cartesi

To build without the Cartesi Machine dependency:
cargo build --no-default-features

Dependencies

Core Lane is built with the following major dependencies:
  • Bitcoin: bitcoin 0.32.0 - Bitcoin protocol library
  • Alloy: Ethereum types and utilities (v1.x)
  • BDK: Bitcoin Development Kit for wallet management
  • Tokio: Asynchronous runtime
  • Axum: Web framework for JSON-RPC server
  • Cartesi Machine: RISC-V runtime (optional)
See Cargo.toml for the complete dependency list.

Troubleshooting

OpenSSL Issues

If you encounter OpenSSL-related errors:
# Debian/Ubuntu
sudo apt-get install libssl-dev

# macOS
export OPENSSL_DIR=$(brew --prefix openssl@3)
cargo build

libudev Issues

On Linux, ensure libudev is installed:
sudo apt-get install libudev-dev

Cartesi Machine Build Errors

The Cartesi Machine bindings will automatically download required files. Ensure you have:
  • A stable internet connection
  • Sufficient disk space (~500MB)
  • Write permissions in the build directory

Verification

After installation, verify the binary works:
# Check version info
./target/debug/core-lane-node --help

# Create a test wallet to verify BDK integration
./target/debug/core-lane-node create-wallet --network regtest

Next Steps

Configuration

Configure your Core Lane node with environment variables and CLI flags

Development Environment

Set up a local development environment with Bitcoin regtest

Build docs developers (and LLMs) love