Skip to main content

Questions tagged [rent]

2 votes
1 answer
32 views

In Pinocchio 0.10.1, Rent::get()?.minimum_balance(DATA_LEN) has been deprecated. So I am trying to use the Rent::try_minimum_balance() let rent = Rent::from_account_view(my_account)?;// fails to run ...
Russo's user avatar
  • 653
1 vote
2 answers
71 views

I'm building a survey system that needs to store up to 20,000 encrypted responses (~5.8MB total). Each response is 288 bytes (256 encrypted data + 32 byte commitment). What I want: Pay rent ...
MaxLuong's user avatar
1 vote
2 answers
61 views

Is it possible to customize where the rent deposit and the wrapped SOL go when closing a WSOL associated token account? For example, say I have a WSOL ATA that I want to close. Ideally, I’d like the ...
Hau Chu's user avatar
  • 11
0 votes
1 answer
58 views

I'm building a password manager on Solana where users can store encrypted credentials on-chain while keeping metadata (site, username, etc.) in a database. Right now, I’m deciding between two storage ...
Joshua W's user avatar
3 votes
1 answer
60 views

Going through the tutorial on how to create a Solana Account here https://solana.com/developers/cookbook/accounts/create-account And in the example the space of the account is set to 0. My question is,...
Finlay Weber's user avatar
0 votes
2 answers
89 views

My anchor deploy on mainnet is stuck for over 1 hour at: 18.6% | Resending 359/359 transactions The deployment SOL (~3.11 SOL) has already been removed from my wallet. I'm concerned about losing these ...
Alan Bertani's user avatar
0 votes
0 answers
116 views

I know that this is a question that has been asked a few times before, but i can't wrap my head around it and all the answers that have been given weren't helpful. What i'm trying to do: Send the ...
Thomas Gordan Herbert's user avatar
0 votes
0 answers
334 views

I did several quick scalps on tokens on BullX exchange (pump fun tokens migrated to raydium) and got unrealistic amounts of rent fees. I traded small amounts, so basically it wouldn't be big money, ...
Matyi's user avatar
  • 1
0 votes
1 answer
84 views

When upgrade a program, I think it should just adjust the rent if not enough. But from this upgrade tx: https://solscan.io/tx/...
Eric's user avatar
  • 443
1 vote
1 answer
180 views

I'm curious if there's any platform or tool that provides real-time tracking of the total amount of SOL locked across all Solana accounts to cover the rent requirements. And if such a tool doesn't ...
Iaroslav's user avatar
  • 313
1 vote
3 answers
418 views

I programatically made a small deposit in a stablecoin clmm pool on Raydium. I noticed some SOL was also taken from my wallet, and from what I understand it was to create new token accounts and ...
Mikey's user avatar
  • 37
0 votes
1 answer
233 views

Accounts require a rent deposit in SOL, proportional to the amount of data stored, which is fully refundable when the account is closed. But the thing that confuses me is that if i have a phantom ...
Ahmad's user avatar
  • 31
1 vote
2 answers
322 views

Say I have an token address, it contains some usdt. If I close the token address, by withdraw all sol. Will the usdt (and any other tokens) in that address lost ? If it's lost, is there any way to get ...
Eric's user avatar
  • 443
0 votes
1 answer
256 views

In my test: token account: 165 bytes, need rent 0.00203928 sol account: 0 byte, no need rent. Questions: Can you confirm that normal account's size is 0 byte? Is it because the sol balance is ...
Eric's user avatar
  • 443
3 votes
1 answer
128 views

Given that new Solana accounts must be credited - at creation time - with enough SOL to be "rent-exempt", the balance of an account isn't allowed to go below its corresponding minimum "...
Iaroslav's user avatar
  • 313

15 30 50 per page
1
2 3 4 5