Kdb+ for Factom Blockchain application

Kdb+ and Factom: Securing data on the blockchain with qfactom

13 Sep 2017 | , , , ,
Share on:

By Jeremy Lucid

Blockchain applications are proliferating in the financial services industry and Kx technology is increasingly being used in these systems to provide high-speed data analytics, like by the Bitcoin Mercantile Exchange (BitMEX) and by financial technology firm Cobalt DL.

One such blockchain application, which kdb+ can readily integrate with for the purpose of securing data records, is Factom.  Factom (protocol) is an open-source project, developed by the Factom Foundation, which allows anyone to publish data to the Factom blockchain. In doing so, users can create their own immutable ledgers to store arbitrary records, thus extending the technology beyond the domain of digital currencies. To date, use cases include ledgers to store land entitlement records, mortgage records, IoT data and health records.

All data entries made to Factom are ordered into chains and time stamped by the Factom Network. Every ten minutes  these entries are combined to form a Merkle Tree, whose root is then published to the Bitcoin blockchain. By storing the Merkle Root within Bitcoin (see anchoring), Factom leverages the security of Bitcoin to render its own chain entries immutable. With this approach, Factom creates a scalable data layer solution on top of Bitcoin without bloating the blockchain, see whitepaper.

By combining the speed and scalability of kdb+, with the security and scalability of Factom, millions of records can be secured and validated quickly and safely.

qfactom, is a kdb+ wrapper library designed to interact with the Factom blockchain via its client and wallet applications.

The library provides convenient functions to create, publish data to, and read data from, Factom chains for the purpose of creating immutable audit trails and validating data.

This wiki pages demonstrate all major functionality.  Examples include: (1) a mock IoT device which creates a Factom chain to secure all the data records it publishes; (2) a q process which extracts the IoT chain entries for data validation, and (3) a demonstration of how to extract market price data from existing Factom chains.

© 2018 Kx Systems
Kx® and kdb+ are registered trademarks of Kx Systems, Inc., a subsidiary of First Derivatives plc.


Kx Technology integrated into innovative blockchain trade processing platform

Kx technology integrated into innovative blockchain trade processing platform

8 May 2018 | , ,

By James Corcoran Blockchain, the technology underpinning cryptocurrencies, has widespread applications both within the financial industry and more broadly in other sectors.  Kx technology is known for extremely fast processing of large volumes of real-time data, and has been widely adopted by financial services institutions to get an edge when it comes to analytics and […]

Migrating a kdb+ historical database to the Amazon Cloud

18 Apr 2018 | , , ,

If you are currently migrating, or considering migrating an historical kdb+ database (HDB) to the Cloud, you will want to read this white paper on the kdb+ developers’ site which looks at popular storage solutions available within the Amazon Web Services (AWS) Cloud. The paper also compares and contrasts the performance of kdb+ on EC2 instances versus physical hardware.

Head of Products, Solutions and Innovation at Kx on Product Design and the Vision for the Future

16 Mar 2018 | , , ,

As the SVP of Products, Solutions and Innovation at Kx Systems, James Corcoran is part of a new chapter in software development at Kx. Since joining Kx parent First Derivatives as a financial engineer in 2009, James has worked around the world building enterprise systems at top global investment banks before moving to the Kx product team in London. James sat down with us recently to discuss his perspective on product design and our technology strategy for the future.