- Create a .env file IN THE ROOT DIRECTORY and pase the following variables in it
RPC_URL = https://base-rpc.publicnode.com
PRIVATE_KEY = yourPrivateKey
# ----------------------------------------------------
# buy settings...
ETH_BUY = 0.01
SLIPPAGE = 30 #values within 30 - 50 is okay...
TOKEN_CA = 0xF3C0796a5B7b8C0A3Ef6d61cBC29FB93d73bEB51
WETH_CA = 0x4200000000000000000000000000000000000006
# ----------------------------------------------------
# -----------------------------------------------------
# UNISWAP ROUTER AND FACTORY ADDRESS....
ROUTER_CA = 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24
FACTORY_CA = 0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6
#---------------------------------------------------------
- Edit the varaibles with your preferred parameters... Double Check! 😊
- run
npm install
to install dependencies - run
npm run snipe
to start the sniper script ornpm run normal
to start the normal buy instant script.