This template provides a blank TypeScript workflow example. It aims to give a starting point for writing a workflow from scratch and to get started with local simulation.
Steps to run the example
You need to add a private key to env file. This is specifically required if you want to simulate chain writes. For that to work the key should be valid and funded. If your workflow does not do any chain write then you can just put any dummy key as a private key. e.g.
CRE_ETH_PRIVATE_KEY=0000000000000000000000000000000000000000000000000000000000000001
bun installRun the command from project root directory
cre workflow simulate <path-to-workflow> --target=staging-settingsIt is recommended to look into other existing examples to see how to write a workflow. You can generate them by running the cre init command.