{"id":16090925,"url":"https://github.com/autistic-symposium/blockchain-science-py","last_synced_at":"2025-03-02T13:07:02.660Z","repository":{"id":42685973,"uuid":"461341758","full_name":"autistic-symposium/blockchain-science-py","owner":"autistic-symposium","description":"👾 my onchain research, notebooks, quant bots - python edition","archived":false,"fork":false,"pushed_at":"2024-10-15T02:46:46.000Z","size":127338,"stargazers_count":70,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T22:40:50.097Z","etag":null,"topics":["algorithmic-trading","amm","blockchain","bots","cryptocurrency","cypherpunk","dao","edge","ethereum","graph","mev","python","quantum","stablecoins","trading","trading-strategies","uniswap","uniswap-v2"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/autistic-symposium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-19T23:51:57.000Z","updated_at":"2025-02-03T10:39:07.000Z","dependencies_parsed_at":"2025-02-08T08:42:47.150Z","dependency_job_id":null,"html_url":"https://github.com/autistic-symposium/blockchain-science-py","commit_stats":null,"previous_names":["go-outside-labs/blockchain-science-py","miastein2024/blockchain-science-py","autistic-symposium/blockchain-science-py"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autistic-symposium%2Fblockchain-science-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autistic-symposium%2Fblockchain-science-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autistic-symposium%2Fblockchain-science-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autistic-symposium%2Fblockchain-science-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autistic-symposium","download_url":"https://codeload.github.com/autistic-symposium/blockchain-science-py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241509651,"owners_count":19974072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithmic-trading","amm","blockchain","bots","cryptocurrency","cypherpunk","dao","edge","ethereum","graph","mev","python","quantum","stablecoins","trading","trading-strategies","uniswap","uniswap-v2"],"created_at":"2024-10-09T15:02:02.523Z","updated_at":"2025-03-02T13:07:02.618Z","avatar_url":"https://github.com/autistic-symposium.png","language":"Jupyter Notebook","funding_links":[],"categories":["🥷🏻🐍⛓️ web3 starting kit - python edition"],"sub_categories":["other resources from the autistic symposium"],"readme":"## ⛓📊🐍 blockchain science - python edition\n\n\u003cbr\u003e\n\n### my cryptography experiments\n\n* **[fixed-graph-py, generate zero-knowledge proof symbolic graphs](https://github.com/autistic-symposium/blockchain-science-py/tree/main/fixed-graph-py)**:\n    * 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)`\n    * this can be expressed as a fixed computational graph, where relationships between nodes are related by operations such as **multiplication or addition**\n    * 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**\n\n\u003cbr\u003e\n\n* **[magick-py, a simple private information retrieval CLI tool](magick-py/):**\n  * learn and run experiments to understand **zero-knowledge private information retrieval** through step-by-step mathematical calculations\n\n\u003cbr\u003e\n\n\n-----\n\n### my trading bots and strategies\n\n\n* **[cointegration trading bots and CLI](cointegration-bots):**\n  * run **highly customized** trading bots with **statistical algorithmic strategies** such as **cointegration**\n  * it includes an option for **docker deployment**\n\n\u003cbr\u003e\n\n* **[quantitative defi study](quantitative_defi):**\n  * 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)**\n  * the data from every source is prepared, and then the **mean, skew, kurtosis, percentage change, and other statistics are calculated**\n  * plots for **prices, return, and candles** for each data set\n\n\u003cbr\u003e\n\n----\n\n\n### my jupyter notebooks\n\n\n* **[extracting on-chain data from a list of ethereum public addresses](on-chain-data-by-address):**\n    * given a list of **public addresses**, extract the current **token balance**, and parse the **transaction history** for token transfers/swaps\n\n\u003cbr\u003e\n\n* **[transfer events analysis through ethereum RPC API's `eth_getLogs`](transfer-events-analysis):**\n    * 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\n\n\u003cbr\u003e\n\n* **[leveraging uniswap subgraph to extract token pair information](uniswap-data):**\n    * utilize the **graph explorer** to access **uniswap subgraph** and analyze the **UNI and WETH token pair** data\n\n\u003cbr\u003e\n\n* **[DEXs analysis: PMM dodo, AMM uniswap V2, AMM curve stableswap](dexs-equations-analysis):**\n    * maths \u0026\u0026 plots go-to for **decentralized exchanges analysis**\n\n\u003cbr\u003e\n    \n* **[retrieving DAO tokens and pools data](dao-data):**\n    * utilize the **graph explorer** to analyze the data related to a list of **DAO tokens**\n\n\u003cbr\u003e\n\n* **[messari API for token market data](messari-assets-data):**\n    * utilize **[messari API](https://messari.io/api)** to retrieve **market data** for a list of tokens\n\n\u003cbr\u003e\n\n* **[leveraging moralis API to extract on-chain transactions, tokens, events, defi](moralis-tokens-and-txs):**\n    * **moralis API** is a nice wrapper for several **on-chain calls** that would instead use several other native APIs and tools\n\n\u003cbr\u003e\n\n\n---\n\n### external resources\n\n\n* **[crypto market data apis list](https://mixedanalytics.com/knowledge-base/top-free-crypto-apis/)**\n* **[coinmarketcap historical data](https://coinmarketcap.com/currencies/ethereum/historical-data/)**\n* **[uniswap extractooor data](https://www.uniswap.shippooor.xyz/)**\n* **[the autistic symposium's blockchain infrastructure design](https://github.com/autistic-symposium/blockchain-infrastructure-design)**\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautistic-symposium%2Fblockchain-science-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautistic-symposium%2Fblockchain-science-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautistic-symposium%2Fblockchain-science-py/lists"}