-
Agave: AccountsDB Deep Dive: explainer on how Agave's accountsDB works - we needed to understand how Agave worked first before starting Sig's AccountsDB implementation, which as a consequence lead to organizing docs on Agave.
-
Sig: AccountsDB Deep Dive: explainer on how Sig's accountsDB works and how we optimized it in Zig (including benchmark results).
-
Sig: Progress Update on AccountsDB, RPC, Gossip: a lot of Zig content including fast hashmap implementations, preallocating memory, and more (the accounts-db section was me).
-
Sig: How Solana's Gossip Protocol Works: technical explainer on Solana's gossip protocol and how its implemented.
-
Sig: Solana's 3rd Validator: were building a Solana node in Zig from scratch! also includes why and how were gonna build it.
-
Building Blocks in the Solana-Labs Validator (TPU): how blocks are built in the solana-labs validator client.
-
Solana's Transaction Validating Unit (TVU): how Solana's TVU verifies, processes, and votes on new blocks from the network.
-
Sending Transactions and Open-Source RPC Projects on Solana: how sending a tx to a RPC on solana works, and two interesting open source RPC projects.
-
ETH State Managment: Trees, Treis, Tries: iteratively implements blockchain state storage, ultimately explaining how ETH does it.
-
Zero-fee, Zero-slippage, Revenue Generating, Perps Dex: how we can build a zero-fee, zero-slippage, perps dex that still earns $$.
-
LPs for Token and Perp AMMs: Uniswap-v2 and Drift-v2: implementation overview of liquidity providers for Uniswap-v2 and Drift-v2.
-
Consensus 101: The Dolev-Strong Protocol: python implementation of the Dolev-Strong Protocol which works even with 99% evil nodes.
-
Fuzzy Testing and Large-Scale Simulations For Improved Protocols: how fuzzy testing and large-scale simulations can help improve blockchain protocol security by discovering bugs and anomalies that simple unit tests cannot.
-
Drift V2: DAMM JIT: new feature that allows the AMM to take a slice of maker orders so its long/short imbalance is always guaranteed to improve; the protocol essentially frontruns maker orders (PEV example irl).
-
PEV: Protocol Extractable Value: how protocols are in the position to extract value (which is currently being extracted by validators) that can generate more revenue for the protocol's dao, treasury, or users.
-
ZK 101: Schnorr's Protocol: one of the simplest ZK proofs in the book: proving you own a private key without revealing it (python code included).
-
RSA Public-Key Cryptography: proof that RSA public-key cryptography encryption and decryption works.
-
The Evolution of Margin in Crypto: The Birth of Perps: brief overview about understanding the pros of perps and how they work in a PvP and PvE setting.
-
Rust Macros and Arbitrage Bots on Solana: practical example of how to use rust macros. The example includes writing an arbitrage bot for Solana.
-
A New Perspective on BTC's POW: short post on how BTC's POW is a decentralized clock which doesn't require any coordination/agreement on time.
-
More Solana Rust Client Diagrams: rando diagrams which never made it into a blogpost but still could be useful.
-
braindump: PBFT and blockchain consensus: brain dump on some thoughts of PBFT and blockchain consensus algos (btc, tendermint, solana).
-
Random Gists: rando code snippets
-
Random Thoughts: Zero Knowledge to BulletProofs: random thoughts of mine while learning how bulletproofs/vector-commitments/range-proofs/ring-sigs work.