All Questions
2 questions
0
votes
3
answers
78
views
Is it a waste to implement HashMap via PDAs when the value type is only a bool?
When writing smart contracts for EVM chains, I can define a mapping(address => bool). When it comes to Solana, I think I can only use PDAs to achieve the same thing? Is my understanding correct?
If ...
1
vote
1
answer
154
views
PDA rent exemption collection to transaction fee payer error on account close
In a transaction, I’m trying to close an ATA and a PDA.
The ATA is closed by calling close_account from the SPL Token 2022 crate / On Chain Program, and the rent exemption can be sent without any ...