Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/go-outside-labs/blockchain-science-py

👾 𝗺𝘆 𝗼𝗻-𝗰𝗵𝗮𝗶𝗻 𝗿𝗲𝘀𝗲𝗮𝗿𝗰𝗵, 𝗻𝗼𝘁𝗲𝗯𝗼𝗼𝗸𝘀, 𝗾𝘂𝗮𝗻𝘁 𝗯𝗼𝘁𝘀 - 𝗽𝘆𝘁𝗵𝗼𝗻 𝗲𝗱𝗶𝘁𝗶𝗼𝗻
https://github.com/go-outside-labs/blockchain-science-py

algorithmic-trading amm blockchain bots cryptocurrency cypherpunk dao edge ethereum graph mev python stablecoins trading trading-strategies uniswap uniswap-v2

Last synced: about 2 months ago
JSON representation

👾 𝗺𝘆 𝗼𝗻-𝗰𝗵𝗮𝗶𝗻 𝗿𝗲𝘀𝗲𝗮𝗿𝗰𝗵, 𝗻𝗼𝘁𝗲𝗯𝗼𝗼𝗸𝘀, 𝗾𝘂𝗮𝗻𝘁 𝗯𝗼𝘁𝘀 - 𝗽𝘆𝘁𝗵𝗼𝗻 𝗲𝗱𝗶𝘁𝗶𝗼𝗻

Awesome Lists containing this project

README

        

# ⛓📊🐍 blockchain science - python edition





----

## my cryptography experiments


* **[fixed-graph-py, generate zero-knowledge proof symbolic graphs](https://github.com/go-outside-labs/blockchain-science-py/tree/main/fixed-graph-py)**:
* in zkps we want to prove a statement where `f` evaluated at `x_i` results in `(y_1,...,y_n)`, i.e., `f(x_1, ..., x_n) = (y_1, ..., y_n)`. this can be expressed as a fixed computational graph, where relationships between nodes are related by operations such as **multiplication or addition**. in addition, some nodes can be related with an **equality relationship** on which the node's value is computed outside of the graph and constrained by a **hint**.


* **[magick-py, a simple private information retrieval CLI tool](magick-py/):**
* learn and run experiments to understand **zero-knowledge private information retrieval** through step-by-step mathematical calculations.


-----

## my trading bots and strategies


* **[cointegration trading bots and CLI](cointegration-bots):**
* run **highly customized** trading bots with **statistical algorithmic strategies** such as **cointegration**. Include an option for **docker deployment**.


* **[quantitative defi study](quantitative_defi):**
* a comprehensive study on data sources for quantitative defi, including **[yfinance](https://pypi.org/project/yfinance/), [panda_datareader](https://pandas-datareader.readthedocs.io/en/latest/), [alpha_advantage](https://www.alphavantage.co/), [CoinAPI](https://www.coinapi.io/),** and **[quandl](https://data.nasdaq.com/publishers/QDL)**.
* the data from every source is prepared, and then the **mean, skew, kurtosis, percentage change, and other statistics are calculated**.
* plots for **prices, return, and candles** for each data set.


----

## my jupyter notebooks


* **[extracting on-chain data from a list of ethereum public addresses](on-chain-data-by-address):**
* given a list of **public addresses**, extract the current **token balance**, and parse the **transaction history** for token transfers/swaps.


* **[transfer events analysis through ethereum RPC API's `eth_getLogs`](transfer-events-analysis):**
* leverage **[infura](https://docs.infura.io/infura/)**'s rpc url to retrieve and parse transfer events logs for a given erc20 token, calculating balances and token holders.


* **[leveraging uniswap subgraph to extract token pair information](uniswap-data):**
* utilize the **graph explorer** to access **uniswap subgraph** and analyze the **UNI and WETH token pair** data.


* **[DEXs analysis: PMM dodo, AMM uniswap V2, AMM curve stableswap](dexs-equations-analysis):**
* maths && plots go-to for **decentralized exchanges analysis**.




* **[retrieving DAO tokens and pools data](dao-data):**
* utilize the **graph explorer** to analyze the data related to a list of **DAO tokens**.


* **[messari API for token market data](messari-assets-data):**
* utilize **[messari API](https://messari.io/api)** to retrieve **market data** for a list of tokens.


* **[leveraging moralis API to extract on-chain transactions, tokens, events, defi](moralis-tokens-and-txs):**
* **moralis API** is a nice wrapper for several **on-chain calls** that would instead use several other native APIs and tools.


---

## external resources


* **[blockchain data engineering, by go outside labs](https://github.com/go-outside-labs/blockchain-data-engineering)**
* **[cypherpunk toolkit, by go ouside labs](https://github.com/go-outside-labs/neo-cypherpunk-toolkit)**
* **[crypto market data apis list](https://mixedanalytics.com/knowledge-base/top-free-crypto-apis/)**
* **[coinmarketcap historical data](https://coinmarketcap.com/currencies/ethereum/historical-data/)**
* **[uniswap extractooor data](https://www.uniswap.shippooor.xyz/)**