Expand description
The commands, and what they share: connecting to Zcash and the EVM chains, prices.
Modules§
- doctor
paralock doctor: checks everything a swap or a maker needs and prints a fix for each problem.- maker
paralock maker: a market maker served with the SDK’s axum server, no Node process.- taker
- The taker’s commands:
quote,swap,pay,swaps,resumeandrefund.
Constants§
- PROBE_
TIMEOUT - A short timeout for doctor-style probes.
Functions§
- backend_
label - A description of the backend for messages (no credentials).
- connect
- Connects both escrows of
chainwith the key fromkey, throughrpc(default: the chain’s RPC). The SDK checks the chain id and that each escrow holds the Paralock contract’s code. - evm_
options - The SDK’s options for one chain with
account(a0xprivate key). - pick_
chain - The chain to use:
--chain, else tempo when configured, else the only configured chain. - price_
label - A description of the price source.
- price_
source - The USD/ZEC price source of
setup. - redact
- A URL without user info or query string (which may hold credentials or API keys).
- shutdown_
signal - Waits for Ctrl-C or SIGTERM.
- zcash_
node - The Zcash backend of
setup.