Giter VIP home page Giter VIP logo

imx-ge's Introduction

Immutascan vs Cryotoslam

In this project

In this project we have two sections:

  1. data scraping
  2. webapp/frontend

Data Scraping

To generate new data to be used in the frontend:

  1. Navigate to the folder ./data-scraping/scripts
  2. Run two commands:
    • node scrape-immutascan-collection-data.js
    • python scrape-cryptoslam-immutascan.py
  3. Find the files under the folder ./data-scraping/output-data
  4. Delete the data in the frontend, and replace with the files from output data. Note: there is some light data cleaning that needs to be added into the scripts to make this perfect! Including wrapping files in arrays etc.

Frontend

Find the live site here netlify-imx-ge-nivaaz.netlify.app

Deploys

  • There is automated deploys set up on netlify for each push to the 'main' branch.

Development

  • To run the project locally, navigate to webapp/imx-ge-app
  • Install any dependencies
  • and run npx next dev

Potential extentions:

Data:

  • update the firebase file to upload the new data files, and fetch these in the frontend.
  • set up a worker in the cloud using the two script file and the firebase script to auto generate new files every hour, and update them in the firebase database.

UX:

  • While this data is not the best to show visually using charts, it could be interesting to see what the differences/change look like between cryposlam and immutascan across collections & the IMX blockchain over time. e.g. every day for a month at 1:30pm AEST.

Notes:

  • To store the data we have used json files. Since this is a preliminary experiement, it's often better to go with a lighterweight approach that allows for easy flexibility i.e. json file rather than a database.
    • With a database:
      • if we decide to change the structure of data, there may be added time to run migrations and run integration tests.
      • I would recommend adding a database in the next phase after we get feedback from the team
    • With JSON:
      • We can easily adjust file formats, names etc in our scripts without having to run migrations.
  • We don't know what time both cryptoslam and immutascan take snapshots at to compute their data - this could be one of the features that creates a difference between data points, and will lead to differences in 24h.

imx-ge's People

Contributors

nivaaz avatar

Watchers

 avatar

Forkers

whitesunset

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.