A regulatory compliant SQL CLR library for the American Petroleum Institute’s chapter 21.1 / 21.2 quantity transaction records, alarm records, event records, configuration records and calibration records. A complimentary library called DeviceSQL offers SQL Types that allow bidirectional static and dynamic mapping of EFM registers. All FlowSQL EFM data structures are hashed with LiteCoin as a singleton or hash set. Producers may stake claim on the stream in real time using LiteCoin and also set up smart contracts and nominations manually, AI Assisted or full on AI.