opc static method

Future<List<Bytes>> opc(
  1. List<String> args
)

Compile a clvm script. convert to serialezed bytes

Implementation

static Future<List<Bytes>> opc(List<String> args) async {
  final result = await api.cmdProgramOpc(args: args);
  return result.map((e) => Bytes.fromHex(e)).toList();
}