Skip to main content

Questions tagged [dex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
26 views

Transactions for providing liquidity to Raydium pools consistently failing

I recently began to deposit tokens into liquidity pools on the Raydium decentralized exchange, which initially succeeded with minimal issues, but today I was not able to deposit any further liquidity. ...
Code man's user avatar
0 votes
0 answers
35 views

Script to find top traders for a specific token?

How to build functionality like DexScreener top traders API? My goal is to return top traders for a certain token with their PnL and un-realized PnL.
0xkali's user avatar
  • 23
0 votes
0 answers
38 views

Feepayer issue while swap

I am facing the issue while swapping the tokens using Jupiter API, I want to swap from other and feepayer will be another account. while swapping the feepayer account error show: Error Swap: Cannot ...
Bobz's user avatar
  • 514
1 vote
1 answer
64 views

How to fetch the ATH (all-time-high) for a token?

I'm looking for an API or even an explanation of a method to fetch the all-time-high price for a token on Solana.
0xkali's user avatar
  • 23
1 vote
0 answers
207 views

Unable to Build Rust Program with jupiter-core Dependency for Swapping SOL to USDC

I started learning Solana very recently and right now I'm trying to perform a swap transaction to swap SOL to USDC. I found out that there's a Jupiter DEX and I'm trying to use its library. But ...
EugeneS's user avatar
  • 11
0 votes
1 answer
72 views

Failed to create a market ID

The 3 different sites I have used to try to create market ID each show me a failed transaction or or some other error message. The "Failed to load spl token data" was the error message on ...
David's user avatar
  • 1
3 votes
1 answer
68 views

Observing a contract's behavior and withdrawing tokens from it

I recently encountered an error while trying to withdraw stSOL from the Tulip Protocol's "Lending" section: Program Error: "Instruction #3 Failed - null" At first, I thought it ...
Max Pasmanik's user avatar
0 votes
1 answer
89 views

How to build on-chain Solana trading bot

Can you help me figure out how can I build an on-chain trading bot for trading tokens launched on the Solana Blockchain? Just need step by step guidance or resources to start. Thanks for your response....
Abdullah Umar's user avatar
1 vote
1 answer
306 views

transction bundles

Solana also provides bundle transactions. However, I could not find any help for sending bundle transactions using Jito bundles. Can we also send bundle transactions in an atomic way, where all ...
Bobz's user avatar
  • 514
0 votes
1 answer
50 views

Monitoring the latest Price

I need help getting the latest price of a token. I am working on a sniper bot where users buy and sell the token at a specific price. I need to constantly monitor the current price, and if it matches ...
Bobz's user avatar
  • 514
0 votes
0 answers
35 views

Where all liquidity gone in a Raydium Pool

I purchased tiny amount of CATDRICK token on Raydium. The pool is created with 200K CATDRICK + 39 SOL. Here is a Raydium Pool on Solscan. I filtered for defi activities and token creator added 200K ...
att's user avatar
  • 151
0 votes
0 answers
174 views

I want to create a liquidity Pool on raydium, using CPI

I have my custom logic on a program and want to create a liquidity pool on Raydium using CPIs, I am aware of the Raydium SDK which interacts with the Raydium program, but I don't want to utilize it on ...
Rishabh Jamwal's user avatar
0 votes
0 answers
19 views

Chainlink SPL Token swap

Hallo liebe Community, Ich hoffe, es geht dir gut? Ich habe eine Frage, nämlich, dass ich kürzlich in meinem Trust Wallet SOL gegen Chainlink SPL getauscht habe, weil ich Chainlink besser versenden ...
Marcel's user avatar
  • 1
3 votes
1 answer
246 views

How To Make a cpi call to swap on raydium clmm program?

I worked out an program to make a swap cpi call to raydium v4 pool, with the help of raydium offically offered an cpi demo, raydium-contract-instructions. But not found any resources or instruction to ...
ClarkChen's user avatar
0 votes
0 answers
90 views

Getting token info using Dex scanner API

I am using the DexScanner API to fetch information about newly listed token pairs on the Raydium DEX. However, it takes around 30-35 seconds to retrieve the data once I receive the newly listed token ...
Bobz's user avatar
  • 514
0 votes
0 answers
80 views

Retrieving active jupiter limit orders for a given pair

I'm trying to add limit order views to a dex project i'm working on, and i cannot work out how to scrape/interpret the active limit orders for a given pair. Has anyone had any success in doing this ...
hhoogg's user avatar
  • 1
0 votes
1 answer
206 views

How to create a LP with my own token on Jupiter? Are there LP-s on Jupiter to begin with?

Let's say, I've deployed a token which I want to be able to swap for SOL via a script. There's an example of how to do it on Jupiter via flash swaps -- "Swap any token to SOL if the user has no ...
kriss100's user avatar
0 votes
1 answer
100 views

Info regarding LP Token

Is there a way to determine whether the LP token has been burned or not? Also, how can I retrieve the LP token associated with a given token address? API or any script I want to provide the LP token ...
Bobz's user avatar
  • 514
0 votes
1 answer
522 views

Swapping a token for SOL on Jupiter. An example from github

I've found this repository https://github.com/jup-ag/sol-swap-flash-fill It claims that it can swap ANY SPL token for SOL. After having examined the code, though, I haven't found any place in it where ...
kriss100's user avatar
0 votes
0 answers
57 views

how managing pool on dexnet for test

Good morning, I've successfully created a token on Solana and I'm now looking to explore liquidity pool options for testing purposes on devnet. Are there any DEXs on the Solana devnet that allow for ...
magdale's user avatar
0 votes
0 answers
130 views

find coins near ATH in any solana dex

Is there any tool that can help me find coins near ATH or any api that can give me OHLC data ? Dexscreener/ dextools does not allow to filter by ath. Cryptorank is available but new pairs are not ...
saf's user avatar
  • 1
0 votes
1 answer
183 views

How to swap assets on-chain on any popular DEX?

I need to create a Program with a function swap_on_dex(...) which will accept an input token with an amount, a target wallet address and execute a swap for SOL (optionally, for other token) on any ...
ursula's user avatar
  • 1
1 vote
1 answer
353 views

CLMM Pool on Raydium

I'm confused about creating a pool on CLMM on Raydium. I'm using the Raydium SDK to create a DEX, but I'm stuck understanding the addresses involved. As far as I understand, there are three main ...
Bobz's user avatar
  • 514
2 votes
0 answers
949 views

How to listen for raydium and other pools live transactions in solana

i want to listen to transactions from pools like raydium or orca and get buy or sell amounts and holder address but im confused about the limitation of the rpc , i don't want to use paid rpc even if ...
The Yoo-Dev's user avatar
1 vote
1 answer
447 views

Creating DEX on Solana

Can I use any package to create the DEX on Solana, or do I have to deploy the Rust contract and then use those contracts for my own DEX?
Bobz's user avatar
  • 514
0 votes
1 answer
1k views

how to determine how many lp locked tokens were burned

so I have the addresses of the new token. I also have the address of the raydium pool. How do I determine how many lp tokens have been burned? I want to do something similar to that functionality from ...
slntrx's user avatar
  • 111
2 votes
2 answers
2k views

create POOL on raydium using JS/TS

I want to create a market ID and pool on Raydium using JS/TS. The transaction has been completed, but it does not appear on Solscan. edited: Create Market Transactions : [ '...
Bobz's user avatar
  • 514
1 vote
1 answer
230 views

How to swap SOL <-> token / vise versa but on-chain (in a smart contract)? On Raydium or SolDex

I'm aware of this question How to interact with router for swap transaction? but mine is different. How to swap a token for SOL or vise versa from within a Solana program/smart contract? That is, on-...
barugaggi's user avatar
0 votes
0 answers
166 views

Trying to do a DEX CPI to perform fully on-chain swaps

I want to create a fully-onchain swap through any clmm dex so for this example I'm trying through raydium even tho I just want to make it work. I'm using the github repo here to import necessary ...
David's user avatar
  • 1
2 votes
2 answers
5k views

Performing a swap

I am clueless on how to perform a swap (ex. USDT to USDC) on the Solana blockchain on Raydium with code. I am currently using @solana/web3 and also not too familiar when it comes to programming. Any ...
stacksolana's user avatar
2 votes
3 answers
2k views

I want to add liquidity into Raydium programmatically

I have developed a presale smart contract using Anchor, and it is currently functional. Now, I am exploring ways to transition to a public sale on decentralized exchanges (DEX) like Raydium after ...
Bheem Coin's user avatar
1 vote
1 answer
2k views

Decoding Transactions

I am learning how to decode solana transactions, how do i decode it like sol scan to get the instructions/swaps for tokens such as raydium? I see a programIdIndex and data, the data is base58 decoded ...
wonton's user avatar
  • 21
0 votes
0 answers
13 views

Withdraw asset from Defi 01

How can I withdraw my asset from 01? we can deposit but cannot withdraw. They closed TG, no one reply in Discord.
user6873's user avatar
0 votes
0 answers
84 views

How to get a token's "pubkey" prior to owning it?

executing the following code using solana's mint address, So11111111111111111111111111111111111111112, I can't get the public key for Solana if I don't have wrapped Solana in my wallet. How can you ...
modalxx's user avatar
  • 43
2 votes
0 answers
1k views

How to get AmmId of a pair of tokens with Raydium pool [closed]

I'm trying to make a swap transaction between USDC and another token. The instruction take the AmmId as a parameter. How can I get that value if I only have the addresses of the tokens?
Bruno's user avatar
  • 21
1 vote
0 answers
95 views

How to have a Sequence of Union while using buffer-layout?

I'm trying to create some layouts for serum-dex Slab accounts, where, export class Slab { readonly header: SlabHeader; readonly nodes: SlabNode[]; constructor(header: SlabHeader, nodes: ...
sayantank's user avatar
  • 435
1 vote
1 answer
96 views

Serum dex Error

i'm trying to do a token swap in my code through serum dex but I'm getting this error Program 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin failed: custom program error: 0x100016b Does anybody know ...
iMEF's user avatar
  • 346
1 vote
0 answers
22 views

dex lab invisibile token in swap

I'm trying to exchange my token on dex lab but I can't do it, because it's not visible in the area "buy my token". You can look here: https://www.dexlab.space/token/...
AlexWin99's user avatar
0 votes
1 answer
34 views

Assets not sent after issuing successful trade transaction on Serum DEX [closed]

We deployed the Serum UI and DEX contract and managed to create orders but for some reason, when trade happens, assets are not sent to seller/buyer.
Brian Nguyen's user avatar
-5 votes
1 answer
133 views

How to convert from USDT (Tether) to USDC? [closed]

I've USDT (Tether) on gate.io (which support SOL or other Solana tokens), but they don't support USDC. In this case, what's the easiest way to convert/swap USDT to Solana's USDC? Is it possible to ...
kenorb's user avatar
  • 529