Manifest
The Compose App’s manifest is a YAML file with the following schema. The manifest holds all the relevant information about the Compose App and its tasks. All compose commands will reference your manifest and pick up the configuration there. See full manifest configuration docs here.Example
Commands
Init
Prompts you to choose a project name and generates a folder of that name with a fully working compose app in it.Dev
Starts your Compose app with a clean task execution state, this will be the primary way you run the app while developing. Changes you make to your task will hot reload and reset execution state. You can optionally clear all the state in the stage DB with the “—clean-stage” flag.--clean-stageOptionally clear the local stage database
Start
Starts your app in production mode, preserving execution state from previous runs, this can be useful for testing retry behavior or other production scenarios.-m <<manifest-path>>Optionally use a manifest that’s not in the default compose.yaml path--fork-chainsfork all chains referenced in contract interactions locally for testing, more info on forking here
Deploy
This will deploy the app to the cloud, from there you’ll be able to monitor it athttps://app.goldsky.com/dashboard/compose/{appName}.
See monitoring for more info.
-m, --manifest <path>Path to manifest file (default:compose.yaml)-t, --token <token>Authentication token for deployment-f, --forceSkip version compatibility prompts
Your manifest must include an
api_version field to deploy. All secrets referenced in the manifest must be set before deploying (see Secrets).callTask
Trigger a task locally by name with an optional JSON payload. Useful for testing tasks during development.The payload must be valid JSON. For example,
{foo: "bar"} is invalid — use {"foo": "bar"} instead.codegen
Parse ABIs in thesrc/contracts/ folder and generate TypeScript classes for them.
See contracts for more details.
secret list
List all secrets set for this app.-m, --manifest <path>Path to manifest file (default:compose.yaml)-t, --token <token>Authentication token--api-server <url>Override the API server URL
secret set
Set or update a secret for the app. See Secrets for full details.-m, --manifest <path>Path to manifest file (default:compose.yaml)-t, --token <token>Authentication token--api-server <url>Override the API server URL
secret delete
Delete a secret from the app.-m, --manifest <path>Path to manifest file (default:compose.yaml)-t, --token <token>Authentication token--api-server <url>Override the API server URL