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 ...
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 ...
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 ...
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 ...
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 ...
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'...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
storage × 8rent × 2
anchor × 1
solana-program × 1
transactions × 1
pda × 1
program × 1
javascript × 1
data × 1
space × 1
account-data × 1
upgrade × 1
database × 1
deploy × 1
anchor-accounts × 1
state × 1
vault × 1
data-storage × 1
core × 1
instruction × 1