Not logged in.

Contribution Details

Type Master's Thesis
Scope Discipline-based scholarship
Title Inter-Chain Data Collection Pipeline For The Polkadot Ecosystem
Organization Unit
Authors
  • Florian Rüegsegger
Supervisors
  • Claudio Tessone
  • Matija Piskorec
Language
  • English
Institution University of Zurich
Faculty Faculty of Business, Economics and Informatics
Date 2023
Abstract Text This thesis aims to increase the capabilities of the Polkadot Data Preprocessing Pipeline of the Blockchain Observatory (BCO), a project of the Blockchain and Distributed Ledger Technologies Group (BDLT) at University of Zurich (UZH). This pipeline currently collects data of the Polkadot Relay chain. With the recent launch of Parachains, the Polkadot ecosystem expanded considerably. The aim of this thesis is to expand the pipeline to two Parachains, namely Moonbeam, a Ethereum Virtual Machine (EVM) compatible Parachain, and Interlay, a bridge to Bitcoin (BTC). Furthermore, Cross-Consensus Message Transfer (XCM) between the chains should also be handled. The new Pipelines consist of an archive node, a producer module and a preprocessing module per chain. The node provides raw data, the producer stores the raw data, while making sure the data is valid and checking and correcting the database integrity. The preprocessor finally preprocesses the raw data received, making use of the node for storage queries and web3 interactions in the case of Moonbeam. The data collected focuses on historical balance and transfer data, staking and reward data and data concerning the specific Parachains, such as ERC-20 Tokens on Moonbeam and vaults on Interlay. A part of the thesis was dedicated to the optimization of the pipeline to increase the speed of data collection by restructuring the preprocessor to only use batched queries per block processed. The memory footprint was reduced by removing redundant data. Finally, some queries and visualization are showcased to highlight interesting aspects of the data and to demonstrate the capabilities of the preprocessor, as well as providing examples.
PDF File Download
Export BibTeX