StevenJingfeng commited on
Commit
7b68057
·
verified ·
1 Parent(s): cdffe8f

Update method/Readme.md

Browse files
Files changed (1) hide show
  1. method/Readme.md +82 -0
method/Readme.md CHANGED
@@ -16,6 +16,88 @@ Our analysis indicates that among the four machine learning models evaluated, DN
16
  ### Data
17
  #### On-chain data
18
  We utilize Google BigQuery to extract Ethereum's blockchain data, including timestamps, block numbers, hashes, parent hashes, transactions, etc. We retain only the pertinent features to predict gas usage in forthcoming blocks: timestamp, gas limit, gas used, and base fee. We exclude other variables, such as transaction numbers, despite their high correlation with gas usage, based on our specific research focus. Furthermore, our study acknowledges the impact of token airdrops on transaction engagement levels for recipients and non-recipients. According to Guo\cite{guo2023spillover}, token airdrops can significantly influence engagement, resulting in pronounced gas usage volatility and subsequent base fee fluctuations. Consequently, our analysis is bifurcated into two distinct periods. The first period examines the ARB token airdrop, the most substantial airdrop event in 2023, which occurred from March 21 to April 1 and comprised 78,290 blocks. The second period, devoid of significant fungible token airdrop activities, extends from June 1, 2023, to July 1, 2023, encompassing 213,244 blocks. This temporal delineation allows for a comprehensive analysis of the effects of significant airdrop events on Ethereum's gas dynamics.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
  #### Off-chain data
21
  Another dataset is users' discussion text from Discord. Discord hosts vibrant crypto discussions ranging from market analysis to technical debates, yet remains underexplored for sentiment analysis, unlike platforms like Twitter and Reddit, where extensive studies in cryptocurrency sentiment research exist \cite{kraaijeveld2020predictive,mohapatra2019kryptooracle,khan2022business}. We focus on critical communities such as Binance, Uniswap, and the Ethereum Dev channels on Discord. These are the communities for the largest centralized exchange, decentralized exchanges, and Ethereum developers, respectively. Analyzing sentiments from these communities, which influence Ethereum's network activity and gas usage through trading dynamics and developer engagement, provides crucial insights for predicting future gas demand and formulating effective network management strategies. The discussion texts are queries from Discord using the DiscordChatExporter, an open-source tool on GitHub.
 
16
  ### Data
17
  #### On-chain data
18
  We utilize Google BigQuery to extract Ethereum's blockchain data, including timestamps, block numbers, hashes, parent hashes, transactions, etc. We retain only the pertinent features to predict gas usage in forthcoming blocks: timestamp, gas limit, gas used, and base fee. We exclude other variables, such as transaction numbers, despite their high correlation with gas usage, based on our specific research focus. Furthermore, our study acknowledges the impact of token airdrops on transaction engagement levels for recipients and non-recipients. According to Guo\cite{guo2023spillover}, token airdrops can significantly influence engagement, resulting in pronounced gas usage volatility and subsequent base fee fluctuations. Consequently, our analysis is bifurcated into two distinct periods. The first period examines the ARB token airdrop, the most substantial airdrop event in 2023, which occurred from March 21 to April 1 and comprised 78,290 blocks. The second period, devoid of significant fungible token airdrop activities, extends from June 1, 2023, to July 1, 2023, encompassing 213,244 blocks. This temporal delineation allows for a comprehensive analysis of the effects of significant airdrop events on Ethereum's gas dynamics.
19
+ # Operational Measures
20
+
21
+ ## Variables
22
+ <!DOCTYPE html>
23
+ <html lang="en">
24
+ <head>
25
+ <meta charset="UTF-8">
26
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
27
+
28
+
29
+
30
+
31
+
32
+ </head>
33
+ <body>
34
+
35
+ <table>
36
+ <caption>Variable Description</caption>
37
+ <tr>
38
+ <th>Variable Name</th>
39
+ <th>Description</th>
40
+ <th>Unit</th>
41
+ <th>Type</th>
42
+ </tr>
43
+ <tr>
44
+ <td>timestamp</td>
45
+ <td>Recording of the time of each block</td>
46
+ <td></td>
47
+ <td>String</td>
48
+ </tr>
49
+ <tr>
50
+ <td>number</td>
51
+ <td>The number of blocks on the chain</td>
52
+ <td></td>
53
+ <td>Numeric</td>
54
+ </tr>
55
+ <tr>
56
+ <td>gas_used</td>
57
+ <td>Actual Gas Used</td>
58
+ <td>Gwei</td>
59
+ <td>Numeric</td>
60
+ </tr>
61
+ <tr>
62
+ <td>gas_limit</td>
63
+ <td>The maximum allowed gas per block</td>
64
+ <td>Gwei</td>
65
+ <td>Numeric</td>
66
+ </tr>
67
+ <tr>
68
+ <td>base_fee_per_gas</td>
69
+ <td>The base fee set for each block</td>
70
+ <td>Ether</td>
71
+ <td>Numeric</td>
72
+ </tr>
73
+ <tr>
74
+ <td>gas_fraction</td>
75
+ <td>Fraction between Gas Used and Gas Limit</td>
76
+ <td></td>
77
+ <td>Numeric</td>
78
+ </tr>
79
+ <tr>
80
+ <td>gas_target</td>
81
+ <td>The optimal gas used for each block</td>
82
+ <td></td>
83
+ <td>Numeric</td>
84
+ </tr>
85
+ <tr>
86
+ <td>Y</td>
87
+ <td>Normalized Gas Used</td>
88
+ <td></td>
89
+ <td>Numeric</td>
90
+ </tr>
91
+ <tr>
92
+ <td>$Y_t$</td>
93
+ <td>Response variable equals to the gas_fraction</td>
94
+ <td></td>
95
+ <td>Numeric</td>
96
+ </tr>
97
+ </table>
98
+
99
+ </body>
100
+ </html>
101
 
102
  #### Off-chain data
103
  Another dataset is users' discussion text from Discord. Discord hosts vibrant crypto discussions ranging from market analysis to technical debates, yet remains underexplored for sentiment analysis, unlike platforms like Twitter and Reddit, where extensive studies in cryptocurrency sentiment research exist \cite{kraaijeveld2020predictive,mohapatra2019kryptooracle,khan2022business}. We focus on critical communities such as Binance, Uniswap, and the Ethereum Dev channels on Discord. These are the communities for the largest centralized exchange, decentralized exchanges, and Ethereum developers, respectively. Analyzing sentiments from these communities, which influence Ethereum's network activity and gas usage through trading dynamics and developer engagement, provides crucial insights for predicting future gas demand and formulating effective network management strategies. The discussion texts are queries from Discord using the DiscordChatExporter, an open-source tool on GitHub.