> For the complete documentation index, see [llms.txt](https://data-programs.gitbook.io/singularity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://data-programs.gitbook.io/singularity/cli-reference/run/deal-pusher.md).

# Deal Pusher

{% code fullWidth="true" %}

```
NAME:
   singularity run deal-pusher - Start a deal pusher that monitors deal schedules and pushes deals to storage providers

USAGE:
   singularity run deal-pusher [command options]

OPTIONS:
   --no-automigrate                          skip automatic database migration and correctness checks on startup; only use if you run 'admin init' on every upgrade or manually before starting daemons (default: false)
   --deal-attempts value, -d value           Number of times to attempt a deal before giving up (default: 3)
   --max-replication-factor value, -M value  Max number of replicas for each individual PieceCID across all clients and providers (default: Unlimited)
   --pdp-batch-size value                    Number of pieces to include in each /pdp/piece/pull request (default: 128)
   --pdp-max-pieces-per-proofset value       Maximum pieces per proof set before starting a new one (default: 1024)
   --pdp-pull-timeout value                  How long to wait for Curio to finish pulling a batch (per request) (default: 5m0s)
   --pdp-source-url-base value               HTTPS base URL where Curio fetches pieces from; sourceUrl is built as <base>/piece/<pieceCid> [$PDP_SOURCE_URL_BASE]
   --pdp-record-keeper value                 FWSS contract address (recordKeeper). Defaults to the network default from go-synapse. [$PDP_RECORD_KEEPER]
   --eth-rpc value                           Ethereum RPC endpoint for FEVM (required to execute PDP and DDO schedules on-chain) [$ETH_RPC_URL]
   --ddo-contract value                      DDO Diamond proxy contract address [$DDO_CONTRACT_ADDRESS]
   --ddo-payments-contract value             DDO Payments proxy contract address [$DDO_PAYMENTS_CONTRACT_ADDRESS]
   --ddo-payment-token value                 ERC20 payment token address (e.g. USDFC) [$DDO_PAYMENT_TOKEN]
   --ddo-batch-size value                    Number of pieces per DDO allocation transaction (default: 10)
   --ddo-confirmation-depth value            Number of block confirmations required for DDO transactions (default: 5)
   --ddo-poll-interval value                 Polling interval for DDO transaction confirmation checks (default: 30s)
   --ddo-term-min value                      Minimum term in epochs (~6 months default) (default: 518400)
   --ddo-term-max value                      Maximum term in epochs (~5 years default) (default: 5256000)
   --ddo-expiration-offset value             Expiration offset in epochs (default: 172800)
   --help, -h                                show help
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://data-programs.gitbook.io/singularity/cli-reference/run/deal-pusher.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
