On-chain Safety Education

Understand the chain.
Protect your wallet.

Onchain Diary is an independent Web3 safety education site: 140 deep-dive articles, a 232-term glossary, and the complete BIP-39 wordlist: covering crypto scams, smart contract security, and on-chain analysis. No jargon. No sign-up. No tools to install. Just the knowledge you need to stop getting rekt.

140 Articles
232 Glossary Terms
0 Sign-ups Required

Latest

Guides, tutorials, and deep dives.

The Lighter Exploit: One Leaked API Key Turned a Public Pool Into an ATM

A leaked market-maker API key, not a broken contract, drained 10.39M USDC from Lighter. Here is the pool trick used and the key hygiene that stops it.

Seed Phrase Safety: The 12 Words That Decide Whether You Own Your Crypto

Hidden in photos, cloud notes and fake support chats: where seed phrases leak, how to store one that survives a fire, and what to do if yours is out.

Smart Contract Audit: What It Actually Checks, and What It Cannot

What a smart contract audit reviews, the four gaps it cannot close, and how to read a report in five minutes: commit hash, scope, date, unresolved highs.

Wallet Security Checklist: Twelve Things to Fix Before the Next Drain

Twelve wallet settings ranked by the loss they prevent: wallet separation, approval hygiene, blind signing, bait tokens, and the restore test.

Web3 Security Basics: Five Mental Models That Prevent Most Losses

Five models that explain most crypto losses: keys not accounts, signing not logging in, approvals that never expire, contracts not websites, and no undo.

One Real Deposit, Five Fake Exits: How Ankr's Bridge Let the Same Transaction Through

An attacker reused one small Optimism deposit to forge five withdrawal receipts and drain Ankr's Ethereum bridge. The mechanism is a lesson in why a valid signature is not proof an event happened, and why the pause flag stayed unset.

Don't transact blind.

Whether you're new to crypto or deep into DeFi, understanding how scams work is the best defense. Every guide here is free.

Start Reading →