Skip to main content

hardkas run

hardkas run​

Synopsis (Generated)​

Purpose: Run a TypeScript or JavaScript file with tsx and a global 'hardkas': a simulator test harness on simulated networks, an RPC client otherwise (not the SDK) stable

Arguments​

  • <script> (Required):

Options​

  • --network <name> (Default: simnet): Network from the config (unknown names fall back to simulated)
  • --accounts <n> (Default: 3): Number of harness accounts (simulated networks only)
  • --balance <sompi> (Default: 100000000000): Initial balance per harness account, whole sompi (simulated networks only)
  • --no-harness: Skip automatic harness creation
  • --json (Default: false): Output results as JSON