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 17626

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

0 votes

How to Display Custom Balance of an SPL-Token without Associated Token Account?

This might not be very useful for you but I will still suggest this approach, maybe it helps: in each assosiacted account save the following ratio: user_amount/total_supply, this should only be calcu …
Nika Pestvenidze's user avatar
1 vote
1 answer
133 views

Wrapping Sol results into Error: IncorrectProgramId

I have a PD vault account, I transfer some amount of SOL to WSOL token account for this vault and then I try to call the SyncNative instruction that results into err: 'Program TokenkegQfeZyiNwAJbNbG …
Nika Pestvenidze's user avatar
2 votes
Accepted

Wrapping Sol results into Error: IncorrectProgramId

I finally figured out the problem: I was not initializing the ATA(I assumed it happens automatically when doing a transaction), the owner of the ATA was not the Token Program One more point worth no …
Nika Pestvenidze's user avatar
2 votes

anchor deploy does not work

Deploy: anchor deploy If you are using anchor test, it tries to start the validator itself, if you do not want that use anchor test --skip-local-validator. …
Nika Pestvenidze's user avatar