Shekyl Stats

Refreshing...

Network

Connected

Chain

Height
—
Network Height
—
Top Block Hash
--
Block Spacing
--

Rewards

Reward
--
Difficulty
--
Hash Rate
--

Supply

Circulating Supply
--
Remaining Supply
--
Burn Total
--

Economics

Emission Multiplier
--
Burn
--
Economy Fee
--
Standard Fee
--
High Fee
--

Staking

Stake Share
--

Protocol

Transaction Format
TransactionV3
Membership Proof
FCMP++
Spend Auth
Ed25519 + ML-DSA-65
Confidentiality
Stealth + BP+

Node

Pool Count
--
Data Size
--
Revision
--
Sync Status
Syncing
All Documentation

Installation Guide

Build and install Shekyl from source on Linux, macOS, Windows, and more.

Shekyl Installation Guide

This guide documents how to build and run Shekyl from source using the current repository build system.

It is intentionally Shekyl-native (binary names and commands), even where legacy docs still reference monero*.


1) What this guide covers

  • Supported platforms and practical build targets.
  • Required and optional dependencies.
  • Build flows using cargo xtask, run from rust/.
  • Shekyl binary names and first-run verification.
  • Common pitfalls (submodules, older systems, RPC safety).

2) Supported platforms

Documented by repository docs

The project README documents build/run guidance for:

  • Linux and macOS
  • Windows (MSYS2/MinGW)
  • Raspberry Pi
  • FreeBSD

A platform is supported only if CI or gitian builds it: Linux, macOS, Windows and FreeBSD (Rick, 2026-11-17). OpenBSD, NetBSD, DragonFly BSD, illumos and Solaris are not supported. The daemon names no arm for them, so a build for any of them stops at the account walk's compile_error! in shekyl-daemon-config. The daemon has no iOS or Android arm either: no CI or gitian job builds a node for them.

Supported storage

The wallet and the daemon keep their files on a local disk: a local NTFS volume on Windows, a local disk on Unix (Rick, 2026-11-19). Network shares are not a supported configuration.

  • The wallet, on any other storage (a FAT32 or exFAT drive, a network share), still saves its files, but refuses to send or to stake: no save there is confirmed to survive a power cut, so the transaction it would need to remember could be lost after it left. The refusal is the wallet RPC code for the cause (SAVE_DURABILITY_UNCONFIRMED, SAVE_ON_NETWORK_DRIVE, and the others in docs/api/wallet_rpc.yaml), and its message says why and what to change.
  • The daemon, on such storage, still starts. A file it replaces at start (its network marker, its rendezvous record, its console key, the service bundle) is written, but not confirmed to survive a power cut, and the daemon logs a warning naming the file, why, and the supported storage.

Practical baseline

If you are starting fresh, prefer:

  • Linux (Debian/Ubuntu/Fedora/Arch)
  • macOS
  • Windows via MSYS2

3) Dependencies

The dependency matrix is maintained in README.md and includes:

  • the Rust toolchain rust/rust-toolchain.toml pins, with cargo;
  • a C compiler for the crates whose build scripts compile C (no C or C++ library is linked from the system: no Boost, OpenSSL, libsodium or readline).

Rust integration behavior

Every binary is Rust. cargo xtask, run from rust/, runs cargo for the workspace, so a build needs the Rust toolchain:

curl https://sh.rustup.rs -sSf | sh
source "$HOME/.cargo/env"

PQC and FCMP++ build note

Shekyl's rebooted chain design depends on Rust-based PQC and FCMP++ components.

Today:

  • some Rust modules are optional at build time
  • PQC implementation is still being completed
  • FCMP++ Rust crates (shekyl-fcmp, shekyl-address) are required for consensus-valid builds

Target state for the rebooted mainnet:

  • Rust toolchain will be a required dependency for consensus-valid builds
  • node operators, wallet builders, and release builders should assume a Rust-enabled build is mandatory
  • the canonical PQC design and transaction format are documented in docs/POST_QUANTUM_CRYPTOGRAPHY.md
  • the FCMP++ design document will be published as docs/FCMP_PLUS_PLUS.md

4) Clone and prepare source

Clone recursively to include required submodules:

git clone --recursive <your-shekyl-repo-url>
cd shekyl-core

