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 questions only not deleted user 1098
2 votes
1 answer
306 views

How can I implement something like mapping in solidity with anchor?

In solidity, I can use mapping(address=>string) to store a name associated with an address. I am hoping to do the same with the anchor.
Ajay Yadav's user avatar
1 vote
1 answer
184 views

Access to modify an account by some external accounts?

How can I grant access to some particular wallet addresses to modify an account through an anchor program?
Ajay Yadav's user avatar
6 votes
3 answers
698 views

Where can I get programId after deploying the program through solana playground on devnet?

Here is the account where is the program id that i can use in anchor https://explorer.solana.com/tx/2u1dmgThKZyMUBTAGJCEr5oQivGrufKWhFfQXKpwV1kgv35ymYeTPiTWC8Nx842BJegANKpknVyCZdacmgn17y6q?cluster=dev …
Ajay Yadav's user avatar
2 votes
1 answer
174 views

How can I set a panic in anchor?

How can I modify this Anchor tutorial code in a way so when any non-authority wallet tries to update the count variable it will give a message with an error like only owner can modify the value?
Ajay Yadav's user avatar