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

Pyth V2 migration for projects with older dependencies (pull oracles)

At the end of June 2024, Pyth push oracles will be discontinued, so all programs that currently use them must migrate to pull oracles.The drop-in replacement is to consume Price Feed Accounts. To use...

View Article


How do Solana handle the split brain problem?

How does Solana handle the case of split network?I understand there is always one validator only at any moment, does that mean if you can't reach it you can't make any transaction on Solana?Thank you!

View Article


Streaming pending transactions

How can you stream pending transactions for a specific mint adress?I want to monitor pending transactions with datas like adress, amount, confirmations. etc . In python or js .I imported solders for py...

View Article

IMMUTABLE TOKEN EDIT NAME

Hi I have revoked metadata change, and I see it was wrong, is possible to edit a name from immutable token... I revoked wrong...IT WAS ONFANS same as ticker and is ONLY FANS how the chance I do a fix?

View Article

Recreate SPL Transfer from a `CompiledInstruction`

i wanted to ask if i can decode an existing SPL token transfer from transaction hash only.const transaction = await client.getTransaction(transactionHash!);Returns a TransactionReponse from...

View Article


How to Bridge ERC-20 Tokens to a Similar Contract on Solana Using Wormhole or...

I am currently working on a blockchain project where I’ve encountered a challenge that I hope to get some insights on.Background:I have an existing ERC-20 token contract on Ethereum, which includes buy...

View Article

Image may be NSFW.
Clik here to view.

How to fix this error "TypeError: Cannot read properties of undefined...

This is my code. I don't understand what this error is for. My console shows the account data has been added to the array successfully.for (const accountInfo of allAccounts) { const account =...

View Article

How to Display Custom Balance of an SPL-Token without Associated Token Account?

I'm in the process of migrating a rebasing token from EVM to Solana. The rebasing of the token is achieved by using a rate multiplier modified by an oracle.In order to acomplish this a custom...

View Article


How can I make multisig DAO in anchor?

I am working on DAO smart contract developing using Rust.But I can't find any example of DAO in anchor.Is there any good way?

View Article


How to get the Circulating supply, lp supply and lp burned details of any...

I am working on a solana and raydium project need to know how to get the lp supply, lp burned and circulating supply of a spl-token?

View Article

Can I read solana(lamport) balance changes from simulateTransaction result?

get lamport balance changes from simulateTransaction result{"jsonrpc": "2.0","result": {"context": {"apiVersion": "1.18.12","slot": 297455041 },"value": {"accounts": [{"data": ["",...

View Article

Can I deploy SPL and ATA programs to the same address on a fork of Solana

I’m working on an SVM based network, and having the token and ata programs at different ids causes a lot of manual changes needed. Is it possible to deploy these to the same address as mainnet without...

View Article

Decoding transaction instructions in order to listen to outputs of those...

currently working on a project and it's all coming together nicely apart from this part. So what I want to achieve is listening to instructions, so I'm already subsribed and listening to the address...

View Article


Recent Block Hash Issue with Multiple transactions

I want to do multiple transactions at one, When I tried to execute the transactions it shows that block-hash not found, I guess due to expiration of the block.How can I overcome this issue? Sometimes...

View Article

Get a Solana TX to trigger another TX on chain, and wait for that to complete...

i know it is possible, but not exactly sure the best implementation currently, whether to use CPI or not, to have a solana tx, execute on chain and have 1 instruction in there effectively execute...

View Article


Not seeing transfer fee / tax in solscan devnet

I see that the interface on solscan is slightly different between mainnet and devnet. I was hoping to check my token transfer tax within the transaction in solscan but I can't really see it working. I...

View Article

Transitioning from iOS Development to Solana

I have been a full-time iOS Developer since 2015, and recently, I became interested in Solana app development.To get started, I am currently learning Rust from the official book. I have read that...

View Article


"Error:encoding overruns Uint8Array" when sending transactions?

I tried to compile 2 swaps into one transaction and got this error,Error:encoding overruns Uint8ArrayI know there is a 1232 limit for a single transaction, my question is, is there any way to reduce my...

View Article

i'm confused how did solana wallet works am I doing this right?

this is SolanaProvider.jsimport { Provider } from '@modules/core/provider/base/Provider';import axios from 'axios';import {Connection, PublicKey, clusterApiUrl, Transaction, SystemProgram,...

View Article

Getting error when trying to implement geyser in my code...

I'm getting error when trying to implement geyser, my OS is windows 10, mentioning it because maybe it can be the issue.Anyone knows how I can implement it without getting those errors?ThanksRustup...

View Article
Browsing all 7855 articles
Browse latest View live


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