Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to main content

HardKAS documentation

HardKAS is an open-source, local-first development framework for Kaspa L1: a CLI and a TypeScript SDK to plan, send and verify transactions and SilverScript contracts on your own simnet node. It plans, signs, sends, observes and verifies transactions as files you can check afterwards (artifacts), on a simulated ledger, on a rusty-kaspad simnet node of your own, or on testnet-10 behind an explicit opt-in.

warning

Mainnet is locked down: no keys, no connection, no broadcast. HardKAS verifies a mainnet artifact offline only, and no flag or setting changes that.

Why it is built this way​

Sending a transaction straight to a node and hoping it lands (request → mutation → hope) leaves little to check when something goes wrong. HardKAS splits the lifecycle into steps, and each step writes an artifact with a content hash and a link to the step before it (intent → artifact → verify → execute → replay):

  1. hardkas tx plan builds the transaction with the official kaspa-wasm Generator and writes a plan. No key is used.
  2. hardkas artifact inspect and hardkas artifact verify check the plan before any key touches it.
  3. hardkas tx sign writes a signed transaction linked to its plan.
  4. hardkas tx send executes it: the simulated ledger writes a TxReceipt; a node send writes a TxSubmission, what the node answered at that instant.
  5. hardkas tx wait and hardkas tx status derive the state from what the node was seen to do, hardkas artifact verify --network checks the artifact against the node, and hardkas replay verify replays a simulated run.

What HardKAS is, and is not​

It is:

  • A CLI (@hardkas/cli) and a TypeScript SDK (@hardkas/sdk) that work on the same workspace: a hardkas.config.ts and a .hardkas/ folder.
  • An artifact store: plans, signed transactions, receipts, submissions and observations, each identified by its content hash, with its lineage.
  • Three places to run the same lifecycle: the simulated ledger (no node, never network evidence), a simnet node in Docker (rusty-kaspad v2.1.0, pinned by digest), and testnet-10 for teams that hold test funds (experimental).
  • SilverScript (the pinned silverc v1.0.0) and Toccata covenants on a node, plus experimental ZK and KCC-20 tools.
  • Test helpers for vitest (@hardkas/testing).

It is not:

  • A Kaspa node. It implements no consensus: the node decides whether a transaction is valid.
  • A wallet or custody software. Its keys are development keys.
  • A bridge. It makes no deposits, withdrawals or custody, trustless or otherwise.
  • Evidence when simulated. The simulated ledger runs no Kaspa script; only a real node's answer counts.

The claim values of this release are generated from the code: Release Claims.

Install​

Getting started​

Guides​

Concepts​

Reference​

Help​

Status and versions​

docs/internal/ holds audit records kept locally; it is not user documentation.