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

ERC4626 Solana alternative

I am familiar with ERC-4626 on Ethereum, which is a tokenized vault standard that facilitates the creation of yield-bearing assets by standardizing the interface for vaults and deposit/withdraw...

View Article


How can I develop to purchase NFT in Solana and anchor

Help me please~~~Could you send me a sample code or project?

View Article


Trouble calling method on my DAPP on Devnet using Solathon libs

Trying to use Python Solathon library to store a file hash (fake one) onto the blockchain using a DAPP on Devnet. I think the issue is in how I'm building the instruction (data field in particular)...

View Article

can't launch validator node: Failed to start validator: "PoH is slower than...

trying to start a validator node, getting following error:Failed to start validator: "PoH is slower than cluster target tick rate! mine: 676597124 cluster: 400000000."the node itself has 64 cores and...

View Article

anchor build not working for my project

error: not a directory: '/Users/macbook/.local/share/solana/install/releases/1.18.18/solana-release/bin/sdk/sbf/dependencies/platform-tools/rust/bin'The error above is what i get when i run anchor...

View Article


Solana Transaction Prioritization Problem: Higher Priority Fees & Lower CU...

I have a problem with Solana Transaction Prioritization that seems to contradict all network prioritization metrics. (FYI: I am using Quicknode RPC)Let's look at two transactions:Our transaction...

View Article

Token with a sell tax

My issue is that i want to launch a token that incorporates a custom sell tax as a bot protection. The docs i have read seem to point towards using the Token2022 standard with a custom transfer hook....

View Article

'Transaction simulation failed: Error processing Instruction 0: Provided...

I have a solana program which has the following function in it.pub fn create_vault(ctx: Context<CreateVault>) -> Result<()> { let program_state = &mut ctx.accounts.program_state; //...

View Article


How to airdrop to a randomly generated keypair for tests?

#[test]fn test_create_user_pda() { let wallet = solana_sdk::signer::keypair::Keypair::new();I want to use this wallet as a payer, how do I make an airdrop in a test?Attempt to debit an account but...

View Article


Image may be NSFW.
Clik here to view.

what should I use now?

confirmTransaction seems deprecated !! what to use now ?thanks

View Article

anchor deploy does not work

I try to deploy my contract using anchor, but i get this error:Error: RPC request error: cluster version query failed: error sending request for url (http://127.0.0.1:8899/): error trying to connect:...

View Article

What is the core reason for "Signature verification failed" error?

I am getting "Signature verification failed" error for my program even if there are no constraints for signers in the program (permissionless).Also checked that the signer is properly defined before...

View Article

How do I get real-time information about newly created tokens on Solana?

I want to receive information about newly created tokens on the Solana blockchain with minimal latency. What are some ways to do this?So that I get information about a freshly created token after, say,...

View Article


Candy machine team group allocation configuration

What is the best way to implement some « team allocation » in Candy Machine v3 (sugar)?Maybe a « group » with 0 sol mint price? How do I specify allowed addresses in such a group though?

View Article

Token Not Searchable in Solana Explorer

I have created a new token called UBXP:https://solscan.io/token/HTskJUiHaGzWMEqreucDGJuft3Zco4en2dRkzJ3WRHkh#metadatahttps://explorer.solana.com/address/HTskJUiHaGzWMEqreucDGJuft3Zco4en2dRkzJ3WRHkhWhen...

View Article


How do I store text data in an account

I am trying to store small amount of metadata in an account but it always throws validation error. Do I need to create a custom program because of that? I am new to web3 kinds of stuff.const secret_key...

View Article

IPC node for Solana

For ethereum, we can make IPC calls, if the RPC and client are running on the same machine (eg. in Python, can use https://pypi.org/project/ethereum-ipc-client/).Is there some way to configure a solana...

View Article


General question about fast paced transactions

I'm just curious, what's the fastest pace you guys were able to send transactions programmatically on the blockchain (SOLANA)? (any rpc), I am able to send decently fast transactions with my code...

View Article

Subscribing to Spl token missed transactions

As the title suggests I am subscribing to the logs of a token (e.g. 6ogzHhzdrQr9Pgv6hZ2MNze7UrzBMAFyBBWUYp1Fhitx) using websockets in Rust. The goal is to stream all transactions related to this token...

View Article

Make build fail due to typedef redefinition with different types

I was trying build this example https://github.com/solana-labs/solana-program-library/tree/master/examples/cI was trying build it using make and i am facing this errorerror: typedef redefinition with...

View Article
Browsing all 8612 articles
Browse latest View live


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