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
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,6 +129,7 @@ ACURAST_MNEMONIC=abandon abandon about ...
129
129
-`type`: `AssignmentStrategyVariant.Single`: Assigns one set of processors for a deployment. If instantMatch is provided, specifies processors and maximum allowed start delay:
130
130
-`processor`: Processor address.
131
131
-`maxAllowedStartDelayInMs`: Maximum allowed start delay in milliseconds.
132
+
- See [Instant match](#instant-match) for a full example; the repository’s `acurast.json` also defines a `test-instant-match` project you can copy from.
132
133
-`type`: `AssignmentStrategyVariant.Competing`: Assigns a new set of processors for each execution.
133
134
-`execution`: Specifies the execution details, which can be:
134
135
-`type`: 'onetime'`: Run the deployment only once.
@@ -526,6 +527,12 @@ The `reuseKeysFrom` field allows you to reuse keys from a previous deployment. T
526
527
}
527
528
```
528
529
530
+
### Instant match
531
+
532
+
When `assignmentStrategy.type` is `Single`, you can set `assignmentStrategy.instantMatch` to pin planned executions to specific processors (each entry maps to a processor account and a per-entry maximum start delay). Replace the `processor` value with your processor’s SS58 address on the network you deploy to. The example address below is only a placeholder for the correct format.
533
+
534
+
If `instantMatch` is non-empty, `acurast deploy` skips the market pricing check for that project, since matching is explicit.
535
+
529
536
### Shell Runtime
530
537
531
538
The Shell runtime runs your deployment as a native binary inside a Linux distro image on the processor (PRoot-isolated). This unlocks shell scripts, native tooling, and any language you can ship as a Linux binary.
@@ -550,7 +557,11 @@ To use it, set `runtime` to `"Shell"` and provide an `image` (URL + SHA256). The
0 commit comments