
gilbert
@0xgib
Cofounder of 0xMacro.com • Author of LearnEVM.com • Chewing on the next big thing in defi @-secret-
When transferring all SOL out of an account on Solana (aka "closing" the account), the account doesn't actually get removed until the end of the transaction.
Done naively, this allows attackers to reuse or reinitialize the account, potentially draining funds from the protocol 🫢
1
3
6
Solana's official "Token Program", released in 2020, serves as an "ERC-20"-like program for creating fungible and non-fungible tokens.
Interestingly, a new "Token-2022 Program" was developed, stemming from an issue with Solana's programming model.
0
1
2
Solana programs do not have overflow/underflow checks on by default. You must enable them by setting `overflow-checks = true` in your Cargo.toml
1
0
0
Meant to post this in this channel:
0
0
2
Update: Solana does still not have slashing implemented
2
1
2






