Bendford analysis of Ethereum transaction

Overview

Bendford analysis of Ethereum transaction

The python script script.py extract from already downloaded archive file the ethereum transaction. The values of those transactions will then been classified by the their first digit (e.g 10 will be classified under 1).

We will then show the distribution of the amounts starting by either 1, 2, 3, 4, 5, 6, 7, 8 and 9.

It will allow us to answer the question: does ethereum's transaction value follow bendford's law ?

Why ?

Because I have watched Netflix's Connected during lockdown.

Sample

The sample data is from Blockchair (https://gz.blockchair.com/ethereum/transactions/)

I have the data for several years, contact me if you are interested.

How to use it ?

You will need python3 installed.

$ python3 script.py

or

$ python3 script.py &> output.txt &

Result

This is the result on the sample data (first month of Ethereum running).

Total count : 80664

Transaction `value` first digit distribution

    1 : 29344 (36.38%)
    2 : 12022 (14.9%)
    3 : 7596 (9.42%)
    4 : 8631 (10.7%)
    5 : 7572 (9.39%)
    6 : 3698 (4.58%)
    7 : 3292 (4.08%)
    8 : 3041 (3.77%)
    9 : 5468 (6.78%)



Transaction `fee` first digit distribution

    1 : 75007 (92.99%)
    2 : 4134 (5.12%)
    3 : 541 (0.67%)
    4 : 215 (0.27%)
    5 : 297 (0.37%)
    6 : 344 (0.43%)
    7 : 35 (0.04%)
    8 : 32 (0.04%)
    9 : 59 (0.07%)



Transaction `gas_used` first digit distribution

    1 : 457 (0.57%)
    2 : 78306 (97.08%)
    3 : 370 (0.46%)
    4 : 282 (0.35%)
    5 : 866 (1.07%)
    6 : 36 (0.04%)
    7 : 20 (0.02%)
    8 : 59 (0.07%)
    9 : 268 (0.33%)

What's next ?

This script will be run against a bigger sample of data (from 2015 to 2020).

It could be interesting to check the amount being moved to top 10 smart contract.

Owner
sleepy ramen
sleepy ramen
Get-Phone-Number-Details-using-Python - To get the details of any number, we can use an amazing Python module known as phonenumbers.

Get-Phone-Number-Details-using-Python To get the details of any number, we can use an amazing Python module known as phonenumbers. We can use the amaz

Coding Taggers 1 Jan 01, 2022
Check your accounts/tokens fast with our checker!

Discord_Account_Checker How to use? Installing library's pip install -r reqs.txt Loading accounts Load your accounts to accounts.txt file. Launch pyth

1 Jan 11, 2022
A discord bot wrapper for python have slash command

A discord bot wrapper for python have slash command

4 Dec 04, 2021
A github actions + python code to extract URLs to code repositories to put into standard form, starting with github

A github actions + python code to extract URLs to code repositories to put into standard form, starting with github ---- NOTE: JUS

Justin Gosses 2 Nov 15, 2021
Automatic Video Library Manager for TV Shows

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic. Dependen

1.5k Dec 22, 2022
Python SDK for LUSID by FINBOURNE, a bi-temporal investment management data platform with portfolio accounting capabilities.

LUSID® Python SDK This is the Python SDK for LUSID by FINBOURNE, a bi-temporal investment management data platform with portfolio accounting capabilit

FINBOURNE 6 Dec 24, 2022
Bot Auto Chess.com

Bot Auto Chess.com Is a suggestion for chess moves on the chess.com platform. The available features are: chess suggestions and moves automatically. i

Tn. Ninja 34 Jan 01, 2023
Music cog for discord bots. Supports YouTube, YoutubeMusic, SoundCloud and Spotify.

dismusic Music cog for discord bots. Supports YouTube, YoutubeMusic, SoundCloud and Spotify. Installation python3 -m pip install dismusic Usage from d

Md Shahriyar Alam 59 Jan 08, 2023
Generate visualizations of GitHub user and repository statistics using GitHubActions

GitHub Stats Visualization Generate visualizations of GitHub user and repository

Jun Shi 3 Dec 15, 2022
SpamSMS - SPAM SMS menggunakan api web INDIHOME

SPAM SMS Unlimited SPAM SMS menggunakan api web INDIHOME Cara Install Di Termux

Zuck-Ker 1 Jan 08, 2022
Python linting made easy. Also a casual yet honorific way to address individuals who have entered an organization prior to you.

pysen What is pysen? pysen aims to provide a unified platform to configure and run day-to-day development tools. We envision the following scenarios i

Preferred Networks, Inc. 452 Jan 05, 2023
Rio Userbot Adalah Bot Untuk Membantu Mempermudahkan Sesuatu Di Telegram, Last Repository With Pytgcalls v0.8.3

RIO - USERBOT Disclaimer Saya tidak bertanggung jawab atas penyalahgunaan bot ini. Bot ini dimaksudkan untuk bersenang-senang sekaligus membantu Anda

RioProjectX 4 Oct 18, 2022
Código para trabalho com o dataset Wine em Python

Um perceptron multicamadas (MLP) é uma rede neural artificial feedforward que gera um conjunto de saídas a partir de um conjunto de entradas. Um MLP é

Hemili Beatriz 1 Jan 08, 2022
A simple Discord Token Grabber sending the new token if the victim changes his password.

💎 Riot 💎 Riot is a simple Discord token grabber written in Python3 running in background and executing when the victim start their computer. If the

Billy 66 Dec 26, 2022
A Python wrapper for the QQ Channel API

A Python wrapper for the QQ Channel API

Fox_white 55 Dec 07, 2022
Build a better understanding of your data in PostgreSQL.

Data Fluent for PostgreSQL Build a better understanding of your data in PostgreSQL. The following shows an example report generated by this tool. It g

Mark Litwintschik 28 Aug 30, 2022
TON Miner from TON-Pool.com

TON-Pool Miner Miner from TON-Pool.com

21 Nov 18, 2022
🤖 Telegram UserBot Untuk Memutar Lagu Dan Video Di Obrolan Suara Telegram.

🤖 Telegram UserBot Untuk Memutar Lagu Dan Video Di Obrolan Suara Telegram.

Fariz 2 Nov 13, 2021
This is a crypto trading bot that scans the Binance Annoucements page for new coins, and places trades on Gateio

gateio-trading-bot-binance-announcements This Gateio x Binance cryptocurrency trading bot scans the Binance Announcements page and picks up on new coi

Andrei 1.2k Jan 01, 2023
A site devoted to celebrating to matching books with readers and readers with books. Inspired by the Readers' Advisory process in library science, Literati, and Stitch Fix.

Welcome to Readers' Advisory Greetings, fellow book enthusiasts! Visit Readers' Advisory! Menu Technologies Key Features Database Schema Front End Rou

jane martin 6 Dec 12, 2021