Giter Club home page Giter Club logo

trackingcarbon's Introduction

Visualization Techniques for Tracking Carbon Credit Trading Pathways and Identifying Potential Arbitrage Activities

A method for visual analysis of token transaction data on the blockchain to quickly identify suspicious transactions.

Installation Guide

Please follow the steps below to install and configure this project :

STEP 1:

git clone https://github.com/peculab/TrackingCarbon.git

STEP 2: Setup virtual environment and install dependencies using pip install -r requirements.txt

STEP 3: Replace the credentials in the .env file with your own API_KEYS

User Guide

🎞️Video demonstration: Visualization Techniques for Tracking Carbon Credit Trading Pathways

Here are instructions on how to use this project.

Data Collection:

Obtaining Multi-layer Historical Transaction Data for a Wallet:

  1. Copy the wallet address(es) you want to track and paste them into the INITIAL_ADDRESSES in the main function on line 84 of the file data_collection.py.

  2. Modify the MAX_DEPTH parameter in the .env file according to the maximum number of layers you want to track.

  3. Adjust the TX_COUNT_THRESHOLD in .env to set the number of transactions per layer you want to track ( Note: If no limit is set, the process may take several hours).

  4. Run the script:

py data_collection.py
  1. Obtain the CSV file.

Obtaining Single-layer Historical Transaction Data for a Wallet:

  1. Directly download the transaction data from Etherscan.

Data Visualization:

  1. Replace 'path/to/your/csvfile.csv' in the file_path variable with the path to your CSV file containing the transaction data. This can be found in the main function on line 7 of the file graph.py.
  2. Run the application:
python graph.py
  1. Open a web browser and navigate to the address in the command line (usually http://127.0.0.1:8050/) to view the dashboard.

Examples of how to use the tool

What Addresses are Potential Fraud Accounts?

trackingcarbon's People

Contributors

peculab avatar

Stargazers

Wilbur avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.