All Questions
Tagged with spl-token-program solana-program
12 questions with no upvoted or accepted answers
2
votes
0
answers
136
views
Error processing Instruction 0: custom program error: 0x26
----> TX ├─ Signatures[len=1] │ └─ 4UJPHEtrmksnNrX2DemwZHkyPDsYwtNgLvezzymzULjbuRB6QSEnFwig46rTD3j3kBUw1jFnaRRVi9FTUBG1UWiP ├─ Message │ ├─ Version: legacy │ ├─ RecentBlockhash: ...
1
vote
1
answer
495
views
How to charge transaction fee in my token insteed of SOL if any one tranfer my XYZ token they pay in XYZ instead SOL, Ithey don't need to hold SOL
I'm seeking for help any body can help regarding spl, token, I'm working on app it has in app wallet, if some did dum task I'll provide my token as mining reward, so what I need that, when they ...
1
vote
2
answers
1k
views
How to get the price of an spl token relative to solana?
The thing is that I need to calculate the price of a tokan in sol or in usd. I would use one of the publicly available APIs, such as birdeye or jupiter, but they do not display the price of tokens ...
1
vote
0
answers
119
views
How to fetch all Tokens that are present in a user's wallet with all the details like mint, amount and metadata of the mint?
I would like to get all the Token's that are present in the wallet address of a user with its balance, mint address, and the metadata of the Token. What's the Ideal way of doing it
0
votes
0
answers
12
views
token swaps on amm supported dexs on solana
i am a new to solana development just started exploring it yesterday before that i am doing development on etherum and other evm compatible chains from last 2 years.
i have a question for people who ...
0
votes
0
answers
29
views
Swap transection is successful and fee deducted but no swap happend
I am trying to build a node js app that take my Tatum.io solana wallet address which have SOL and USD-Coins and make swap. I want to convert USDC from my wallet to SOL or convert SOL to USD-Coins. the ...
0
votes
0
answers
26
views
when i am creating 'create-extra-metas' using cli i am getting 'invalid program argument' Error
../../target/debug/spl-transfer-hook create-extra-metas HooGStFZgkeZ5wCSg9vHtuEYBSotB26tVEvXra4PEKYJ MoxLrhGXAjVnEiVAjG5ycQbp9MVd4sjfj1yLPFVXhkh
error: send transaction: error: send transaction: RPC ...
0
votes
0
answers
25
views
How do I create customized Solana SPL or SPL 2022 contracts with these specific security functions
How do I create customized Solana SPL or SPL 2022 contracts with these specific security functions?
''The function I wanted in this contract is that only the developer's wallet can apply the token's ...
0
votes
1
answer
119
views
'Octal escape sequences are not allowed in strict mode' error when generating keypair
I started Solana and web 3 dev recently
Have been having this issue for like 3 days, tried checking online for solutions and nothing.
Please help anyone
CODE
import { Keypair } from "@solana/web3....
0
votes
0
answers
96
views
solana pnft staking program
I'm trying to escrow the user NFT in the stake instructions bu using transferbuilder and using sign invoked with master edition nft as i assume it has the freeze authority on pnfts
and getting this ...
0
votes
0
answers
1k
views
How to listen to liquidity burns on the solana chain
Using the solana websocket url I'm listening to the solana blockchain logs and then filter those logs based on a certain criteria.
async function main(connection, programAddress) {
console.log("...
0
votes
0
answers
106
views
Is there a Solana program that can facilitate the sale of an NFT to the highest bidder?
There is a use case where an NFT might be available in an auction where multiple bidders compete with SOL to win the NFT when the auction time expires. However, if an application is designed to trust ...