Skip to main content

All Questions

Tagged with
0 votes
0 answers
26 views

My ownership transferred to another program. How can i set it back to systemprogram?

Scammer transferred my program to another program. Now my wallet is assigned to his program. So I it can't pay for transaction fees anymore. How can I set it back to system program to recover ?
Coşkun Kömürcü's user avatar
1 vote
2 answers
45 views

Is There a Limit To How Many People Can Transfer SOL Into a "Pot" Account?

I'm building a game and want to give players the ability to pool SOL into a PDA account that is distributed to the player that wins. I've read about write-locked accounts, but usually only in the ...
Brian M.'s user avatar
  • 121
3 votes
2 answers
333 views

Program Test Error: Error Processing Instruction 0: Program Failed to Complete

I have a program with 6 instructions, they all pass and this is the last one before I move client-side and server-side. In the prior instruction, I successfully use invoke() to transfer SOL from the ...
Brian M.'s user avatar
  • 121
4 votes
1 answer
208 views

How can I do one cross-program-invocation with multiple instructions?

in a nutshell I'm wondering how to send one CPI call with a vector of Instructions. Here's an example: I noticed there's a function in the solana_program Rust crate called: solana_program::...
Joe C's user avatar
  • 1,086