Blueprint Manager Setup
This page covers the operator flow for configuring and running the Blueprint Manager against Tangle.
1) Create a settings file
The manager reads protocol addresses (and optional service scope) from settings.env:
cat > settings.env <<'EOF'
BLUEPRINT_ID=123
TANGLE_CONTRACT=0x...
RESTAKING_CONTRACT=0x...
STATUS_REGISTRY_CONTRACT=0x...
# SERVICE_ID=456 # optional; omit to follow all activations
EOF2) Start the manager
cargo tangle blueprint run \
--protocol tangle-evm \
--http-rpc-url "$RPC_URL" \
--ws-rpc-url "$WS_RPC_URL" \
--keystore-path ./keystore \
--settings-file ./settings.envThis process should run continuously. Use a process supervisor (systemd, docker, or Kubernetes) for restarts and health checks.
3) Choose runtime preferences
You can control how services are executed:
--spawn-methodselects the preferred runtime (native,vm,container).--vmor--no-vmforce or disable the VM sandbox.--preferred-sourcelets you override the blueprint’s preferred source type.--save-runtime-prefspersistsPREFERRED_SOURCEandUSE_VMintosettings.env.
Example:
cargo tangle blueprint run \
--protocol tangle-evm \
--http-rpc-url "$RPC_URL" \
--ws-rpc-url "$WS_RPC_URL" \
--keystore-path ./keystore \
--settings-file ./settings.env \
--spawn-method vm \
--save-runtime-prefs4) Data and cache directories
--data-dircontrols the per-service working directory (defaults to./data).- The manager maintains a cache for downloaded artifacts (defaults to
./cache).
Plan capacity based on the number of services you expect to host. See Sizing and Capacity.