Skip to main content

All Questions

Tagged with
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 ...
GoT's user avatar
  • 75
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("...
lifeInspection's user avatar
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 ...
Suvadra Barua's user avatar