Search Results
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 |
0
votes
1
answer
31
views
CustomAccount deserialization issue
I have this piece of code, it skips the first 8 bytes of the account data as that's the descriminator
pub struct CustomProgramAccountStruct {
pub pubkey: Pubkey,
pub authority: Pubkey,
pub …
2
votes
1
answer
41
views
On-chain program security related question (non-anchor)
What checks or kind of security should I implement if I'm developing an onchain program without using Anchor-lang? …
0
votes
1
answer
92
views
Convert solana wallet to custom program owned wallet
Is it possible to convert a system program owned account which has sol and other spl tokens in it to a custom program owned account and still retain all the items the account previously had? …
0
votes
CustomAccount deserialization issue
The pubkey property in the struct was causing the issue. The account data doesn't have that property.