Last updated

Rakurai CLIs

Command-line tools for Rakurai validator operators and transaction-inclusion partners.

Audience: Validator operators, transaction-landing services, and post-pack partners.


1. Overview

The rakurai_cli crate ships two binaries:

BinaryAudiencePurpose
rakurai-activationValidator operatorsManage Rakurai Activation Accounts (RAA): init, scheduler control, commission, show
rakurai-partner-settleTransaction-landing / post-pack partnersPartner Tip and MevShare Revenue Settlement — inspect TCA/MCA, record MCA MevShare, settle SOL

2. Installation

Ensure you have Rust and Cargo installed before proceeding.

You can either build from source or use the prebuilt binary from the release/downloads directory.

2.1. Option 1: Use prebuilt CLI

# Export the prebuilt CLI binary to your PATH
echo "export PATH=\"$(pwd)/release/downloads:\$PATH\"" >> ~/.bashrc && source ~/.bashrc

2.2. Option 2: Build from source

# Build both CLI binaries
cargo b --release -p rakurai_cli

# Export the CLI path
echo "export PATH=\"$(pwd)/target/release/:\$PATH\""

2.3. Verify installation

which rakurai-activation
which rakurai-partner-settle

3. Documentation

GuideDescription
Rakurai Activation CLIInitialize and manage Rakurai Activation Accounts (RAA): scheduler enable/disable, commission updates, and account display.
Partner Tip and MevShare Revenue Settlement CLIRecord MCA MevShare (post-pack), settle custom tip (TCA) or post-pack (MCA) revenue; inspect vaults and pending epoch records (rakurai-partner-settle).