All Questions
Tagged with account-data rust
3
questions
3
votes
1
answer
86
views
Handle big vector containing ton of structs
I'm looking for a way to handle a big struct.
I want to understand how to create an account storing more than 10_000 structs inside is possible.
Is there a simple way to do it? Or should I have to ...
3
votes
1
answer
163
views
How to decode account data using Rust?
I'm trying to get the account data using Rust and the solana_sdk.
I have the following code where account.data is a Vec.
let pubkey = Pubkey::from_str("...
1
vote
1
answer
312
views
How can any program in Solana read an account of another program? Give an example
The Solana docs states that Any program can read or credit another account.
Ref: https://docs.solana.com/developing/intro/programs.
Please explain this line. Does that mean I can extract all past ...