Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Analytics

The analytics and validators tab on explorer uses some external datasets stored as JSON.

This folder will hold the logic for generating these JSON from google public dataset

chain_stats.json (analytics)

TPS

TXNs

Gas

Contracts/modules

Active users

A subset of address on chain are accounts (have 0x1::account::Account resource). Accounts can be created in many different ways (direct call to create account, first APT receipt, first signature, etc).

We define new accounts as addresses that received APT for the first time.

If an address signs a transactions, they are considered an active user.

validator_stats_v2.json

Approx logic in validator_stats. True current state is obtained by calling view function.

Since bigquery data only has changes, would need to build current state for historical.

location_stats uses IP of validators to map to geo and is excluded (not recorded on chain)