Vectorized pfp
Vectorized
@optimizoor
Just wrote a very simple Solana account for claiming SPL tokens with an secp256k1 signature. Nearly died. What can be done under 5 minutes and 73 lines in very readable Solidity has been bloated to 300+ lines of Rust Anchor code that took more than 20 hours. I’m not even sure if it’s correct without spending weeks to write tests. In Solidity, Signatures / Merkle Trees are considered beginner stuff. In Anchor, Signatures / Merkle Tress are considered advanced stuff. And the compilation times… fuck. It’s 10x slower than —via-ir on even the most hardcore Solidity codebases. This makes me understand why they are mostly pushing UX and relabeled memecoins.
4 replies
3 recasts
27 reactions

Sergey Potekhin pfp
Sergey Potekhin
@fastfourier.eth
Are there libraries like oz/solady/... for Anchor? I don't know much about Solana, but given that Merkle tree implementation takes so much hassle, I guess their tps may be solely created by people doing the airdrops the old way 😮
1 reply
0 recast
1 reaction

Vectorized pfp
Vectorized
@optimizoor
this is actually low key friggin genius. Make devX so hard that people contribute to your TPS.
0 reply
0 recast
2 reactions