Skip to content

cluet/astrosol-solana-sniper-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

Banner

AstroSol V1.0

TypeScript GitHub License

AstroSol is a tool that can execute sandwich attacks for Raydium AMM pools on the solana blockchain. It also supports PumpFun trades.

Regardless of the node speed, AstroSol's transactions are confirmed before the target ones by using jito bundles and priority fees.

LINKS πŸ”—

Website

Features πŸ€–

  • On-chain tip calculation
  • Sandwich any swap that results in profit
  • Send bundles through jito's blockengine
  • Supports both SOL-TOKEN and TOKEN-SOL pairs
  • Dynamic & easily extendable instruction data decoder

Wallet πŸ’·

First step:

  1. Create a new Solana wallet
  2. Transfer some SOL to this new wallet
  3. Convert some SOL to USDC or WSOL (you need USDC or WSOL depending on the configuration in .env file)

Tip

Installation πŸ”—

[1] Download AstroSol from our website https://astrosol.app

[2] Fill the settings file according to your needs

[3] Launch the bot and start frontrunning trades

Configure .env file πŸ“

  1. Configure the script by updating .env.copy file (remove the ".copy" extension).
  2. MY_PRIVATE_KEY (your wallet private key)
  3. RPC_ENDPOINT (https RPC endpoint) paid services are faster
  4. RPC_WEBSOCKET (websocket RPC endpoint) paid services are faster
  5. TOKEN_SYMB (which pools to snipe, USDC or WSOL)
  6. BUY_AMOUNT (amount used to buy each new token)
  7. USE_SNIPEDLIST (bot buy only tokens listed in snipedlist.txt)
  8. SNIPE_LIST_REFRESH_INTERVAL (how often snipe list should be refreshed in milliseconds)
  9. MINT_IS_RENOUNCED (bot buy only if mint is renounced)
  10. MIN_POOL_SIZE (bot buy only if pool size is > of amount)
  11. MAX_POOL_SIZE (bot buy only if pool size is < of amount)
  12. TAKE_PROFIT=80 (in %)
  13. STOP_LOSS=30 (in %)
  14. BIRDEYE_APIKEY= get here: https://docs.birdeye.so/docs/authentication-api-keys

Common Issues πŸ“š

UNSUPPORTED RPC NODE

If you see following error in your log file:
Error: 410 Gone: {"jsonrpc":"2.0","error":{"code": 410, "message":"The RPC call or parameters have been disabled."}
It means your RPC node doesn't support methods needed to execute script. FIX: Change your RPC node. You can use Shyft, Helius or Quicknode.

NO TOKEN ACCOUNT

If you see following error in your log file:
Error: No SOL token account found in wallet:
it means that your wallet not have USDC/WSOL token account. FIX: Go to Jup.ag and swap some SOL/USDC or SOL/WSOL.

Disclaimer πŸ”

Use this script at your own risk. No financial advice.

Releases

No releases published

Packages

No packages published