Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Building zebra-crosslink

These are the build and usage instructions for a generic linux system. nix users should check out nix Support.

Building zebra-crosslink requires Rust, libclang, and a C++ compiler.

Dependencies

  1. Install cargo and rustc.

  2. Install zebra-crosslink's build dependencies:

    • libclang is a library that might have different names depending on your package manager. Typical names are libclang, libclang-dev, llvm, or llvm-dev.
    • clang or another C++ compiler: g++ (all platforms) or Xcode (macOS).
    • protoc

TODO: We need to add prerequisites for the visualizer.

cargo build --locked zebrad

Usage

cargo run

To connect to the current prototype testnet, see crosslink-testnet.md.