wenwkich / ape-bot

a ape bot made for uniswap-v2, with check price and liquidity features to avoid getting rekt, no mev is involved tho

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Limit Bot

a limit bot to buy tokens from uniswap v2 pools

parameters:

  • input token name, address, decimals
  • output token name, address, decimals
  • swap amount
  • target price (output token / input token)
  • slippage basis point (calculate in percentage)

features:

  • once the pool has the liquidity, ape
  • once the price is less than target price, ape
    • if the price is already larger, then don't ape
  • set up a slippage to ensure the success

Private key set up

There's a envirnmental variable to setup, which is the private key, you could put that in an .env file

About

a ape bot made for uniswap-v2, with check price and liquidity features to avoid getting rekt, no mev is involved tho


Languages

Language:TypeScript 65.4%Language:JavaScript 30.7%Language:Solidity 3.9%