Skip to main content

hardkas dev

hardkas dev​

Synopsis (Generated)​

Purpose: Local development tools: dev environment, dApp templates, simnet dev accounts (dev doctor is an Igra L2 lab check)

Options​

  • --once (Default: false): Initialize dev environment, run health checks, and exit (headless)
  • --headless (Default: false): Run headlessly (no UI open)

hardkas dev create​

Synopsis (Generated)​

Purpose: Create a new dApp project from a template stable

Arguments​

  • <name> (Required):

hardkas dev init​

Synopsis (Generated)​

Purpose: Initialize dApp support in the current workspace stable


hardkas dev doctor​

Synopsis (Generated)​

Purpose: Igra L2 lab, not the L1 core: check local dev readiness for an L2 profile (Igra by default): workspace, artifacts, query store, SDK import, dev server and the L2 JSON-RPC; the Kaspa node is not checked experimental

Options​

  • --profile <name> (Default: igra): L2 network profile name
  • --rpc-url <url>: Explicit Igra RPC URL to check
  • --account <name>: EVM account that must exist in hardkas.config (its balance is not checked)
  • --timeout <ms> (Default: 3000): RPC timeout in milliseconds
  • --json: Output as JSON
  • --release: Run strict release gate checks

hardkas dev accounts list​

Synopsis (Generated)​

Purpose: List dev accounts


hardkas dev accounts reveal​

Synopsis (Generated)​

Purpose: Reveal private key for a dev account (simnet only)

Arguments​

  • <alias> (Required):

hardkas dev accounts export​

Synopsis (Generated)​

Purpose: Export a dev account for a wallet's manual import; format: kasware

Arguments​

  • <format> (Required):

Options​

  • --alias <alias> (Default: alice): Alias to export

hardkas dev tx send​

Synopsis (Generated)​

Purpose: Quick send transaction

Options​

  • --from <accountOrAddress>: Sender alias
  • --to <address>: Recipient address
  • --amount <kas>: Amount in KAS
  • --workspace <path>: Override workspace root directory

hardkas dev tx generate​

Synopsis (Generated)​

Purpose: Generate simulated load/batch transactions stable

Options​

  • --count <number>: Number of transactions to generate
  • --network <name> (Default: simulated): Network name
  • --workspace <path>: Override workspace root directory
  • --json (Default: false): Output as JSON

hardkas dev fixture generate​

Synopsis (Generated)​

Purpose: Generate mock fixtures for testing stable

Options​

  • --type <type>: Type of fixture (marketplace|dao|payroll|random)
  • --out <path>: Save fixture as JSON to this file
  • --json (Default: false): Output as JSON

hardkas dev last​

Synopsis (Generated)​

Purpose: Act on the latest transaction artifact of the workspace store

Options​

  • --inspect (Default: false): Print the latest artifact
  • --replay (Default: false): Show the latest receipt, or verify the latest plan or signed transaction (no replay is run)
  • --explain (Default: false): Print the hardkas why command for the latest artifact
  • --workspace <path>: Override workspace root directory