New answers tagged account
0
votes
run across an verify interesting account on browser, how to the holder spend it?
Yes, The account you’re looking at is an off-curve Program Derived Address (PDA). PDAs are special accounts that don't have private keys and are instead generated programmatically using ...
0
votes
Need help in importing wallets to my phone
I think the new wallet might not share the seed phrase as the old ones, so it's not showing up.
Try exporting the private key and import it using this method.
1
vote
Efficient way to get Account age?
The code example that Bojan provided only gets you the age of the first transaction of the function call getSignaturesForAddress, which could be either the actual first transaction or the 1000th ...
0
votes
Error creating new account using mint
This works instead
spl-token create-account mntZFtv8SvH6trqeSwvTGPVSXXXXXXXXX reserve.json --immutable
1
vote
Error creating new account using mint
You might be trying to create the token account but the signer of the tx doesn't have funds to perform this operation.
Can you airdrop some SOL to the signer of the transaction.
solana airdrop 2
0
votes
Transfer SOL out of PDA owned wallet account
&system_instruction::create_account(
initializer.key,
pda_account.key,
lamports,
space as u64,
***program_id***,
...
0
votes
how to close an account
After going through the docs, there isn't an instruction to close the MarginfiAccount
The withdraw instruction doesn't close the account -> https://github.com/mrgnlabs/marginfi-v2/blob/...
0
votes
My account has become a Token Account, how can I solve it?
Same happened with me, My account is also become a Token Account. and It's ownership shows someone else. please check details below :
My wallet :
https://solscan.io/account/...
2
votes
Accepted
Can Other Programs Write to PDA Accounts even if the `Account` type is used and the ownership is checked?
Can other programs write to p1? No. Only the account owner has write permissions for Solana programs and can modify the data.
If you have a write_data instruction in your program p1 without any signer/...
1
vote
Accepted
How can i close wsol account
Since wrapped SOL is an SPL token account, you can retrieve the amount used to create it by closing the account.
using the spl token CLI
spl-token close --address <TOKEN_ACCOUNT_ADDRESS>
ref: ...
Top 50 recent answers are included
Related Tags
account × 250anchor × 85
solana-program × 57
pda × 36
account-data × 23
transactions × 18
rust × 15
associated-token-account × 14
web3.js × 13
token × 11
wallet × 10
program × 10
spl-token × 10
rent × 10
fees × 9
anchor-lang × 9
cpi × 8
seed × 7
balance × 7
solana-cli × 7
mint × 7
transaction × 7
phantom × 6
transfer × 6
signature × 5