Skip to main content
10 votes
Accepted

Is there a way to resize an account's data field?

From the anchor lang 25.0 docs, they have implemented the realloc constraint to give you access to the new functionality of resizing accounts. This functionality is particularly relevant for PDAs ...
Henry E's user avatar
  • 2,949
5 votes
Accepted

How to store data directly on the Solana blockchain?

While the accepted answer indicates No, it depends on your use case: You actually can store data on chain vis-a-vis the transaction you submit. When you submit a transaction the entire content of the ...
Frank C.'s user avatar
  • 656
2 votes

How to store data directly on the Solana blockchain?

Shortly No Transactions are stored in the block. Transactions are called public ledger and a ledger means a record of a business's financial transactions. From here If the program needs to store ...
Yilmaz's user avatar
  • 1,264
1 vote
Accepted

rent handling in storage

Collecting rent will be removed. As of now to my knowledge there are no accounts anymore that are not rent exempt. When an account is rent exempt there is no rent collection anymore. This will enable ...
Jonas H.'s user avatar
  • 7,209
1 vote
Accepted

Reducing rent costs

Firedancer won't directly affect rent, as this is decided on the protocol layer. There is talk around reducing rent though, such as SIMD-0101. You can't create an Account without enough rent to make ...
McBain's user avatar
  • 5,384
1 vote

Problem with initialize storage data (Solana program library)

The quick start guide is for mainnet and your router appears to be uploaded to devnet. I described a bit how to tune it for devnet here. But there might be other changes to configs that are needed. I'...
ASkibin's user avatar
  • 83
1 vote
Accepted

Program balance

Edit: Apologies, I think I understand the question better -- you're trying to basically collect fees from user interaction, and then store those fees in a program account, correct? In order to ...
HelmetFace's user avatar
  • 1,807
1 vote

How does Solana Store the world state?

From the solana docs: If the program needs to store state between transactions, it does so using accounts. Accounts are similar to files in operating systems such as Linux in that they may hold ...
McBain's user avatar
  • 5,384

Only top scored, non community-wiki answers of a minimum length are eligible