Code Monkey home page Code Monkey logo

bitcoin-cash-challenge's Introduction

Analyzing Bitcoin Cash Blockchain with Google Cloud

This repository contains code and instructions for analyzing the Bitcoin Cash blockchain using Google Cloud tools. The project materializes a staging table from the transactions raw table, selects the last three months of data from it, and materializes a data mart table that gives the current balance for all addresses and excludes addresses that had at least one transaction on Coinbase. Finally, a graph is plotted that shows the amount of daily transactions over time. I was made during a challenge provided by Astrafy.

Table of content

Getting Started

To run this project, you will need a Google Cloud account and access to the Bitcoin Cash dataset on BigQuery.

  1. Clone this repository to your local machine using :
git clone https://github.com/AlexisGuillotin/Bitcoin-Cash-Challenge
  1. Create a new Google Cloud project
  2. Use dbt cloud to materialize the two tables mentioned above.
  3. Open the bitcoin-cash-graph.ipynb notebook using Google Colab.
  4. Follow the instructions in the notebook to plot the chart of daily transactions.

Prerequisites

Before running this project, you need to have the following:

  • A Google Cloud account with billing enabled
  • Access to the Bitcoin Cash dataset on BigQuery
  • Python 3.x installed
  • Jupyter Notebook or Google Colab installed

Installing Dependencies

The following Python libraries are required to run this project:

  • pandas
  • matplotlib
  • seaborn
  • bigquery

You can install these libraries using pip:

pip install pandas matplotlib seaborn

Running the Project

To run this project, follow the steps in the Getting Started section above.

Authors

Alexis Guillotin

Sitography

Acknowledgement

@clementmariebrisson

License

This project is licensed under the GPL-3.0 license - see the LICENSE file for details.

bitcoin-cash-challenge's People

Contributors

alexisguillotin avatar

Stargazers

Clement 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.