本文へ移動
cccskills
無料GitHub で公開

boundless-cli

How to use the Boundless CLI — the primary interface for the Boundless ZK proof marketplace. Covers requestor, prover, and rewards commands, config, env vars, and the monorepo structure. Use when working with the boundless CLI, submitting proofs, managing provers, staking rewards, or navigating the codebase.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md6.9 KB
  • references/architecture.md3.7 KB
  • references/cli-reference.md3.8 KB
  • references/conventions.md3.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Boundless CLI

The boundless CLI is the primary interface for the Boundless protocol — a decentralized marketplace for zero-knowledge proofs built on RISC Zero's zkVM. It connects requestors (who need ZK proofs) with provers (who generate proofs for rewards). The protocol runs on Base (L2) with staking/rewards on Ethereum (L1).

Command Quick Reference

Requestor

boundless requestor setup              # Interactive setup wizard
boundless requestor config             # Show configuration status
boundless requestor submit             # Submit a proof request (offer + input + image)
boundless requestor submit-file        # Submit a proof request from a YAML file
boundless requestor status             # Check request status
boundless requestor get-proof          # Download proof journal and seal
boundless requestor verify-proof       # Verify a completed proof
boundless requestor deposit            # Deposit funds into the market
boundless requestor withdraw           # Withdraw funds from the market
boundless requestor balance            # Check deposited balance

Prover

boundless prover setup                 # Interactive setup wizard
boundless prover config                # Show configuration status
boundless prover deposit-collateral    # Deposit collateral
boundless prover withdraw-collateral   # Withdraw collateral
boundless prover balance-collateral    # Check collateral balance
boundless prover lock                  # Lock a request
boundless prover fulfill               # Fulfill proof requests
boundless prover execute               # Execute proof via zkVM
boundless prover benchmark             # Run benchmark suite
boundless prover slash                 # Slash a prover for failed request
boundless prover generate-config       # Generate broker/compose configs

Rewards

boundless rewards setup                # Interactive setup wizard
boundless rewards config               # Show configuration status
boundless rewards stake-zkc            # Stake ZKC tokens
boundless rewards balance-zkc          # Check ZKC balance
boundless rewards staked-balance-zkc   # Check staked ZKC balance
boundless rewards epoch                # Get current epoch info
boundless rewards power                # Check reward power
boundless rewards prepare-mining       # Prepare mining work log
boundless rewards submit-mining        # Submit mining work updates
boundless rewards claim-mining-rewards # Claim mining rewards
boundless rewards claim-staking-rewards # Claim staking rewards
boundless rewards delegate             # Delegate rewards
boundless rewards get-delegate         # Get current delegate
boundless rewards list-staking-rewards # List staking rewards by epoch
boundless rewards list-mining-rewards  # List mining rewards by epoch
boundless rewards inspect-mining-state # Inspect mining state file

Configuration

Config is stored in ~/.boundless/:

  • config.toml — public config (selected networks, custom deployments)
  • secrets.toml — private config (RPC URLs, private keys), 0600 permissions

Precedence (highest to lowest):

  1. CLI flags
  2. Environment variables (e.g. REQUESTOR_RPC_URL)
  3. Config files (~/.boundless/secrets.toml, config.toml)
  4. Network defaults (built-in contract addresses)

Setup wizards configure everything interactively:

boundless requestor setup
boundless prover setup
boundless rewards setup

Tip: Set AWS_EC2_METADATA_DISABLED=true on all boundless commands to avoid 2–4s AWS IMDS timeout warnings on non-EC2 machines.

Key Environment Variables

VariableModuleDescription
REQUESTOR_RPC_URLRequestorRPC endpoint for requestor commands
REQUESTOR_PRIVATE_KEYRequestorPrivate key for requestor transactions
PROVER_RPC_URLProverRPC endpoint for prover commands
PROVER_PRIVATE_KEYProverPrivate key for prover transactions
BENTO_API_URLProverBento/Bonsai API URL
BENTO_API_KEYProverBento/Bonsai API key
REWARD_RPC_URLRewardsRPC endpoint for rewards (L1)
REWARD_PRIVATE_KEYRewardsPrivate key for reward transactions
STAKING_PRIVATE_KEYRewardsPrivate key for staking (can differ from reward key)
STAKING_ADDRESSRewardsStaking address (read-only)
MINING_STATE_FILERewardsPath to mining state file
ZKC_ADDRESSRewardsZKC token contract (has default per network)
VEZKC_ADDRESSRewardsStaked ZKC NFT contract (has default per network)
STAKING_REWARDS_ADDRESSRewardsRewards distribution contract (has default per network)
BEACON_API_URLRewardsBeacon API URL
BOUNDLESS_MARKET_ADDRESSGlobalMarket contract address (has default per network)
SET_VERIFIER_ADDRESSGlobalVerifier contract address (has default per network)
TX_TIMEOUTGlobalTransaction timeout in seconds (default: 300)
LOG_LEVELGlobalLog verbosity: error, warn, info, debug, trace

