Skip to main content
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
Results tagged with
Search options not deleted user 6797

Should be used for all things relating to the Anchor Framework.

1 vote
1 answer
285 views

Issues with Using AnchorSerialize and AnchorDeserialize Traits

so I'm looking to create an instruction that creates an account called GamePot that contains a field called TokenInfo that holds the data for what is meant to be any particular SPL token with a mint a …
Brian M.'s user avatar
  • 141
1 vote
1 answer
78 views

Custom Program Error 0x0 When Running Test

I've looked around and I see this is a common error that devs run into based on the fact that an account was already initialized. I'm just wondering how to fix it so that I can run tests without runni …
Brian M.'s user avatar
  • 141
0 votes
0 answers
26 views

Seed Constraint Program Error For Dynamic Account Creation

I have an instruction where on the client-side, I'm passing down a game_id to the instruction to be used as part of the seed because this instruction will be called a lot when new game instances are r …
Brian M.'s user avatar
  • 141
1 vote
1 answer
125 views

How to Handle Shared Accounts for Deposits

So I'm designing a dapp that'll utilize a single account that I want to serve as a pot that all players can deposit SOL into and the winner can claim the entire pot. However, I know there will be bott …
Brian M.'s user avatar
  • 141
1 vote
2 answers
47 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 cont …
Brian M.'s user avatar
  • 141
3 votes
2 answers
396 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 p …
Brian M.'s user avatar
  • 141