New Approach to Formal Verification Methods for Combating Vulnerabilities in Smart Contracts

Embedding formal specification constructs directly into programming languages could revolutionize smart contract development and eradicate vulnerabilities in smart contracts.

March 12, 2025

Pocket exchange with UniswapX and 1inch Fusion

We compare UniswapX’s RFQ→exclusive-then-open Dutch two-stage auction with 1inch Fusion’s classic Dutch model to show how intent-based swaps curb MEV, failures, and liquidity fragmentation for better market-making.

November 12, 2025

Preparing Polkadot pallet Balances for Formal Verification

Preparing Polkadot pallet Balances for formal verification by reimplementing it as an Ink! smart contract for isolated analysis.

November 3, 2025

Introduction to Fully Homomorphic Encryption

An introduction to Fully Homomorphic Encryption (FHE), a cryptographic technique that allows computations to be performed on encrypted data without needing to decrypt it first.

October 27, 2025

Zero-Cost 'Tagless Final' in Rust with GADT-style Enums

A deep dive into implementing the ’tagless initial’ pattern in Rust using enums and the never type to achieve zero-cost abstractions, demonstrated with optimized assembly output.

June 3, 2025

Game-Theoretical Assessment in DEX Protocols

Exploring how game-theoretical modeling can be applied to decentralized exchange (DEX) protocols to identify design weaknesses and strategic attack vectors. We discuss the incentives and strategies of participants in Uniswap, SushiSwap, Cetus, and KyberSwap, illustrating how game theory can reveal exploits and inform more secure DEX design.

May 23, 2025

Abstract Methods with Auto-Inferred Arguments in Rust

Demonstrating how to define a single-argument abstract Method trait in Rust, and use a PhantomData-based hint technique to automatically infer generic types.

May 18, 2025

Choosing the Right C Library for Embedded Systems: Newlib, picolibc, nanolib, and dietlibc

A look into specialized C standard libraries like Newlib, picolibc, nanolib, and dietlibc, designed for resource-constrained environments where standard libraries like glibc are too large or complex.

April 10, 2025

Simplifying Continuation-Passing Style (CPS) in Rust

In this post, we explore an advanced CPS (Continuation-Passing Style) implementation that leverages local memory pointers alongside arrow statements to declare an abstract program.

March 25, 2025

Arena-Based Allocation in Compilers

Arena-based allocation is a memory management strategy in which a large block of memory is pre-allocated, and then many small objects are quickly carved out from that block.

February 24, 2025