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 |
1
vote
1
answer
84
views
Is it possible to serialise/deserialise a String in an on chain data account?
I was hoping to have an on-chain data account that stored a string that I could update dynamically from off-chain. … From what I understand though a string is a growable, heap-allocated data structure, so is it actually possible to do this? …
3
votes
1
answer
186
views
Creating a data account per user of your program?
The program keeps track of the users and their bid amounts in its own data account (just an array of pub keys and an array of u64 amounts). … Does it make sense to try and create a data account for each user which just stores their current index into that array? …