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

@solana/wallet-standard-... libraries has no valid source code in git repo...

Hey guys is somewhere last version source code of @solana/wallet-standard-wallet-adapter-react because source code in npm repo for old version i think. There is no a lot of functions which exist in npm...

View Article


Geyser notify_transaction pre broadcast

If you use a geyser plugin to notify_account and notify_transaction, does it only notify after track banking stage in broadcast stage? Or does it notify on validator receipt of transaction and account...

View Article


Are Transactions executed before they're forwarded?

To be more precise, I'm asking if transaction forwarding and execution takes place concurrently.Imagine it this way:Leader receives transaction XYZ and as soon as the transaction is scheduled, the...

View Article

How is a Solana wallet created behind the hood?

I realize that the private key is generated based on the ed25519 algorithm and that the public key is extrapolated from the private key, but I am wondering how does the actual connection get made...

View Article

How do I rate limit and explicitly perform a JSON-RPC batch request?

I noticed in the library README for the experimental web3.js SDK that two of the motivations for the API design are:Solana developer ‘epicfaace’ wanted first-class support for automatic time-windowed...

View Article


Decoding and Extracting Data from complex string in base58

I want to extract the following information from a base58 encoded string:{"name": {"type": "string","data": "PuppyPizza"},"symbol": {"type": "string","data": "PUPPYPIZZA"},"uri": {"type":...

View Article

How to set contract ATA's authority to my program

I know how ATA and PDA works. I know that an ATA is a PDA, and so the account which the PDA was derived from is the one that can sign transactions for this PDA.So, I assume that a contract's ATA's...

View Article

Image may be NSFW.
Clik here to view.

solana_net_utils::ip_echo_server Error

When I setup rpc node, error as follows:and solana.log has not updated other logs.The node started and downloaded the snapshot, and the startup process lasted about 6 hours, after which this error was...

View Article


Hi, I was developing a program & deployed it using solana playground, got...

So issue is it showed it had to confirm 238 transactions, although it completed 237 successfully, it couldnt retry last tx and that didnt chain onchain and my SOL just never came back, how do I claim...

View Article


Trying to retrieve on my frontEnd some account info

I am trying to use a minimalist example to get a feeling of how Solana/Anchor works.I am using anchor-cli v.0.30 and solana v.1.18.15.So I followed some basic tutorial to count the amount of time a...

View Article

Community take over

Please guide me on the process or contacts available for managing the token pool, as initial developer of our token sold his bag of tokens and abandoned the project.Our community has taken over the...

View Article

Can I use Either in anchor instruction?

An example is a thousand word. Is something like this possible:#[program]pub mod cross_chain_swap { use super::*; pub fn my_fn(Either<Context<Instruction1>, Context<Instruction2>>)...

View Article

How to test my solana program code by rust on beta.solpg.io?

I have a rust solana program code on beta.solpg.io.After development, I am about to test my code but I don't know how to do it.I copied deposit and withdraw program sample code on github, but I don't...

View Article


Deploying program with sol_remaining_compute_units() gives "invalid account...

Including something likemsg!("remaining compute: {}", solana_program::compute_units::sol_remaining_compute_units());will lead to error when deployingRPC URL: https://api.devnet.solana.com Default...

View Article

Transferring custom token to a phantom wallet

I'm just beginning as a solana blockchain developer and I was just wondering, how can I transfer custom tokens on solana devnet to another wallet. It's been confusing me for a bit now.

View Article


Error: unknown signer in Anchor program

I have this simple solana/anchor app written in Rustuse anchor_lang::prelude::*;declare_id!("4ahwNyytPQ9cUguDLz9fcjbzEBMM4jsaVfYxTUV4Sf7r");#[program]mod myanchorapp { use super::*; pub fn create(ctx:...

View Article

How to setup local solana validator RPC for a team about 5 PC

I want to setup a local solana validator RPC for my team, Devnet sometime gets bottleneck or something else, so I want to setup a localnet for my team. Any one can help me.

View Article


What's the difference between 'createInitializePermanentDelegateInstruction'...

The createInitializePermanentDelegateInstruction sets a permanent delegate for a mint. But then why do I need to use the approve method?

View Article

Image may be NSFW.
Clik here to view.

how do I use the anza-xyz/wallet-adapter with my create-react-app?

currently I have a css/react.js widget made in C:\Users\Keola\Desktop\MyToken-ICOWidget\Project\React-Widget\ico_widget which looks like this: (so far) I want to tie in the wallet adapter to the widget...

View Article

USDT received from Binance, but impossible to send or swap them

I made a withdrawal of USDT from binance to my personal wallet which I use daily for defi etc.Together with this "new" USDT received from Binance, I have like 16 usdt on my wallet, and these can be...

View Article
Browsing all 7869 articles
Browse latest View live


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