Four.meme (Four meme) Volume Script on BSC
- Node.ts 18+
- BSC RPC endpoint
npm installThis project reads configuration from the file named env in the repo root (already present). Supported keys:
RPC_URL(required)WSS_URL(optional)WALLET(optional single private key)WALLET_1..WALLET_100(optional multiple private keys)BUY_AMOUNT(BNB in ETH units, e.g.0.0001)SLIPPAGE_BPS(basis points, default 100 = 1%)GAS_LIMIT(default 500000)MAX_GAS_PRICE(gwei, default 10)MAX_BOT_ACCOUNTS(cap wallets used, default 20)ENABLE_FRONTRUN,ENABLE_BACKRUN(unused flags, reserved)
Wallet grouping logic:
- Wallets that already hold the target token are treated as the "sell" group
- Wallets that have BNB balance but no token are treated as the "buy" group
You can add up to 100 keys as WALLET_1, WALLET_2, ... in env.
npm run buildProvide the target token (and optionally custom WBNB/router addresses).
npm start -- --token 0xTokenAddressHere
# or in dev without building
npm run dev -- --token 0xTokenAddressHereWhat it does:
- Derives all provided wallets
- Splits them into token-holding sellers and BNB-funded buyers
- Iterates sellers: sells ~10% of their token balance
- On each sell, buyers attempt to buy the token for
BUY_AMOUNTBNB concurrently
Defaults:
- Router: PancakeSwap V2
0x10ED43C718714eb63d5aA57B78B54704E256024E - WBNB:
0xBB4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
- Ensure each private key has enough BNB for gas
- Start with very small
BUY_AMOUNTand low wallet counts while testing - This script sends real transactions; use at your own risk