Voted Coins
follow us on twitter . like us on facebook . follow us on instagram . subscribe to our youtube channel . announcements on telegram channel . ask urgent question ONLY . Subscribe to our reddit . Altcoins Talks Shop Shop


This is an Ad. Advertised sites are not endorsement by our Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise Here

Author Topic: Spl token Swap Bot  (Read 510 times)

Offline dani210

  • 1st Step
  • *
  • Activity: 1
  • points:
    1394
  • Karma: 0
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: February 10, 2025, 09:13:31 PM
    • View Profile

  • Total Badges: 2
    Badges: (View All)
    Topic Starter First Post
Spl token Swap Bot
« on: February 10, 2025, 07:33:46 PM »
Spl token Swap Bot


First install the required library in Library.

npm install @solana/web3.js cross-fetch bs58 dotenv crypto fs path child_process

Then add the priva_key of the wallet to be traded in .env.

If you are going to add multiple private keys.

You will add it as privatekey, privakey, privatekey. The last time you add it, it will not be.

Then open main.js file with notepad.

Set this as the mint address of your own token.
const OTR_MINT = new PublicKey(“Your Token”);

The code trades according to the current price, update this part according to your token.

const otrResp = await fetch(“https://api.dexscreener.com/latest/dex/tokens/your mint address of the token”);

If your token is not available. You can use another api provider.

Fee rate is standard : 1000. you can update it here. If the fee rate is low, it will not confirm the transaction.

computeUnitPriceMicroLamports: 2000 //Fee Rate

This part is between left buy and sell. The program sets a random buy or sell amount from 0.3 to 0.6.

swapAmount = randomAmount(0.3, 0.6);

Save and run it.

Start : node main.js


htt ps://github .com/CoderZ-ai/Spl-token-Volume-and-Trend-Bot/releases/tag/Swapbot

Altcoins Talks - Cryptocurrency Forum

Spl token Swap Bot
« on: February 10, 2025, 07:33:46 PM »

This is an Ad. Advertised sites are not endorsement by our Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise Here


 

ETH & ERC20 Tokens Donations: 0x2143F7146F0AadC0F9d85ea98F23273Da0e002Ab
BNB & BEP20 Tokens Donations: 0xcbDAB774B5659cB905d4db5487F9e2057b96147F
BTC Donations: bc1qjf99wr3dz9jn9fr43q28x0r50zeyxewcq8swng
BTC Tips for Moderators: 1Pz1S3d4Aiq7QE4m3MmuoUPEvKaAYbZRoG
Powered by SMFPacks Social Login Mod