Networks

NetworkIDDescription
Base Mainnetbase-mainnetProduction market
Base Sepoliabase-sepoliaMarket testnet
Ethereum Mainneteth-mainnetRewards/staking (L1)
Ethereum Sepoliaeth-sepoliaRewards testnet

Related Skills

For guided workflows that build on the CLI:

  • requesting — Walk through submitting a proof request end-to-end (self-hosted storage, no Pinata needed)
  • setup-prover — Deploy a prover to a GPU server using Ansible

Reference Files

  • CLI Reference — Detailed command arguments, flags, and env vars
  • Architecture — Monorepo structure, key crates, build toolchain
  • Conventions — Code patterns for contributing to the CLI (Rust patterns, error handling, display output, testing)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

localnet

無料

Start and interact with the Boundless localnet (docker compose-based local development network). Covers dev mode (fake proofs, broker included) and full proving mode, submitting requests, and debugging order flow. Use when the user wants to start localnet, run the local network, test proof requests locally, or debug broker/order-stream issues.

日本語の概要は準備中です。原文の説明を表示しています。

boundless-xyz/boundless1932026年8月27日 更新

Internal — for Boundless team members only. Deploy Boundless infrastructure to a new blockchain. Creates Pulumi stacks, config files, updates ChainId enum, and wires CI/CD pipelines for staging and prod environments. Use when adding a new chain, deploying to a new network, or setting up new chain infrastructure.

日本語の概要は準備中です。原文の説明を表示しています。

boundless-xyz/boundless1932026年8月27日 更新

Internal — for Boundless team members only. Audit native ETH, market deposit, prover collateral, and distributor ZKC reserve balances for every operator-managed address (provers, distributor, order generators, signal). Use when the user wants to know which addresses need topping up, asks about the balance of provers/OGs/distributor/signal signers, says something is "running low" or "out of gas", or wants a periodic operational health check on operator wallets. Defaults to prod env (mainnets + prod testnets) — pass `--all` to also include staging.

日本語の概要は準備中です。原文の説明を表示しています。

boundless-xyz/boundless1932026年8月27日 更新

Internal — for Boundless team members only. Query the Boundless Indexer REST API for on-chain market data, staking, PoVW rewards, delegations, and market efficiency on prod/staging environments. Use when the user asks about proof requests, provers, requestors, staking data, PoVW rewards, delegations, market aggregates, leaderboards, or wants to fetch data from the indexer API on live networks. Also use when the user mentions "indexer" and wants to look up addresses, requests, or market statistics on deployed environments. Do NOT use for debugging local code changes, reviewing PRs, or investigating issues in the codebase itself.

日本語の概要は準備中です。原文の説明を表示しています。

boundless-xyz/boundless1932026年8月27日 更新

Internal — for Boundless team members only. Help developers deploy Boundless AWS infrastructure to the dev environment. Use when the user wants to deploy a service to dev, bootstrap their dev environment, troubleshoot infrastructure issues, or understand what env vars a service needs. Also handles teardown and status checks.

日本語の概要は準備中です。原文の説明を表示しています。

boundless-xyz/boundless1932026年8月27日 更新

Internal — for Boundless team members only. Query AWS CloudWatch logs for Boundless services (provers, slasher, distributor, order stream, order generator, indexer, signal) on prod/staging environments. Use when the user asks to look at service logs, debug service behavior from log output, search logs for a request ID, or investigate errors using CloudWatch. Do NOT use for debugging local code changes, reviewing PRs, or investigating issues in the codebase itself.

日本語の概要は準備中です。原文の説明を表示しています。

boundless-xyz/boundless1932026年8月27日 更新

boundless-xyz のスキルをすべて見る

このスキルの問題を報告する