Skip to main content

Petabyte-Scale On-Chain Insights: Real-Time Intelligence for the Next-Gen Financial Backbone

Summary

  • Petabyte-Scale Blockchain Data: CipherOwl built a near real-time, multi-chain data lakehouse processing billions of on-chain transactions for anti-money laundering monitoring.
  • Open-Source Data Infrastructure: Combine ChainStorage (Coinbase OSS), Apache Spark, Arrow, Delta Lake, and Kafka for robust blockchain data ingestion, processing, and efficient serialization.
  • AI-Powered AML Analytics: Deploy machine learning and AI agents for continuous data curation and near real-time insights, tackling complex on-chain compliance challenges at petabyte scale.

Petabyte-Scale On-Chain Insights: Real-Time Intelligence for the Next-Gen Financial Backbone

Watch: Petabyte-Scale On-Chain Insights: Real-Time Intelligence for the Next-Gen Financial Backbone
Talk by Leo Liang, CEO / coFounder , CipherOwl Inc
We’ll explore how CipherOwl Inc. constructed a near real-time, multi-chain data lakehouse to power anti-money laundering (AML) monitoring at a petabyte scale. We will walk through the end-to-end architecture, which integrates cutting-edge open-source technologies and AI-driven analytics to handle massive on-chain data volumes seamlessly. Off-chain intelligence complements this to meet rigorous AML requirements. At the core of our solution is ChainStorage, an OSS started by Coinbase that provides robust blockchain data ingestion and block-level serving. We enhanced it with Apache Spark™ and Arrow™, coupled for high-throughput processing and efficient data serialization, backed by Delta Lake and Kafka. For the serving layer, we employ StarRocks to deliver lightning-fast SQL analytics over vast datasets. Finally, our system incorporates machine learning and AI agents for continuous data curation and near real-time insights, which are crucial for tackling on-chain AML challenges.
Here's more to explore:
Databricks named a leader in the 2024 Gartner® Magic Quadrant™for Cloud DBMS: https://www.databricks.com/resources/analyst-paper/databricks-named-leader-by-gartner
An open, unified approach to your data, BI and AI workloads: https://www.databricks.com/product/databricks-sql
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements

FAQs

What is the architecture for CipherOwl's on-chain analytics platform?

CipherOwl's platform integrates ChainStorage (for blockchain data ingestion), Apache Spark and Arrow (for processing), Delta Lake (for storage), and Kafka (for streaming). This open-source stack handles multi-chain data at petabyte scale near real-time.

Why is on-chain data analysis important for financial compliance?

Stablecoins now process more value than Visa globally, and blockchain activity continues growing at scale. Understanding on-chain data is critical for detecting money laundering, fraud, and other illicit financial activity in this new financial infrastructure.

How do AI agents help with AML compliance?

AI agents continuously curate and analyze on-chain data to identify suspicious patterns and transactions. This automation enables near real-time detection of compliance violations and money laundering attempts across multiple blockchains.

What is the scale of the on-chain ecosystem mentioned?

The crypto market has grown 900x in a decade to $3.4 trillion. Projections show it will become a $30 trillion ecosystem by 2030. On-chain analytics at this scale is critical for compliance, security, and financial infrastructure integrity.

Full transcript

