How to Automatically DCA USDC Into ETH on Base.

381e35

381e35

11/11/2026

#plugs#swap#base#dca#how to
Dollar cost averaging, DCA for short, means buying a fixed dollar amount of something on a fixed schedule, whatever the price. You buy more when it is cheap and less when it is expensive, and you stop trying to time the market. Exchanges offer it as "recurring buys". Onchain you can do the same thing from your own wallet, and on Base each buy costs about a cent or two in gas.

What You Need

  • on Base, enough for as many buys as you want to cover.
  • A little
    on Base to pay for gas.
  • Something that makes the buy happen on schedule. You can swap by hand every day, or let a plug do it.

The Steps Each Buy Takes

Every buy, by hand or automated, is the same four steps:
  1. Make sure today's buy hasn't happened yet.
  2. Get a quote: how much
    5
    buys right now.
  3. Set a floor a little under that quote, so a bad fill reverts instead of going through.
  4. Swap the
    for
    , refusing anything under the floor.
The plug below is exactly those four steps.

DCA With Plug

Use in App
  1. Repeat up to once every day. If something triggers the plug twice in a day, the second run reverts, so it never buys more than you asked for.
  2. Quotes 5
    to
    in Uniswap V3's WETH / USDC 0.05% pool on Base.
  3. Takes 99 percent of that quote as the minimum it will accept.
  4. Swaps 5
    for at least that much
    . The quote and the floor are worked out when the run lands, not when you set it up, so the floor follows the price.
Open it, connect your wallet, change 5 to the amount you want to buy and "day" to the interval you want, then run it once to check it. Put it on a schedule and it buys on every run until you stop it or the
runs out. Each buy pulls the
from your wallet and the
lands back in it.

Why WETH And Not ETH

is
in token form, one for one, and it is what the pools on Base trade. Keeping it as
costs nothing and is what you would need anyway to lend it or swap it again. When you want plain
, unwrapping it is one transaction with no fee.

What It Costs

Each buy has two costs:
  • The swap fee. The WETH / USDC pool the quote reads charges 0.05 percent, which is a quarter of a cent on a 5
    buy.
  • Gas. On Base at late 2026 gas prices, a run is about one to two cents.
Gas is the same whatever the amount, so it matters most on small buys. On 5
a day, two cents is 0.4 percent of each buy. Buying 50
once a week instead brings it under 0.05 percent. Pick the amount and interval with that in mind.
The 99 percent floor is the most a single buy can lose to price movement between the quote and the fill. If you want it tighter, raise it. A buy that can't meet the floor reverts instead of filling badly. Slippage protection without a slippage tolerance explains why a floor works better than a tolerance.

How to Automatically DCA USDC Into ETH on Base.

Back