Journal

Notes on blockchain, AI and creator tools

Practical write-ups from Rajib Roy: tested code for smart contracts and AI features, honest looks at creator and writing tools, and how I think about documentary storytelling for history and environmental pages.

Blockchain & Smart Contracts

Solidity Gas Optimization: Five Changes That Actually Matter

Five common Solidity gas tips, each measured on Hardhat 3 with and without the optimizer: constants and immutables, struct packing, cached array length, calldata, and the unchecked loop counter that no longer matters.

5 min read
Blockchain & Smart Contracts

Smart Contract Audit Prep Checklist: What to Do Before You Pay an Auditor

A practical pre-audit checklist: freeze the scope, write the threat model, reach meaningful test coverage, run a static analyzer and fix the noise, document roles and assumptions. With real Slither and coverage output from small example contracts.

7 min read
Blockchain & Smart Contracts

Merkle Tree Allowlists for NFT Mints: Contract, Proofs and Tests

How a Merkle tree lets a contract check an allowlist of thousands of addresses with one 32-byte root. Includes a tested Solidity contract, OpenZeppelin proof generation in TypeScript and the double-hash leaf detail that trips people up.

5 min read
Crypto Tools & Safety

Hot Wallet vs Hardware Wallet: A Developer's Threat Model

A developer-focused way to decide between a browser or mobile wallet and a hardware wallet: list what you protect, who attacks it, and what each setup does and doesn't stop. With a practical split of wallets by role.

6 min read