.@Solana Anchor v2 pro tip #1: Slabstraction
`Slab<Header, Entry>` account abstractions overload everything you need for dynamic lists, shrinking blocks of CPIs into a single attribute
Shout out to @NotDeGhost for this, and for fixing everything I find in beta testing
26 LLM routers are secretly injecting malicious tool calls and stealing creds. One drained our client $500k wallet.
We also managed to poison routers to forward traffic to us. Within several hours, we can directly take over ~400 hosts.
Check our paper: https://t.co/zyWz25CDpl
When it comes to validator nodes, even if you set the rules, you need sufficient stake to enforce them. If you don't have enough stake yourself, you'll need participants who agree with your rules to enforce them collectively. That's essentially consensus.
Anchor v1.0.0 is live
v1.0.0 is the first stable major release of Anchor. Here's what's new:
- No more Solana CLI dependency
- Surfpool & LiteSVM as defaults for faster testing
- @ anchor-lang/core — new home for the TS package
- Migration<From, To> for account schema upgrades
- Lifecycle hooks in Anchor.toml
- avm self-update- declare_program! instruction parser
- Duplicate mutable accounts rejected by default
Installation instructions 👇
@cavemanloverboy Bro, I've noticed you've picked up some tricks that most AIs aren't familiar with. You figure them out and feed them back into the AI, so next time I use it, I'll have those techniques at my fingertips.