Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

How does SOL accounting work in non-rent-exempt programs?

I wonder how does one reason about SOL accounting in non-rent-exempt Programs? It seems to me that static analysis of a Program's balance is impossible besides just assuming that it changes on each ...
Paul Razvan Berg's user avatar
1 vote
3 answers
707 views

Can anyone close non-rent-exempt accounts?

This statement from Alchemy's tutorial has caught my attention (emphasis mine): To reclaim Solana storage fees, developers and everyday Solana users can close accounts to receive their storage fees ...
Paul Razvan Berg's user avatar
2 votes
1 answer
38 views

Can the state of removed Programs be recovered after they failed to pay rent?

From the docs on rent: Accounts that do not maintain their rent exempt status, or have a balance high enough to pay rent, are removed from the network in a process known as garbage collection. What ...
Paul Razvan Berg's user avatar
11 votes
2 answers
3k views

How can I calculate the cost the deploy a progam to main net?

I want to deployed a program to main net would like to figure out before hand how much it will cost. For accounts I can just calculate it by counting the bytes to be rent exempt but how do I do that ...
Jonas H.'s user avatar
  • 7,209