If already cloned without submodules:

git submodule update --init --force

5) Build on Linux/macOS

From the repository root:

cd rust
cargo xtask build

This builds the release binaries for this machine and stages them in build/bin/. --out <dir> names another directory. What cargo is given for each host is data in rust/xtask/matrix.toml.

Common commands

Run from rust/:

cargo xtask plan --native   # print the command; the version placeholders stay unfilled
cargo build -p <crate>      # a debug build of one crate
cargo test --workspace --exclude shekyl-randomx-differential

A plain cargo build is for development. It carries no release identity, so its binaries report 3.1.0-unknown, and it has none of the host's hardening flags.


6) Build on Windows (MSYS2/MinGW)

Open MSYS2 MinGW shell and install toolchain + dependencies (64-bit example):

pacman -Syu
pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-rustup git

Then:

git clone --recursive <your-shekyl-repo-url>
cd shekyl-core
rustup set default-host x86_64-pc-windows-gnu  # on Windows rustup otherwise picks MSVC
rustup toolchain install "$(sed -n 's/^channel = "\(.*\)"$/\1/p' rust/rust-toolchain.toml)" --profile minimal
cd rust && cargo xtask build

Shekyl is 64-bit only. 32-bit build targets (release-static-win32, release-static-linux-i686, and the corresponding depends triples) were permanently retired in v3.1.0-alpha.5 (Chore #3). The release matrix lists only 64-bit hosts, and the Rust workspace carries two independent compile_error! tripwires against target_pointer_width != 64. Shekyl's post-quantum primitives (ML-KEM-768 via fips203, ML-DSA-65 via fips204) state their constant-time guarantees against native 64-bit arithmetic; on 32-bit targets the compiler emits libgcc helpers (__muldi3, __udivdi3, __ashldi3) with no CT guarantee, plus variable-latency u64 multiply on common 32-bit ARM cores — the exact threat model exploited by KyberSlash (Bernstein et al., 2024). See docs/CHANGELOG.md entry "Retired 32-bit build targets" and the audit-trail closure for the full argument. If your hardware cannot run 64-bit, Shekyl is not appropriate for your machine.


7) Shekyl binary names and locations

cargo xtask build produces:

  • daemon: shekyld
  • CLI wallet: shekyl-cli
  • wallet RPC: shekyl-wallet-rpc
  • RPC tunnel: shekyl-rpc-tunnel

They come from one cargo invocation over the Rust workspace, and rust/xtask/matrix.toml names each host's set.

Platform note. The wallet binaries are produced for Linux, macOS and FreeBSD. They are not built for Windows: the matrix's Windows rows name shekyld and shekyl-rpc-tunnel, and Windows release archives carry those two and no wallet.

That is no longer because the code cannot be built: as of 2026-08-25 both shekyl-cli and shekyl-wallet-rpc compile and link for x86_64-pc-windows-msvc, and their end-to-end tests pass there. What is unverified is everything after compilation, the staging and the archive layout, so the rows stay as they are until that is done deliberately. See docs/FOLLOWUPS.md, "Rust wallet stack: no Windows support" (WP-W5).

The binaries are staged in build/bin/, or the directory --out names.


8) First-run verification

From your build output directory:

./shekyld --version
./shekyld --help
./shekyl-cli --help
./shekyl-wallet-rpc --help

Start daemon in foreground:

./shekyld

Run the daemon in the background via your platform's service manager (systemd on Linux, rc.d on FreeBSD, launchd on macOS, Task Scheduler on Windows). The shipped systemd unit is the template contrib/packaging/linux/[email protected], one instance per network, with shekyl.slice beside it. The .deb and the .rpm install both, create the shekyl system account the unit runs as and /etc/shekyl, and place each public network's settings file, /etc/shekyl/shekyld-<network>.toml, when none is there: every option in it is commented out, so the daemon runs on its defaults. They refuse to install where an account named shekyl is already someone's login, because the daemon would run with that login's rights, and say how to rename it. They do not start the daemon. Set what you need in the network's file, then enable and start that network's instance; before every start it checks the file as the daemon's account:

sudo systemctl enable --now shekyld@testnet

