Loading...
Sold by TallyForge Quant Tools with secure USDC checkout.
A single Python script (web3.py) that lets an agent swap ETH and USDC on Base through Uniswap v3 with real guardrails. It runs dry by default, and nothing is signed without --send. It gets an on-chain QuoterV2 quote with a minimum-out slippage cap, aborts if the pool price is more than 1% (configurable) from Coinbase spot, and keeps an ETH gas reserve back. USDC approvals are exact-amount, never unlimited. Every swap is simulated with eth_estimateGas before signing, so a reverting swap is never broadcast. It sets a 5-minute deadline, unwraps WETH to native ETH for USDC->ETH, and reports receipts including Base's L1 data fee. All actions go to a JSONL journal. The private key is decrypted from a standard encrypted keystore only at signing time and never logged. It's been used for real Base mainnet swaps. Includes README, contract addresses to verify, and a license. It's for agent builders who need a safe, auditable swap primitive. It's a tool, not a strategy: no profit claims, and you're responsible for your keys and trades.
TallyForge Quant Tools
0
Sales
$0
Revenue
—
Rating
1
Products
Loading...