Quantcast
Channel: Recent Questions - Solana Stack Exchange
Browsing all 7855 articles
Browse latest View live
↧

Who owns the Upgrade Authority for the SPL Token Program?

See title.We know that the Upgrade Authority is not closed on the Solana SPL Token Program, so who owns it, and is there clear ownership tree or planned changes to be made to the SPL Token Program?

View Article


SPL-TOKEN with token extensions enabled specifically transfer hooks ... would...

Follow on question from my earlier (and first) question regarding SPL-BURN instruction...If I have an SPL-TOKEN with token extentions enabled, specifically the transfer hooks extension ... if a user...

View Article


Sending transaction that expiry early instead of 150 blocks validity

How do I send transaction which only valid for next X blocks, instead of default 150 blocks / ~ 1 minute (https://solana.com/docs/core/transactions#recent-blockhash).I need the transaction to fail...

View Article

How to convert Compiled Instructions to RawTransaction

This is what i get in versioned...

View Article

Cannot use 'in' operator to search for 'vec' in pubkey TypeError: Cannot use...

I am getting this error while trying to interacting with the solana program from react front-end :-import { createContext, useState } from 'react';import { useAnchorWallet } from...

View Article


Unable to use getOrCreateAssociatedTokenAccount for accounts that don't have...

I am using the wallet-adapter-react with spl-token and web3.js libraries. I can send an SPL token to an account that already holds it, but I cant seem to send anything to an account that was just...

View Article

Deploy a program from another program

I'm trying to build a bridge and I need to create pools in both chainsIn Solidity, I would be creating a contract that deploys and manage individual pools, but not sure if that can be achieved in...

View Article

Solana program upgrade priority fees

In Solana CLI 1.18 there is --with-compute-unit-price param on program deploy, but when looking for the same param on 'solana program upgrade' there is no such flag.As a consequence, all of 500+...

View Article


Why newly created pool id is not in...

Why newly created pool id is not in https://api.raydium.io/v2/sdk/liquidity/mainnet.json

View Article


Ts broken? methods doesn't compile

So i've written a small program and it builds and deploys correctly. Initialize function also works.But now I'm trying to create a Lottery and ts keeps repeting type error or something like that, the...

View Article

Cost of creating Spl-Token is higher when I use my own rust code than using...

We have been trying to creating SPL Token and found that if I want to create using Pink Sale the cost is 1 Sol, if we use CoinFactory its ~0.11912 SOL and using CoinTool is about ~0.02116 SOL.When we...

View Article

'Octal escape sequences are not allowed in strict mode' error when generating...

I started Solana and web 3 dev recentlyHave been having this issue for like 3 days, tried checking online for solutions and nothing.Please help anyoneCODEimport { Keypair } from "@solana/web3.js";const...

View Article

Is it normal that airdrop is so difficult to use? [duplicate]

I have a wallet that I use for my testing. I'm an experienced dev, but basically just starting in Solana. I'm trying programs and new features and need to get going on the projects but of course need...

View Article


How can I access the 'Retry-After' HTTP response header while using...

I've been trying to use the @solana/web3.js library to send RPC requests for transaction data but I'm getting hit with the following error:Error: 429 Too Many Requests:...

View Article

Image may be NSFW.
Clik here to view.

Transaction block inclusion question

I am trying to buy a token right when it becomes available on pump.fun. Now the problem I am having is that my transactions take too long to be included in a block. This is one of my transactions that...

View Article


Using Anchor 26 and lower with Ubuntu 22 or newer

Anchor versions 28 and above build fine on Ubuntu 22 LTS. However, some of our programs are old and still require maintenance with older versions of Anchor.Anchor 26 and below, built with avm install...

View Article

How I can create a wallet from keypair in frontend?

I want to sign some view transactions in frontend using a random keypair instead of wallet provider like phantom or solflare to avoid Approve popupI tried to create wallet like this:import { Wallet }...

View Article


"User token input does not match amm" error [duplicate]

i getting the below error, how fix it?Operation (SWAP):USDC(EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) ->SOL(So11111111111111111111111111111111111111112)Liquidity Pool(Raydium):...

View Article

Partial SPL swap using raydium sdk

I have problem, because I have script, which is buying tokens and then selling it base on set criteria, but it's not working as I would like. Main problem is, whenever I do, script is selling entire...

View Article

Code to subscribe to transactions calling a specific instruction in Token...

I would like to receive transactions only if the Token Program: SyncNative instruction is called, not on all instructions of a given program. Could you help me with the code to solve this problem?

View Article
Browsing all 7855 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>