Deposits
Deposit lifecycle, funding, liquidity tuning, payment method management, currencies, oracle config, and delegate binding.
Deposit Surface Summary
The deposit group is the largest write-capable surface in the CLI.
It spans:
- funding and balance mutations
- listing and inspection
- payment method and currency configuration
- rate range and retention toggles
- delegate/rate-manager association
- oracle configuration
- batch configuration updates
- pruning orphaned intents
Discovery Commands
peer deposit list
peer deposit show
peer deposit show-manyUse these before any mutation.
Funding and Balance Commands
peer deposit ensure-allowance
peer deposit create
peer deposit add-funds
peer deposit remove-funds
peer deposit withdrawensure-allowance
This now follows preview-first semantics.
Behavior:
- reads current allowance first
- returns a no-op informational result when approval is already sufficient
- otherwise previews the approval transaction and executes only with
--yes
State and Liquidity Tuning
peer deposit pause
peer deposit resume
peer deposit set-range
peer deposit set-rate
peer deposit set-retain-on-emptyUse these when managing availability rather than reshaping the whole deposit.
Delegate and Rate-Manager Attachment
peer deposit set-delegate
peer deposit remove-delegateThese are per-deposit delegate helpers and are distinct from the higher-level controller/vault delegation commands.
Payment Method Management
peer deposit payment-method add
peer deposit payment-method set-active
peer deposit payment-method removeUse these when a deposit should accept, stop accepting, or explicitly enumerate supported processors.
Currency Management
peer deposit currency add
peer deposit currency deactivate
peer deposit currency remove
peer deposit currency-config update-batch
peer deposit currency deactivate-batchBatch operations are appropriate when an operator is reconfiguring many currency rows at once.
Oracle Configuration
peer deposit oracle set
peer deposit oracle remove
peer deposit oracle set-batchUse these only after validating that the target deployment supports inline oracle configuration where required.
Intent Cleanup
peer deposit prune-intentsThis is an operator-maintenance tool. Run it only after confirming that the target intents are actually stale or invalid.
Safe Operator Pattern
A disciplined deposit change sequence is:
deposit show- Preview the mutation without
--yes - Inspect the preview payload
- Re-run with
--yes - Re-read with
deposit show
Example
peer deposit show --id 42
peer deposit set-rate --id 42 --platform wise --currency USD --rate 1.01
peer deposit set-rate --id 42 --platform wise --currency USD --rate 1.01 --yes
peer deposit show --id 42