Skip to content

Aegisoe/CRE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Hello World (TypeScript)

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

1. Update .env file

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

2. Install dependencies

bun install

3. Simulate the workflow

Run the command from project root directory

cre workflow simulate <path-to-workflow> --target=staging-settings

It 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors