Ross ROSS = Recommend OSS · open-source software intelligence for agents

libevm/subway resource

A practical example on how to perform sandwich attacks on Ethereum observed · 2026-08-28

github.com/libevm/subway · Solidity · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1727
  • days_rel: n/a
  • days_push: 1127
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2207 stars · 525 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

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

Facets

learning-resource · maturity maintenance

blockchain chatbot blockchain education mev sandwich-attacks uniswap-v2 solidity yul flashbots searching educational transaction-monitoring mempool cryptocurrency trading nodejs ethereum

1 source

Member repositories

RepositoryRoleHealth v2
libevm/subwaymain32

For agents

markdown · JSON · MCP: product_card(name="libevm/subway")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem