Skip to main content

Questions tagged [solana-program]

Use this tag for programs that run on the Solana blockchain.

1 vote
1 answer
32 views

I'm trying to initialize an arcium computation definition but keep getting InvalidAuthority error: Error: AnchorError thrown in programs/arcium/src/instructions/computation_definition.rs:76. Error ...
McBain's user avatar
  • 6,898
0 votes
0 answers
28 views

Query: Current assumptions just focus on byzantine nodes dropping the messages. Can we work on checking the lemma under realistic conditions (forging signatures and injecting malicious data), talking ...
user18668817's user avatar
4 votes
1 answer
54 views

As we know, solana allows for 4096 byte large stack frames, so if we write a program like the below pinocchio program we logically get Access violation in stack frame 0 at address 0x1fffffffc, since ...
McBain's user avatar
  • 6,898
2 votes
1 answer
107 views

I want to create a function in Rust to buy a token on Pumpfun with a X amount of SOL. I struggled a bit with the offsets and the account order (I fetch it from https://github.com/pump-fun/pump-public-...
Dan Terry's user avatar
1 vote
1 answer
31 views

Desc When an account uses both init and seeds constraints in Anchor, the generated IDL omits the pda field that should describe the seed derivation. This makes it impossible for client developers to ...
Takshak Mudgal's user avatar
1 vote
0 answers
15 views

We calculate bonding curve spot price using virtual reserves: price = (virtualSol / 1e9) / (virtualToken / 1e6) Observed discrepancy: Calculated spot price from virtual reserves: 3.4056e-08 SOL/token ...
Terminus W's user avatar
0 votes
1 answer
26 views

I am struggling to find correct offset of (tokens reserve) and method to calculate price from the LP notifications data... Can you tell me a method efficient to get price from ws notifications ...
Youness Zarhouni's user avatar
0 votes
1 answer
49 views

A lot of Solana arbitrage discussions focus on theory — comparing prices across DEXs, simulating swaps, or building “paper” bots. However, most of these models fail in live environments because of ...
Xtoshi's user avatar
  • 1
0 votes
0 answers
26 views

I want to use a GRPC based on Yellowstone Geyser but the problem is that I'm on Windows so I cannot use the crate yellowstone-grpc-client since it's only available for Unix system. So if I understand ...
Dan Terry's user avatar
2 votes
1 answer
40 views

unresolved import solana_instructions_sysvar::store_current_index_checked --> src/lib.rs:156:17 | 156 | store_current_index_checked, Instructions, | ^^^^^^^^^^^^^^^^^...
Shutscribe's user avatar
2 votes
1 answer
32 views

I'm pretty new to Solana development and I wonder if there's a SendTransaction method in a Yellowstone Geyser implementation because I didn't see anything related to this in their proto (https://...
Dan Terry's user avatar
0 votes
0 answers
22 views

Solpg is asking for signatures in infinity when deploying while sometime it show insufficent balance Deploying... This could take a while depending on the program size and network conditions. Warning: ...
Krishna's user avatar
0 votes
0 answers
44 views

I just ask this question to know if my code has the right offsets for the Raydium v4 AMM program because it's pretty difficult to find them online. Thanks for the help ! Here is the code : fn ...
Dan Terry's user avatar
0 votes
1 answer
31 views

Title: WalletSendTransactionError: Unexpected error while creating token Description Hello 👋 While experimenting with a dApp, I encountered the following error: WalletSendTransactionError: ...
Shrey Vats's user avatar
3 votes
1 answer
42 views

Reference Transaction 1 Reference Transaction 2 These transactions have failed with the error "InsufficientFundsforRent". However, the program logs do not contain any errors. Is this ...
skran's user avatar
  • 33

15 30 50 per page
1
2 3 4 5
135