• cryptoginger29

Tracking and mapping the UTXO transactions of cardano

I wanted a way to create a visualization of the Cardano UTXO model, based on the actual Cardano blockchain, as this would create some more transparency to the not-so-black box of Cardano.

The overall goal is, as always, to show the capability and transparency of blockchains to the public so that the incentive will turn towards a more decentralized way of think of transactions and infrastructure.

Network terminology

Just to be clear on how I think about networks, also in the context of cardano networks. The usual way of thinking about networks and transaction is the following:

In this model we consider a person with something to transfer a node and the transaction it self the edge, and this is probably how most people think of accounting.

:However, there is a another way called UTXO, that blockchains such as Bitcoin and Cardano utalize. Iam not going into the details of UTXO, but I'll suggest watching this video:

The main thing to take away from it in the context of the post is that transactions are now considered nodes and the UTXO transformation itself is the edge.

Building the network graph

The way I built the script was based on the postgreSQL cardano-db-sync I described how I setup in a previous post.

The cardano-db-sunc contained all the transactions done on the cardano networks, and I was then able to create a mapping script that created the directed acyclic graph showed below:


With the script in place I was able to map out the entire history of the UTXO model, given enough time, that had gone before the specific transaction to happen. This enables the tracking of all transactions and is a strong case for the absolute transparency of the Cardano blockchain. The next step is to create a way of making this public.

Follow the website to keep your self updated!

21 views0 comments

Recent Posts

See All