Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
What is this person doing?
i saw many people giving you wrong answers.
What's happening in reality is that this guy is frontrunning people.
It's an MEV BOT
Example below :
0
votes
cargo build-bpf no such command: `+solana` running build:program-rust
This error has to do with a deprecated version where as before it would use cargo build - bpf but got deprecated wich probably means ur anchor cli its also deprecated.
Btw why are you calling this :np …
1
vote
ELF error when trying to deploy solana anchor program
When using the anchor framework you should use the anchor deploy command.
If it's the first time building the project you should run the anchor build command. This will compile your project and instal …
0
votes
Collaboration when developing a Solana program
I would say syncing the locally used keypairs.
deploy the keypair of the programs /target/deploy
add [programs.localnet] for testing.
0
votes
Unable to create a PDA TokenAccount using anchor constraints
1- The seeds of your position acc are wrong.
This is incorrect- b"pos".as_ref().
Use this instead:
seeds = [b"pos", details.key().as_ref(), nft_mint.key().as_ref()],
2
votes
Accepted
Raydium AMM Program Instruction "custom program error: 0x16"
the reason you're encountering this error is because the LP you've created has an opening time set for 2024/3/28 at 16:22:26 UTC.
Have a nice day.
0
votes
How to correctly store pda bump
Usually, when initializing a PDA, it's advisable to store the bump within the PDA itself. However, there are instances where bumps can be saved in a different PDA.
For example, consider a config PDA A …
2
votes
Accepted
Send SPL token from PDA to ATA
Here's an example using the anchor_spl::token_interface::transfer_checked function to transfer SPL Tokens from a PDA to an ATA.
use anchor_spl::{
token_interface::{
TokenAccount,
…
1
vote
Failed Token Develop and Lose Money :)
regarding the metadata question .
First you need to create an UMI connection:
const umi = createUmi('https://api.devnet.solana.com');
const keypair = umi.eddsa.createKeypairFromSecretKey(new
Uint8Arr …
1
vote
ERROR WHEN SENDING A TRANSACTION
Hey there so whats happening is that your function doesnt do nothing. All you do is throwing an Ok. To fix this you can do :
pub fn init_master(ctx: Context<InitMaster>, seed: u64, last_id: u32) -> Re …