You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+66-4Lines changed: 66 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ ACURAST_MNEMONIC=abandon abandon about ...
119
119
120
120
-`projectName`: The name of the project.
121
121
-`fileUrl`: The path to the bundled file, including all dependencies (e.g., `dist/bundle.js`).
122
-
-`network`: The network on which the project will be deployed. (e.g. `mainnet`)
122
+
-`network`: The network on which the project will be deployed. One of `mainnet`, `canary`, or `devnet`. See [Networks](#networks) for endpoint defaults and how to override them via env vars.
123
123
-`onlyAttestedDevices`: A boolean to specify if only attested devices are allowed to run the app.
124
124
-`enableDevtools`: A boolean to enable [DevTools](#devtools) for the deployment. When enabled, console logs from processor executions are forwarded to the DevTools dashboard. Defaults to `false`.
125
125
-`startAt`: The start time of the deployment.
@@ -172,7 +172,65 @@ ACURAST_MNEMONIC=abandon abandon about ...
172
172
`ACURAST_MNEMONIC`: The mnemonic used to deploy the app. Make sure the account has some ACU (or cACU for canary network)! You can claim cACU on the [faucet](https://faucet.acurast.com) for canary testing.
173
173
`ACURAST_IPFS_URL` (optional): The URL of the IPFS gateway, eg. `https://api.pinata.cloud`.
174
174
`ACURAST_IPFS_API_KEY` (optional): The API key to access the IPFS gateway. You can [register here](https://pinata.cloud/) to get an API key.
175
-
`ACURAST_RPC` (optional): Set an RPC URL to connect to.
175
+
`ACURAST_RPC` (optional, deprecated): Set an RPC URL to connect to. Kept for backward compatibility — prefer `ACURAST_MAINNET_RPC`.
176
+
177
+
#### Networks
178
+
179
+
The CLI supports three networks: `mainnet` (default), `canary`, and `devnet`. Set `"network"` in your `acurast.json` project entry, or pass `--network` to commands that accept it (`acurast deployments ...`).
180
+
181
+
Each network resolves an RPC endpoint, a matcher URL, and an indexer (with API key). The defaults below ship with the CLI; set the matching env var to override.
The connected RPC URL is written to `.acurast/acurast.log` (file log) on every connection — useful when debugging which endpoint a command actually used.
199
+
200
+
##### Matcher overrides
201
+
202
+
The matcher API provides live processor pricing. If unset (or unreachable), the CLI falls back to a static fee estimate.
-`-n, --network <network>`: Network to use (`mainnet`or `canary`). Defaults to `mainnet`. When working with a specific deployment ID, the network is automatically detected from the deployment file if available.
384
+
-`-n, --network <network>`: Network to use (`mainnet`, `canary`, or `devnet`). Defaults to `mainnet`. When working with a specific deployment ID, the network is automatically detected from the deployment file if available. Devnet requires `ACURAST_DEVNET_INDEXER` (and optional API key) for `ls`/`cleanup` flows.
327
385
-`-e, --update-env-vars`: Update environment variables for a deployment.
328
386
-`-c, --cleanup`: Remove old, finished deployments and return unused funds.
329
387
@@ -509,7 +567,11 @@ To use it, set `runtime` to `"Shell"` and provide an `image` (URL + SHA256). The
0 commit comments