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-evm.ts
import { ComponentNames } from "jsr:@paimaexample/log@^0.3.108"; // // Start EVM (Hardhat) Chains and deploy contracts. // // This is a example launcher for EVM 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: // // chain:start: start the chain // chain:wait: wait for the chain to start // deploy: script that deploys the contracts to the chain // // packageName: the name of the package that implements the tasks. // export const launchEvm = (packageName: string): { stopProcessAtPort?: number[]; name: string; args: string[]; waitToExit?: boolean; logs?: string; type?: string; dependsOn?: string[]; }[] => [ { stopProcessAtPort: [8545, 8546], name: ComponentNames.HARDHAT, args: ["task", "-f", packageName, "chain:start"], waitToExit: false, logs: "tsLogOrchestratorAdapter", type: "system-dependency", dependsOn: [], }, { name: ComponentNames.HARDHAT_WAIT, args: ["task", "-f", packageName, "chain:wait"], dependsOn: [ComponentNames.HARDHAT], }, { name: ComponentNames.DEPLOY_EVM_CONTRACTS, args: ["task", "-f", packageName, "deploy"], type: "system-dependency", dependsOn: [ComponentNames.HARDHAT_WAIT], }, ];