Without a package, apply the same two declarations first, because systemd refuses to start a unit whose account does not exist. They also declare the RPC tunnel's account shekyl-tunnel and its configuration directory /etc/shekyl-tunnel. Check first that no login is named shekyl or shekyl-tunnel (getent passwd shekyl shekyl-tunnel): the declaration keeps an account that already exists, and the service would run as it. Then install both units and enable the daemon; the unit runs /usr/local/bin/shekyld:

sudo cp contrib/packaging/linux/shekyl.sysusers /usr/lib/sysusers.d/shekyl.conf
sudo cp contrib/packaging/linux/shekyl.tmpfiles /usr/lib/tmpfiles.d/shekyl.conf
sudo systemd-sysusers shekyl.conf
sudo systemd-tmpfiles --create shekyl.conf
sudo cp contrib/packaging/linux/[email protected] \
  contrib/packaging/linux/shekyl.slice /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now shekyld@testnet

The slice is the daemon's own top-level control group, weighed 4:1 against user.slice under contention, so a daemon that is syncing or verifying keeps about 80 % of the CPU while a wallet in a user session serves archival shards beside it (the wallet itself is never a system service). A daemon started by hand runs in your session and has no slice, and it stops when your session ends; the shipped unit passes --service, which marks the machine's service instance.

On FreeBSD the release archive carries the daemon binary and an rc.d script, rc.d/shekyld (in the tree at contrib/packaging/freebsd/shekyld). The script runs /usr/local/bin/shekyld, so install that binary from the archive, then the script:

install -m 0555 shekyld /usr/local/bin/shekyld
pw useradd shekyl -d /nonexistent -s /usr/sbin/nologin -c "Shekyl daemon"
install -m 0555 rc.d/shekyld /usr/local/etc/rc.d/shekyld
sysrc shekyld_enable=YES
service shekyld start

sysrc shekyld_args="--network testnet" selects another network. The script runs the daemon as shekyl with --service, creates /var/run/shekyl, /var/db/shekyl and /var/log/shekyl before each start, and restarts it 30 seconds after a failed exit. A clean stop stays stopped. A refused start is a failed exit, so it is retried, and the refusal is in syslog.

--detach, --pidfile, and the Windows --*-service flags were removed in V3.1; the daemon now only runs in the foreground and is supervised externally. The GUI wallet embeds shekyld as a Tauri sidecar and does not require a separate service unit.

RPC is operator-to-operator. Restricted RPC is a view-only listener for your own wallet, not a public remote node.


9) Building for older systems

A binary links the libc of the machine it was built on, so one built on a current distribution may not run on an older one. Use a release archive, which is built on Ubuntu 22.04, or build on the oldest system you need to support. README.md, "Cross Compiling", covers cargo xtask dist --host <host>, which builds a release host from the depends system.


10) Runtime safety notes

  • RPC is operator-to-operator (a daemon you control). Restricted RPC is a view-only listener for your wallet, not a public remote node.
  • On macOS, if you encounter refresh/runtime instability, try --max-concurrency 1.
  • Keep daemon and wallet versions from the same build.
  • Prefer explicit --data-dir and --config-file paths in service environments.

11) Troubleshooting

The build fails on a missing submodule

Fix:

git submodule update --init --force

Then rerun cargo xtask build.

cargo xtask refuses the build

It refuses a rustc other than the channel rust/rust-toolchain.toml pins, and settings on the build machine that would change the binaries, such as RUSTFLAGS, CARGO_PROFILE_* or CARGO_BUILD_TARGET. Install the pinned channel, or unset the variable its message names.

cargo is not found

Install Rust with rustup (section 3), then rebuild.

Missing dependencies

Install packages for your distro from the dependency section in README.md, then rebuild.

Built binaries do not run on an older Linux distribution

See section 9.


  • README.md (full dependency matrix and platform specifics)
  • rust/xtask/matrix.toml (each host's binaries and everything cargo is given)
  • shekyl-dev/docs/SEEDS_SETUP.md (seed bootstrap model and runtime seed/peer controls)
  • shekyl-dev/docs/SEED_NODE_DEPLOYMENT.md (step-by-step seed node and shekyl.org caching deployment)
  • docs/POST_QUANTUM_CRYPTOGRAPHY.md (canonical PQC spec and reboot-only transaction format)
  • docs/FCMP_PLUS_PLUS.md (FCMP++ design document)