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-configlibssl-dev(OpenSSL 3.x)libudev-devbuild-essentialca-certificateslibclang-dev
Installation Methods
- From Source (Recommended)
- Docker
- Makefile Commands
Clone the Repository
Install System Dependencies
Build Core Lane
Build the debug version for development:- Debug:
target/debug/core-lane-node - Release:
target/release/core-lane-node
Verify Installation
Feature Flags
Core Lane supports optional features that can be enabled during compilation:Enables Cartesi Machine runtime for executing programs. This is the default feature.
Building Without Cartesi
To build without the Cartesi Machine dependency: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)
Cargo.toml for the complete dependency list.
Troubleshooting
OpenSSL Issues
If you encounter OpenSSL-related errors:libudev Issues
On Linux, ensure libudev is installed: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: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