├── .dockerignore ├── .gitignore ├── .python-version ├── Dockerfile ├── LICENSE ├── README.md ├── clickhouse-config ├── Dockerfile └── block_timestamp_dictionary.xml ├── clickhouse └── .gitkeep ├── clients ├── custom_clickhouse.py └── custom_client.py ├── config.py ├── docker-compose.yml ├── examples ├── .ipynb_checkpoints │ └── gas_price_estimation-checkpoint.ipynb ├── balances_api │ ├── README.md │ ├── actions │ │ ├── balances.py │ │ ├── query.py │ │ └── token_balances.py │ ├── config.py │ ├── requirements.txt │ ├── server.py │ └── tests │ │ ├── test_balances.py │ │ └── test_token_balances.py ├── gas_price_estimation │ ├── README.md │ └── gas_price_estimation.ipynb └── sql_balances │ ├── README.md │ ├── balances.sql │ ├── send_request.sh │ └── token_balances.sql ├── extractor.py ├── genesis.json ├── grafana ├── Dockerfile ├── configure_grafana.sh ├── dashboards │ ├── erc20_tokens.json │ ├── ethereum.json │ └── insights.json └── datasources │ └── clickhouse.json ├── images ├── core.png ├── dashboard.png ├── schema.png └── schema.txt ├── operations ├── bancor_trades.py ├── blocks.py ├── clickhouse.py ├── contract_methods.py ├── contract_transactions.py ├── contracts.py ├── events.py ├── indices.py ├── inputs.py ├── internal_transactions.py ├── token_holders.py └── token_prices.py ├── parity └── .gitkeep ├── requirements.txt ├── schema └── schema.py ├── standard-token-abi.json ├── tests ├── __init__.py ├── bancor_trades_tests.py ├── blocks_tests.py ├── clickhouse_tests.py ├── cmc_token_list_page.html ├── cmc_token_page.html ├── contract_abi_tests.py ├── contract_methods_tests.py ├── contract_transactions_tests.py ├── events_tests.py ├── input_parsing_tests.py ├── internal_transactions_tests.py ├── prepare_indices_tests.py ├── test_cmc_api_res.json ├── test_utils.py ├── token_holders_tests.py ├── token_prices_tests.py └── utils_tests.py ├── tokens.json └── utils.py /.dockerignore: -------------------------------------------------------------------------------- 1 | pyethereum 2 | quickBlocks 3 | tabix 4 | parity 5 | clickhouse 6 | grafana -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/.gitignore -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.6.1 2 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/README.md -------------------------------------------------------------------------------- /clickhouse-config/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/clickhouse-config/Dockerfile -------------------------------------------------------------------------------- /clickhouse-config/block_timestamp_dictionary.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/clickhouse-config/block_timestamp_dictionary.xml -------------------------------------------------------------------------------- /clickhouse/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clients/custom_clickhouse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/clients/custom_clickhouse.py -------------------------------------------------------------------------------- /clients/custom_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/clients/custom_client.py -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/config.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /examples/.ipynb_checkpoints/gas_price_estimation-checkpoint.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/.ipynb_checkpoints/gas_price_estimation-checkpoint.ipynb -------------------------------------------------------------------------------- /examples/balances_api/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/balances_api/README.md -------------------------------------------------------------------------------- /examples/balances_api/actions/balances.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/balances_api/actions/balances.py -------------------------------------------------------------------------------- /examples/balances_api/actions/query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/balances_api/actions/query.py -------------------------------------------------------------------------------- /examples/balances_api/actions/token_balances.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/balances_api/actions/token_balances.py -------------------------------------------------------------------------------- /examples/balances_api/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/balances_api/config.py -------------------------------------------------------------------------------- /examples/balances_api/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/balances_api/requirements.txt -------------------------------------------------------------------------------- /examples/balances_api/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/balances_api/server.py -------------------------------------------------------------------------------- /examples/balances_api/tests/test_balances.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/balances_api/tests/test_balances.py -------------------------------------------------------------------------------- /examples/balances_api/tests/test_token_balances.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/balances_api/tests/test_token_balances.py -------------------------------------------------------------------------------- /examples/gas_price_estimation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/gas_price_estimation/README.md -------------------------------------------------------------------------------- /examples/gas_price_estimation/gas_price_estimation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/gas_price_estimation/gas_price_estimation.ipynb -------------------------------------------------------------------------------- /examples/sql_balances/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/sql_balances/README.md -------------------------------------------------------------------------------- /examples/sql_balances/balances.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/sql_balances/balances.sql -------------------------------------------------------------------------------- /examples/sql_balances/send_request.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/sql_balances/send_request.sh -------------------------------------------------------------------------------- /examples/sql_balances/token_balances.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/examples/sql_balances/token_balances.sql -------------------------------------------------------------------------------- /extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/extractor.py -------------------------------------------------------------------------------- /genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/genesis.json -------------------------------------------------------------------------------- /grafana/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/grafana/Dockerfile -------------------------------------------------------------------------------- /grafana/configure_grafana.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/grafana/configure_grafana.sh -------------------------------------------------------------------------------- /grafana/dashboards/erc20_tokens.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/grafana/dashboards/erc20_tokens.json -------------------------------------------------------------------------------- /grafana/dashboards/ethereum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/grafana/dashboards/ethereum.json -------------------------------------------------------------------------------- /grafana/dashboards/insights.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/grafana/dashboards/insights.json -------------------------------------------------------------------------------- /grafana/datasources/clickhouse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/grafana/datasources/clickhouse.json -------------------------------------------------------------------------------- /images/core.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/images/core.png -------------------------------------------------------------------------------- /images/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/images/dashboard.png -------------------------------------------------------------------------------- /images/schema.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/images/schema.png -------------------------------------------------------------------------------- /images/schema.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/images/schema.txt -------------------------------------------------------------------------------- /operations/bancor_trades.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/bancor_trades.py -------------------------------------------------------------------------------- /operations/blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/blocks.py -------------------------------------------------------------------------------- /operations/clickhouse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/clickhouse.py -------------------------------------------------------------------------------- /operations/contract_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/contract_methods.py -------------------------------------------------------------------------------- /operations/contract_transactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/contract_transactions.py -------------------------------------------------------------------------------- /operations/contracts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/contracts.py -------------------------------------------------------------------------------- /operations/events.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/events.py -------------------------------------------------------------------------------- /operations/indices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/indices.py -------------------------------------------------------------------------------- /operations/inputs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/inputs.py -------------------------------------------------------------------------------- /operations/internal_transactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/internal_transactions.py -------------------------------------------------------------------------------- /operations/token_holders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/token_holders.py -------------------------------------------------------------------------------- /operations/token_prices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/operations/token_prices.py -------------------------------------------------------------------------------- /parity/.gitkeep: -------------------------------------------------------------------------------- 1 | Place for parity database 2 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/requirements.txt -------------------------------------------------------------------------------- /schema/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/schema/schema.py -------------------------------------------------------------------------------- /standard-token-abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/standard-token-abi.json -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/bancor_trades_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/bancor_trades_tests.py -------------------------------------------------------------------------------- /tests/blocks_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/blocks_tests.py -------------------------------------------------------------------------------- /tests/clickhouse_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/clickhouse_tests.py -------------------------------------------------------------------------------- /tests/cmc_token_list_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/cmc_token_list_page.html -------------------------------------------------------------------------------- /tests/cmc_token_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/cmc_token_page.html -------------------------------------------------------------------------------- /tests/contract_abi_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/contract_abi_tests.py -------------------------------------------------------------------------------- /tests/contract_methods_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/contract_methods_tests.py -------------------------------------------------------------------------------- /tests/contract_transactions_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/contract_transactions_tests.py -------------------------------------------------------------------------------- /tests/events_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/events_tests.py -------------------------------------------------------------------------------- /tests/input_parsing_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/input_parsing_tests.py -------------------------------------------------------------------------------- /tests/internal_transactions_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/internal_transactions_tests.py -------------------------------------------------------------------------------- /tests/prepare_indices_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/prepare_indices_tests.py -------------------------------------------------------------------------------- /tests/test_cmc_api_res.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/test_cmc_api_res.json -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/token_holders_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/token_holders_tests.py -------------------------------------------------------------------------------- /tests/token_prices_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/token_prices_tests.py -------------------------------------------------------------------------------- /tests/utils_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tests/utils_tests.py -------------------------------------------------------------------------------- /tokens.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/tokens.json -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyber-drop/ethereum_analytical_db/HEAD/utils.py --------------------------------------------------------------------------------