Skip to content

Deba951/cryptopunks-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Analyzing CryptoPunks Volume and Average Price using Python

Subtitle: A Deep Dive into CryptoPunks Trading Patterns

nft-crypto-clone 7 53 01 PM

Overview

This project aims to analyze the trading volume and average price of CryptoPunks NFTs on the Ethereum blockchain. By leveraging data from the Moralis API, we process and visualize the trends over a specified period.

Objective

To fetch and process CryptoPunks transaction data to understand market trends and investor behavior.

Aim

Retrieve NFT transaction data, clean and process it, and create visualizations that showcase the trading volume and average price of CryptoPunks NFTs over the past few days.

Features

  • Data Collection from Moralis API
  • Data Filtering and Processing
  • Calculation of Daily Volumes and Average Prices
  • Visualization using Matplotlib

Setup and Installation

Prerequisites

  • Python 3.7 or above
  • Moralis API Key

Libraries Used

  • moralis
  • numpy
  • pandas
  • matplotlib
  • dotenv

Steps to Set Up the Environment

  1. Clone the repository:

    git clone https://github.com/Deba951/cryptopunks-analysis.git
    cd cryptopunks-analysis
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate   # On Windows, use `venv\Scripts\activate`
  3. Install the required libraries:

    pip install -r requirements.txt
  4. Create a .env file and add your Moralis API key:

    api_key=your_moralis_api_key
    

Usage

Run the script to fetch, process, and visualize CryptoPunks transaction data:

python main.py