CircomJS

Class CircomJS is responsible for parsing and validating the circuit config file and creating Circuit instances.

It exposes the following two functions:

  • getCIDs(): returns an array of all circuit IDs as declared in the circuit config file.

  • getCircuit(cID): returns a Circuit instance for the corresponding cID { circuit ID. }

Last updated