Zensen
@Zensen977
Exploring @solana
🧠🧠🧠 Solana is training grounds for cracked Linux kernel plumbers
I've built a Solana vault entirely in sBPF assembly. No Anchor. No Pinocchio. check it out here github.com/bidhan-a/sbpf-… (it has tests too) Vaults are essential in pretty much all DeFi apps so this should be a good building block for writing more complex assembly programs.
I've built a Solana vault entirely in sBPF assembly. No Anchor. No Pinocchio. check it out here github.com/bidhan-a/sbpf-… (it has tests too) Vaults are essential in pretty much all DeFi apps so this should be a good building block for writing more complex assembly programs.
I sat down with @alessandrod, the man making the fastest blockchain in existence even faster From his GStreamer roots to working with XDP, he explains how four engineers are out-shipping entire organizations on the @heliuslabs blog: helius.dev/blog/solana-pe…
The new Pinocchio Secp256r1 Vault challenge from @blueshift_gg is absolutely epic. Try it out here: learn.blueshift.gg/en/challenges/…
Spent some time today working with PDAs in sBPF Assembly. Now I know exactly what find_program_address does under the hood in Rust. Here’s a minimal program with tests showing how to derive and validate PDAs - github.com/bidhan-a/sbpf-… It uses these syscalls: -…
Sunday well spent digging into sBPF Assembly. I've started building a debugger for it now💀
Diving thru Solana's syscalls..I finally "get" why we do &[&[&[u8]]] in Rust for CPI signer seeds - &[u8] -> an individual seed - &[&[u8]] -> slice of seeds for one signer - &[&[&[u8]]] -> slice of signers
![Zensen977's tweet image. Diving thru Solana's syscalls..I finally "get" why we do &[&[&[u8]]] in Rust for CPI signer seeds
- &[u8] -> an individual seed
- &[&[u8]] -> slice of seeds for one signer
- &[&[&[u8]]] -> slice of signers](https://pbs.twimg.com/media/GuHvTKQXQAA5z3U.jpg)
Cool, my small sBPF program made it into this week's codex. thanks @mikehale
This week's @colosseum Codex is out featuring: 🔒 @rektoff_xyz Solana Bootcamp 👁️ @SquadsProtocol Passkey Support 🔎 Anchor Studio by @Pratikdevv 🎓 @blueshift_gg 2.0 ✍️ @heliuslabs Builders Series 🎨 @SuperteamNG Design Bootcamp ⚓ Anchor v2 Discussion And more in 🧵👇
man, look how clean this is: github.com/bidhan-a/sbpf-…
If you're writing sBPF assembly programs, sbpf.xyz is an awesome tool. I got rid of so many lines of code and now the program looks much cleaner. ty ser @deanmlittle

While waiting for @blueshift_gg to drop the ASM course, I got too curious and started diving in myself. I wrote a program to transfer lamports and ngl it was a lot of fun. Next up: CPI in pure assembly.

Been building a mixer on Solana using zk-SNARKs (inspired by the OG @TornadoCash, ofc). It's been a fun ride. Loved working on the Solana program. Frontend...not so much, but it's getting there. Special thanks to @RareSkills_io for their awesome ZK book, which helped clear up a…

IMO, meta-programming is one of the best features of Rust. Writing macros makes you feel like a literal God.