Hi everyone. Thanks for having me here. Um, let me try to get started. Um, so today we are talking about pedabyte scales on chain inside. We actually getting from the block to the insides in minutes. Um before we start, let's actually getting into two number tell incredible stories. 10 years ago, the entire crypto market was worth around $3. 8 billion. Um do you see the mouse cursor? Sorry. You guys see that? 3. 8 billion dollars on the left hand side there.
Right. And today, as you can see, we are looking for the capitalization of the whole market $3. 4 4 trillion. That's 900fold increase in a single decades. But this isn't just a number on the chart. It is a fundamental shift of the financial infrastructures. To put that into the perspective, one part of the crypto ecosystem, stable coins already actually move more value than the payment giants like Visa. Even if the growth rate is halfed in the coming in the coming years, the projection actually shows it will become a 30 trillion ecosystem by 2030 with 10fold the increase of activity as well.
So that's a fairly big number. Um here what we are actually witnessing it is a birth of a new financial backbone. We actually called that onchain. Understanding the data flowing through these backbones is the entire focus of the discussion today. So when we talking about multi- trillion dollars market isn't just a theoretical, it is already making the massive impact um to the world. Let's look at the evidence. This chart actually shows what happens over the past seven years.
The dark bar representing the transaction volume of stable coins. The digital dollar move on the blockchains. The green bar represent the visa payment volume. Um take it for granted the dark bar it is a stable coin. It is not just a payment but also in increase uh uh include the investment activity as well. You can regardless you can see that there's exposure explosive growth but the real headline is is not just about the growth it actually shows is the arrival of a new kind of financial backbones. one that always on programmable and borderless where the money actually move at the speed of software which is speed of light in my opinion it is happening in the incredible scale as you can see stable coin settle more value than visas u um uh processing around the worldwide this is the stable coin is the same kind of money it's just new and move on the much more efficient railing on on on trained.
But that leads to a critical questions highlight here with all these value emotions. Is that a radar? Is that watcher actually for this new boom? That's the challenge we need to address. So is that a radar that actually watching this? To be honest for the most of the time it doesn't exist. And this lack of the visibility is precisely why in my personal opinion the next financial crisis could be happening on train. Now for anyone that new to the space when I say on train there's no hyphen in between I am referring the transaction of the data that happening and store direct on the public ledgers and make it immutable and transparent.
It is the data is all public but it is incredibly complex. The scale is just the first part of the problem and we are also on the trajectories for at least 10x of the increase in the onchain activity and potentially another 20 trillions additional uh dollars of the value that tokenized on the financial assets by 2030 as well. According to chachd I did that yesterday they aggregated top public blockchains ethereum soler bitcoins l all these evml2 tongs sway and apptosa etc.
You are looking on the theoretical upbound limit. It is about 800k transaction per second. At the peak time the data representing one to three um gigabits per second of the structural data getting into the backbone to put that into the perspective as well on the black Friday visa on average is doing 9,000 transaction per second. So for this new financial backbone as you can see it is faster much more functions and give you a lot of the datas and the regulator and the financial data gurus already actually putting their eyes on it they take a close look on it as you can see that like um there will be some new regulation coming up the stable coin which is the genus act if you Google that um that's just coming out there and this is a clear signal that the date of the light oversight coming to the end.
So in conclusions, we have a massive high speeded and complex data environment with trillions of dollar estic and that creates perfect storm for risk and other everything we have shown so far point to one paradox. There have never been more transparency. Every single transaction is on chain. Every liquidity pool on chain, every action on chain, every uh uh smart contract actually on chain. You can see that in real time and yet decision maker are flying by.
Um some of my friend they are chief risk officer they actually telling me about one thing that very classic they say we see everything but we know nothing. If we actually try to put this differently right um I try to summarize a little bit we are being drawn in the raw transaction data but starting the buting for the things that actually matters. For example, some of the question actually asking is if a particular account or wallet actually dealing with the illicit actors, who are our customer exposing to, are they actually sending the money to some some places that shouldn't be allowed it and why and also like which defy protocol it is being leveraged by the uh uh uh by the creditable user etc.
Right? So over that the flat versus f my problem is exactly what cipher leveraging um data break to solve. Let's unpack that one by one. Um cyh you can actually consider cyh as a native intelligent layer that sit directly on top of every public major blockchain datas. We believe in data is a core and our entire platform is designed from ground up and turn the raw data into the decisive advantage. We deliver speed. We turn the raw blocks into the critical insights under five minutes.
We operate at massive scale the pabyte of the datas and just give you one thing one one one example for that we we we score three billions plus um addresses a day multiple times. The whole world population is around 7 billion uh uh populations. Um and it's pretty sophisticated. We run advanced algorithm like clustering and then we try to group a bunch of the adjust together and then we divide that as a actor and then we uh uh we run algorithm on top and we also provide full chain coverage across all the major networks uh bitcoin ethereum solers uh apptos etc.
In short we provide the radar we provide obsibility to understanding these new financial rails in near real time. Okay. Um so we explained why we buil and what uh what we do and now let's get to the rest of the talk the core part of the talk. Let's um I want to show you exactly how we build um these intelligent layers with data brick. First we start with the data foundations injection transformation and the data governance.
And second we will look into the experiment development and intelligent flow to actually build the core stuff. And finally we will get into the border ecosystem how we leverage and boosting with the tools. So let's get started. So wow that's complicated. Um so let's look at the architecture diagram that powering everything here. Um our core philosophy is pretty simple. Intelligent equal to data multiple AI. And this diagram shows how u um how we are making the equation realities.
Um the first component actually for that is the injections. It started with the raw data. We pull the data from the note farm which is you can consider that as a um um um blockchain software itself. We actually pull that and using pull pull this uh data the raw data into our system trans the transformer. Um both of them are open source that's a injection system and store this data actually land on the data brick del data lakeink where it refined as a raw as a bronze table and then slowly getting into the silver table which is the refinement itself um and on the intelligence that's the store and on the on the intelligence um the clean data actually feed into the AI and the model and into the uh um different series database etc.
So that to actually building um um the thing that for the vertical business itself and finally the intelligence layer uh being served as a API and the UI and then getting into the application itself the data break as you can see that the data brick lakehouse itself is as a core part of our entire stack and let's actually dive in. So let's double click on the first steps for the injection itself. To build a true intelligent layer, we have to master two very different and challenging data stream on train and offchain.
First let's take a look at the onchain data stream here. Um we have handled many many different networks. Each of them have its own um protocol standards and have its own finality as well. So some of the network actually producing a block every 200 ms. Some of them produce every 50 minute but they have different kind of finality um uh uh characteristic as well. We also actually manage the technology bottlenecket. Um we also need to actually go around the technology bottlenecket which is reading the data from the RBC and then the second vertical for that is the offchain data which which provide a critical context actually for us to understand what happened on train.
This data is not too big. It is probably a couple hundred gig of the data and it actually come to mini batch every day. The challenge for this data is this set of data is incredibly noisy and then some of them coming in the struct uh uh the the structural and some of them it is just purely images and and uh maybe screenshots. And the fundamental challenge is to build the robust injust system to handle both of these stream and put that into our system continiculously in the high reliable way.
Um we now actually focus on the um on the on train system here. How we actually solve the problem for that? We we use a combination of the powerful open source tooling and the data brick platform together for the initial data um extraction and the injection. We use train storage. This is a mature enterprisegrade open-source project that power the crypto data infra for both cyho and coinbase and we are major contributor for that.
It give us the 1,00x of the performance especially for the readout speed that allowed us to read and process data in an incredible speed and also it is pretty data storage efficienc. The real business impact it is the agility itself. enable us to ingest the whole blockchain to get the blockchain ready in two weeks compared the traditional method is in months and once the data actually floating into the delta table and then we manage our pipeline in the decoratively no chron job we do not have any chron job and just the u del d delta lake uh uh table here and the result is a contiguous streams of the schema consistent bronze data they're all on train data they are ready for the refinement itself And once we have the bronze data, we now talk about the transformation the T the injection actually getting the data into the lighthouse.
The transformation actually turning them into something that every analysis want to actually can query about for our onrain data. We use thing called transformer v2. Essentially it is a um spark connectors. Its job is to getting the data into um our um getting the data from chain storage which is uh uh per blockchain specific format and convert them into the standard blockchain format that we want to do that comparing to vi1 um we use a special trick here we use a proton um data break proton for as a compute because it's elastic it's very convenient and for the v2 we run uh the transformer as a psychar within the proton box that actually give us 5x of the ROI 5x better performance comparing to a RPC service itself for off-rain data the data size is not big but the challenge for that is it's incredibly noisy and then we need to actually merge them into a unify this schema unify this semantic layer as well for here we use data brick AI and plus I think almost all the uh major vendors models the LLM model we actually train them into a workflow and then we purify the data we actually get them in place into a high quality data stream this transformation step is what creates a clean data foundation required to build true in true onchain intelligence so now we have the clean standardized data in our lakehouse we can actually move move to more excited part build the intelligent itself.
This is what enable our team to iterate quick and safely which is store which is strong win for our developer experience. Our team actually work in um data break notebook enhanced with AI itself to develop complex enrichment like wallet clustering risk score as well as alpha digging etc. So the game changer for this part is we can always actually test the data against the full data sets. If you really look into the um the table itself um we pretty much to reduce the uh um the work from 20 day actually to 20day thanks for the elastic uh nature of the photon itself.
Uh we can actually run a lot of tests at the same time and then in parallel that actually give us the um the opportunity to experiment experiment fairly. So when we have a model that actually works and then we get to the back testing and we need to actually making sure it is safe and sound we use a notebook to uh to drop promotion pipeline using circle CI. You can see that a GitHub push and then we get to the circle CI to execute the job and then get that into the data brick bundle and get the job actually working in 15 minutes itself.
Once the model live and then we continue to actually monitor by bunch of the data brick um uh uh um uh monitoring job there to ensure the data quality is fine and we also actually have automate scorecard for the driven alert as well. So that's how we actually getting the uh getting the data into the production and continue to monitor them. We are we are a data business. We are a data person operating at this scale require more than just speed.
It require a platform that everyone can trust. For us robust governance it is the key here. First we have uh uh we use quite a lot of the we we have the control access with we are the global team. we need to have a different permissions and we use granular ACL the data governant part on the unity catalog here. Um along with that we have the role row level security and column mask etc. And seconds we manage the life cycle of our data.
We have all the expiration day. We actually delete the dev test datas automatically and some of the sensitive data automatically as well. And then the third part for that is we lock everything. We actually have the uh we ensure the audability end to end data lineage and for uh for the whole for the whole data pipeline itself. that will help us to answer the question who, when access what and the last but not least we handle the train safely and the delta league actually provide version table as well and this version table allow us not to break the downstream.
So this comprehensive approach allowed us to implement the data government actually fairly fast and then we have the soft two type two done in say eight months as a startup that's the eco that's for the ecos that's for the ecosystem part right to get the best intelligence we use the best tool our strategy for that is putting all the data on one leg and we use star rock to serve the data and we use public graph on top of the lake to actually answer the graph related problem and then we use duct DB as a embedded database embedded into our workflow that will asserate a lot of the execution for that and this ability use the right tool for any questions that on the single data source is a truth power that actually give us for the delta lake I think that's the last bit um business impact so what is the business impact for that it boils down to the key wins the agilityities and the compliance for the first for the agility we cut the time by 90%.
And then we can actually move the speed of the market and then the second part for that is we can restore um three billions of addresses every day multiple times and that give us a incredible uh uh scale as well. So the third part that's a uh we are a data business we need to actually make sure that we have the compliance in place and then with the delta lake unit unit catalog that make the things actually much easier.
So this combine the speed scale and the trust this is how we as a startup to win and yeah thanks a lot for that and that's the that that's the talk and then how we actually build the intelligent layers for the future finance. Yeah. Thanks.

Learn more about the Databricks Data and AI platform.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.