Static
fromCreates an SDL instance from a YAML string.
The YAML string containing the SDL definition.
Optional
version: NetworkVersion = "beta2"The SDL version (beta2 or beta3).
Optional
networkId: NetworkId = MAINNET_IDThe network ID to validate against.
An instance of the SDL class.
Static
validateStatic
validateGPUStatic
validateValidates the storage configuration for a given service.
The name of the service.
Optional
storage: v2ResourceStorage | v2ResourceStorageArrayThe storage resource configuration.
SDL (Stack Definition Language) parser and validator Handles parsing and validation of Akash deployment manifests
Example