{"adoption": {"forks": 525, "observed_at": "2026-08-28T04:06:26.083227+00:00", "stars": 2207}, "canonical_url": "https://ross.abutalabs.com/products/libevm-subway", "card": {"archived": false, "artifact_type": "learning-resource", "description": "A practical example on how to perform sandwich attacks on Ethereum", "domain": ["blockchain", "education"], "enriched": true, "function": ["blockchain", "chatbot"], "health_score": 20, "homepage": null, "language": "Solidity", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["libevm/subway"], "name": "libevm/subway", "platform": [], "pushed_at": "2023-08-02T11:30:53+00:00", "repo": "libevm/subway", "stars": 2207, "tags": ["mev", "sandwich-attacks", "uniswap-v2", "solidity", "yul", "flashbots", "searching", "educational", "transaction-monitoring", "mempool", "cryptocurrency", "trading", "nodejs", "ethereum"], "topics": [], "urls": [], "use_cases": ["learn how MEV sandwich attacks work on Ethereum", "understand how to read and decode mempool transactions", "study a minimal sandwich bot implementation in Solidity and JavaScript", "learn how to calculate gas bribes and fire Flashbots bundles", "get a starting point for building MEV searcher bots", "see how UniswapV2 pair swaps can be exploited for profit"], "what_it_is": "An educational reference implementation showing how to perform sandwich attacks on UniswapV2 pairs on Ethereum. It combines Yul+/Solidity contracts with a JavaScript bot that reads the mempool, decodes transactions, calculates profit and gas bribes, and fires bundles.", "when_to_avoid": ["you need a production-ready bot with circuit breakers, poison token checks, and robust logging", "you want protection against uncle bandit attacks", "you need optimized gas usage or advanced searcher features"], "when_to_choose": ["you want to learn MEV and sandwich attack mechanics from working source code", "you need a simple, low-barrier reference for building an Ethereum searcher bot", "you want to see how mempool monitoring and bundle submission fit together"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/libevm-subway", "repo": "libevm/subway", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:46:28.229827+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9ef34ec5a76a96dafcc4983d7fc06b26f4dca4a38812f7ff92cdb86c3b32b7dd", "fetched_at": "2026-08-28T04:06:26.083227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libevm/subway"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:46:28.229827+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9ef34ec5a76a96dafcc4983d7fc06b26f4dca4a38812f7ff92cdb86c3b32b7dd", "fetched_at": "2026-08-28T04:06:26.083227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libevm/subway"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:46:28.229827+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9ef34ec5a76a96dafcc4983d7fc06b26f4dca4a38812f7ff92cdb86c3b32b7dd", "fetched_at": "2026-08-28T04:06:26.083227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libevm/subway"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:46:28.229827+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9ef34ec5a76a96dafcc4983d7fc06b26f4dca4a38812f7ff92cdb86c3b32b7dd", "fetched_at": "2026-08-28T04:06:26.083227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libevm/subway"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:46:28.229827+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9ef34ec5a76a96dafcc4983d7fc06b26f4dca4a38812f7ff92cdb86c3b32b7dd", "fetched_at": "2026-08-28T04:06:26.083227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libevm/subway"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:46:28.229827+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9ef34ec5a76a96dafcc4983d7fc06b26f4dca4a38812f7ff92cdb86c3b32b7dd", "fetched_at": "2026-08-28T04:06:26.083227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libevm/subway"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:26.083227+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:46:28.229827+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9ef34ec5a76a96dafcc4983d7fc06b26f4dca4a38812f7ff92cdb86c3b32b7dd", "fetched_at": "2026-08-28T04:06:26.083227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libevm/subway"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:46:28.229827+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9ef34ec5a76a96dafcc4983d7fc06b26f4dca4a38812f7ff92cdb86c3b32b7dd", "fetched_at": "2026-08-28T04:06:26.083227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libevm/subway"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:46:28.229827+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9ef34ec5a76a96dafcc4983d7fc06b26f4dca4a38812f7ff92cdb86c3b32b7dd", "fetched_at": "2026-08-28T04:06:26.083227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libevm/subway"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:46:28.229827+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9ef34ec5a76a96dafcc4983d7fc06b26f4dca4a38812f7ff92cdb86c3b32b7dd", "fetched_at": "2026-08-28T04:06:26.083227+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libevm/subway"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1727, "days_push": 1127, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}