Table of Contents

Class ArkadeArtifactParser

Namespace
NArk.Arkade.Program
Assembly
NArk.Arkade.dll

Parses an Arkade Program compiler artifact (JSON) into a typed ArkadeProgram. Mirrors the ts-sdk's parseArtifact — a pure structural conversion. It does not validate signer/timelock exclusivity, resolve $param placeholders, or compile anything to script bytes; those are later, separate steps.

public class ArkadeArtifactParser
Inheritance
ArkadeArtifactParser
Inherited Members

Methods

ParseArtifact(JsonObject)

Parse a full artifact document into an ArkadeProgram.

public ArkadeProgram ParseArtifact(JsonObject json)

Parameters

json JsonObject

Returns

ArkadeProgram

Exceptions

InvalidOperationException

The artifact is missing required fields, or its version is not SupportedVersion.