Coder Social home page Coder Social logo

0x111111 / op-analytics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ethereum-optimism/op-analytics

0.0 0.0 0.0 2.37 GB

Onchain Data, Utilities, References, and other Analytics on Optimism

Python 0.53% HTML 22.32% Jupyter Notebook 77.15%

op-analytics's Introduction

OP Analytics

Onchain Data, Utilities, References, and other Analytics on Optimism. Join the conversation with other numba nerds in the #analytics channel in the Optimism Discord.

Table of Contents


I'm Looking for Data About:

A select list of Optimism data dashboards:

Optimism Network Activity

Token House & Citizen's House Governance

OP Token Distributions & Growth Programs Tracking

See Distributions mapping resources in Select Optimism Data Abstractions

DeFi

Consumer

Protocol Economics

Transaction Costs

Select Optimism Data Abstractions

Dune Spellbook: Tables can be used in Dune Analytics

  • contracts_optimism.contract_mapping: Near exhaustive mappings of contracts to project names on Optimism - uses decoded contracts in Dune (optimism.contracts) and known deployer addresses to map contracts.
  • op_token_distributions_optimism.transfer_mapping: Mappings of token distributions from the OP Foundation & by Grant/Growth Experiment recipients. You can use this table to count how much OP has been deployed, by whom, and to where. Note: These are "best guess" mappings (contribute address mappings in the Dune Spellbook repo).
  • dex.trades: Aggregation of swaps across many decentralized exchanges
  • nft.trades: Aggregation of swaps across many NFT marketplaces. Also see nft.wash_trades by hildobby for filtering out likely wash trades.
  • perpetual.trades: Aggregation of swaps across many perpetuals exchanges (by rplust)

Flipside Crypto - Optimism Models > Gold-Level Tables: Tables can be used in Flipside

Contributors

Configs

For scripts which use APIs from providers with API keys, add the lines like below in a .env file (Replace with your API key - remember to add to gitignore):

DUNE_API_KEY = 'Your API Key'
FLIPSIDE_SHROOMDK_KEY = 'Your API Key'

Installation

python -m pip install pipenv
pipenv install

See Pipfile for all the requirements.

Common Requirements

Common packages used for python scripts include

In this repository, we use pre-commit to ensure consistency of formatting. To install for Mac, run

brew install pre-commit

Once installed, in the command line of the repository, run

pre-commit install

This will install pre-commit to the Git hook, so that pre-commit will run and fix files covered in its config before committing.

op-analytics's People

Contributors

actions-user avatar msilb7 avatar chuxinh avatar zainbacchus avatar mseidlx avatar omahs avatar eltociear 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.