hardkas silver
hardkas silver doctor
Synopsis (Generated)
Purpose: Report whether the pinned toolchains and the canonical node are ready
Options
--json(Default:false): Output as JSON
hardkas silver compile
Synopsis (Generated)
Purpose: Compile SilverScript with the managed silverc v1.0.0 and record its provenance
Arguments
<source>(Required):
Options
--args <file>: Constructor arguments: JSON list of {kind, value}--out <file>: Record path (default .hardkas/artifacts/silver/)--json(Default:false): Output as JSON
hardkas silver inspect
Synopsis (Generated)
Purpose: Show a SilverScript v1 compile record
Arguments
<record>(Required):
Options
--json(Default:false): Output as JSON
hardkas silver verify
Synopsis (Generated)
Purpose: Reproduce a compile record with the managed silverc (byte-for-byte)
Arguments
<record>(Required):
Options
--args <file>: The constructor arguments the record was compiled with--json(Default:false): Output as JSON
hardkas silver test
Synopsis (Generated)
Purpose: Run a compiled contract's tests on the official SilverScript runner experimental (script engine on scenario transactions; not transaction validity)
Arguments
<record>(Required):
Options
--tests <file>: Runner test file (.test.json); a sig argument may be {"signature":"<account>"}--args <file>: The constructor arguments the record was compiled with--contract <name>: Contract, when the artifact has several--runner <path>: SilverScript runner (cli-debugger) binary (default: $HARDKAS_SILVER_RUNNER)--out <file>: Record path (default .hardkas/artifacts/silver-vm/)--json(Default:false): Output as JSON
hardkas silver deploy
Synopsis (Generated)
Purpose: Fund a compiled contract's P2SH output on the canonical localnet
Arguments
<record>(Required):
Options
--from <account>: Funding account (local key)--amount <kas>: Value locked in the contract--contract <name>: Contract, when the artifact has several--network <network>(Default:simnet): Network--wait(Default:false): Wait for confirmation--timeout <seconds>(Default:120): Confirmation timeout--json(Default:false): Output as JSON
hardkas silver spend
Synopsis (Generated)
Purpose: Spend a deployed contract output through one of its entries
Arguments
<deploy-record>(Required):
Options
--entry <name>: Entry to call--to <address>: Recipient of the whole value (minus the fee)--args <file>: Entry arguments: JSON list of {kind, value} and {"kind":"signature","account":"<name>"}--sequence <n>: Input sequence (relative locks)--sig-op-count <n>: Declared signature operations (default: the signature arguments, at least 1)--wait(Default:false): Wait for confirmation--timeout <seconds>(Default:120): Confirmation timeout--json(Default:false): Output as JSON
hardkas silver covenant genesis
Synopsis (Generated)
Purpose: Create a covenant: bind a new output to the covenant id the SDK derives
Arguments
<record>(Required):
Options
--from <account>: Funding account (local key)--amount <kas>: Value locked in the covenant--compute-budget <n>: Compute budget of the funding input (explicit: no estimator exists)--fee <sompi>: Explicit fee (required when --compute-budget > 0: the SDK does not price v1 budgets)--contract <name>: Contract, when the artifact has several--wait(Default:false): Wait for confirmation and the node's covenant id--timeout <seconds>(Default:120): Confirmation timeout--json(Default:false): Output as JSON
hardkas silver covenant transition
Synopsis (Generated)
Purpose: Advance a 1:1 auth-bound covenant: successor state compiled by silverc, same covenant id
Arguments
<covenant-record>(Required):
Options
--policy <name>: Covenant declaration (policy function) to call--constructor-args <file>: Constructor arguments of the current state (checked against the record)--state-map <json>: State field -> constructor parameter index, e.g. {"value":0}--next-state <file>: Successor state: JSON object of {kind, value} per field--compute-budget <n>: Compute budget of the covenant input (explicit: no estimator exists)--args <file>: Entry arguments: JSON list of {kind, value}--fee <sompi>: Explicit fee (required when --compute-budget > 0)--emit-args <file>: Write the successor's constructor arguments here (for the next transition)--wait(Default:false): Wait for confirmation and check the lineage--timeout <seconds>(Default:120): Confirmation timeout--json(Default:false): Output as JSON