Cross-Chain DEX Validation Script

Job ID: 39969048

Budget: $10 – $30 USD

I’m polishing a lightweight monitoring toolkit and need an experienced JavaScript/Blockchain developer to make three surgical improvements across six networks—Avalanche, Optimism, Arbitrum, Polygon, Base, and Ethereum.

1. DEX factory file audit
Each factory file (one per chain) already exists in JavaScript. I need you to read, sanity-check, and confirm that the ABIs, router addresses, and pair-creation logic are correct and up to date. If you spot mismatches, please patch them.

2. Token address validation
I will supply JSON payloads containing hundreds of token addresses per chain. Use the third-party API I specify to confirm each address is an active, legitimate ERC-20 (or chain-equivalent) contract. The validation routine should return a clean JSON array of approved addresses and flag anything that fails.

3. Liquidity filter upgrade
Inside my helper module you’ll find getHighVolumePairs(). Extend it so it automatically pulls the highest-liquidity pairs for each network, based on 24-hour volume. Feel free to use the same API stack or a lightweight on-chain call—whichever is faster and more accurate.

Deliverables
• Updated JavaScript factory files, one per chain
• A token-validation script that consumes my JSON and returns “valid / invalid” flags via the chosen API
• An enhanced getHighVolumePairs() function with clear inline docs and a brief README on how to run everything with Node.js

Acceptance criteria
• All six factory files compile and deploy in a local hardhat test without errors
• Token validation passes >95 % of addresses that etherscan (or chain equivalent) marks as verified contracts
• getHighVolumePairs() returns at least the top ten pairs per chain within 5 s on a standard RPC endpoint

The scope is focused and the budget is modest, so I value clean, well-commented code over bells and whistles. In your bid, include a short note about a similar multi-chain utility you have built and the primary libraries you used (ethers.js, web3.js, viem, etc.).

I want to buy this project from developers.