An open API service indexing awesome lists of open source software.

https://github.com/chainstacklabs/evm-dashboard

Script for collecting Ethereum and EVM-based block data and adding it to a Google script
https://github.com/chainstacklabs/evm-dashboard

blockchain dashboard evm google index

Last synced: 3 months ago
JSON representation

Script for collecting Ethereum and EVM-based block data and adding it to a Google script

Awesome Lists containing this project

README

          

Labs


Chainstack is the leading suite of services connecting developers with Web3 infrastructure


 
 
 
 
 


Supported protocols
Chainstack blog
Chainstack docs
Blockchain API reference
Start for free

# EVM Dashboard using Python

Script for collecting Ethereum Block data to build an excellent Web3-based dashboard on your own using a bit of Python and a Google spreadsheet.

Read the full tutorial on the Chainstack blog:
* [How to buidl your own Web3 dashboard](https://chainstack.com/how-to-buidl-your-own-web3-dashboard/)

## Project details

This repository holds the code used in the [How to buidl your web3 dashboard](https://chainstack.com/how-to-buidl-your-own-web3-dashboard/) tutorial. Unlike in the blog, the code in the repository is modularized into different files named according to its functionality. The code does the following:

* Connect to Chainstack node via WSS endpoint
* Fetch the latest blocks
* Retrieves information from the block
* Adds the retrieved information to the specified google sheets

# Quick start

Before running the code, it is highly recommended that you go through the blog as it describes the whole logic of the code.

Clone this repository.

Install the Python dependencies:

```sh
pip install -r requirements.txt
```

Run the [get_transaction.py](get_transaction.py) file:

```sh
python get_transaction.py
```

## Prerequisites

* Python ^3.6
* A node RPC endpoint.

Deploy a node with Chainstack:

1. [Sign up with Chainstack](https://console.chainstack.com/user/account/create).
1. [Deploy a node](https://docs.chainstack.com/platform/join-a-public-network).
1. [View node access and credentials](https://docs.chainstack.com/platform/view-node-access-and-credentials).

## Dependencies

* gspread ^5.4.0
* web3.py ^5.29.2
* websockets ^9.1

## Install

Install Python on your system:

* [Install Python](https://realpython.com/installing-python/)

Clone this repository.

Install the Python dependencies:

```sh
pip install -r requirements.txt
```