Skip to main content
Home
This release is 8 versions behind 0.3.116 — the latest version of @paimaexample/orchestrator. Jump to latest
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
0%
Published
4 weeks ago (0.3.108)
Package root>scripts>launch-cardano.ts
import { ComponentNames } from "jsr:@paimaexample/log@^0.3.108"; // Start Cardano Node and Indexer. // // This is a example launcher for Cardano Chains and Contracts. // Working implementation examples are provided in the /templates/* folders. // Normally you would not need to modify this file. // // This file requires you to provide a workspace package with the following tasks: // // devkit:start: start the yaci-devkit node // devkit:wait: wait for the yaci-devkit node to start // dolos:start: start the dolos node // dolos:wait: wait for the dolos node to start // // packageName: the name of the package that implements the tasks. // export const launchCardano = (packageName: string): { stopProcessAtPort?: number[]; name: string; args: string[]; waitToExit?: boolean; logs?: string; type?: string; dependsOn?: string[]; }[] => [ { stopProcessAtPort: [8090, 10000, 50051, 3001], name: ComponentNames.YACI_DEVKIT, args: ["task", "-f", packageName, "devkit:start"], waitToExit: false, logs: "raw", type: "system-dependency", }, { name: ComponentNames.YACI_DEVKIT_WAIT, args: ["task", "-f", packageName, "devkit:wait"], dependsOn: [ComponentNames.YACI_DEVKIT], }, { name: ComponentNames.DOLOS, args: ["task", "-f", packageName, "dolos:start"], waitToExit: false, logs: "raw", type: "system-dependency", dependsOn: [ComponentNames.YACI_DEVKIT_WAIT], }, { name: ComponentNames.DOLOS_WAIT, args: ["task", "-f", packageName, "dolos:wait"], dependsOn: [ComponentNames.DOLOS], }, ];