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