DOI: 10.7910/dvn/osor3p
title: Replication Data for: Uniswap Daily Transaction Indices by Network

description: Decentralized Finance (DeFi) is revolutionizing traditional financial services by enabling direct, intermediary-free transactions, thereby generating a substantial volume of open-source transaction data. This evolving DeFi landscape is particularly influenced by the emergence of Layer 2 (L2) solutions, which are poised to enhance network efficiency and scalability significantly, surpassing the existing capabilities of Layer 1 (L1) infrastructures. However, the detailed impact of these L2 solutions has been somewhat obscured due to a dearth of transaction data indices that can provide in-depth economic insights for empirical research. This study seeks to address this critical gap by conducting a comprehensive analysis of raw transactions sourced from Uniswap, a central decentralized exchange (DEX) within the DeFi ecosystem. The dataset encompasses an extensive collection of over 50 million transactions from both L1 and L2 networks. Additionally, we have curated a wide-ranging repository of daily indices derived from transaction trading data across prominent blockchain networks, including Ethereum, Optimism, Arbitrum, and Polygon. These indices shed light on crucial network dynamics, such as adoption trends, evaluations of scalability, decentralization metrics, wealth distribution patterns, and other key aspects of the DeFi landscape. This rich dataset serves as an invaluable tool, enabling researchers to dissect the complex interplay between DeFi and Layer 2 solutions, thus enhancing our collective understanding of this rapidly evolving ecosystem. Its notable contribution to the data science pipeline includes the implementation of a flexible, open-source Python framework, enabling the dynamic calculation of decentralization indices, customizable to specific research requirements. This adaptability makes the dataset particularly suitable for advanced machine learning applications, including deep learning, thereby solidifying its role as a critical asset in shaping Blockchain as the foundational infrastructure for the intelligent Web3 ecosystem.
GitHub: https://github.com/sunshineluyao/uniswap
description: The raw.zip file encompasses the extracted data as detailed in the provided screenshots, including the Transaction Dataset, Uniswap Day Dataset, and Liquidity Pool Dataset. This data spans various dimensions of blockchain transactions, covering transaction hashes, timestamps, token data, and amounts in different currencies, along with daily aggregated statistics like volume and transaction count. The datasets are sourced from prominent blockchain networks such as Ethereum, Polygon, Arbitrum, and Optimism within specified date ranges.

In addition to the raw data, there are files containing calculated daily indices derived from the raw.zip data. These indices include decentralization measures such as Entropy, Gini coefficient, Herfindahl-Hirschman Index (HHI), and the Nakamoto coefficient, alongside comprehensive transaction volume statistics featuring metrics like minimum, maximum, sum, standard deviation, mean, median, and quantiles. The names of these data files are prefixed with network identifiers: "Eth_" for Ethereum, "Polygon_" for Polygon, "Arb_" for Arbitrum, and "Opt_" for Optimism, followed by the name of the index or statistic (e.g., Eth_Entropy.csv, Polygon_gini.csv, Arb_HHI.csv, Opt_nakamoto.csv, Eth_volume.csv). These prefixes facilitate the organization and identification of the files, ensuring that users can easily navigate and analyze the data relevant to each blockchain network.