Engineering Notes 

What I learn building exchanges, wallets and smart contracts, written up on Medium. Search or filter by topic.

Showing 8 of 8 articles

Hold a page and drag to turn it

Field notes

by Harry Ermawan

8 notes inside. Pick one from the contents or turn the page.

Contents

Diagram comparing FIFO and pro-rata order matching, from Harry Ermawan's trading engine article
  • Blockchain
  • Trading

8 min read

Trading Engine on Crypto Exchanges

How the matching engine at the heart of an exchange pairs buy and sell orders, comparing FIFO time priority with pro-rata matching. Part one of my series on trading engines and HFT.

Read Trading Engine on Crypto Exchanges on Medium
Ethereum logo glowing above a chip, cover of Harry Ermawan's article on EVM wallets
  • Blockchain
  • Ethereum

4 min read

How Wallet Works on EVM

What actually happens when you create a wallet on EVM: non-deterministic versus deterministic wallets, and how HD wallets like MetaMask, Ledger and Trezor derive keys from a seed phrase.

Read How Wallet Works on EVM on Medium
Solana logo on a phone in front of a price chart
  • Blockchain
  • Solana

9 min read

Account Concepts on Solana

My notes on Solana core concepts, starting with accounts: the containers that hold data and tokens on chain, and how their structure compares to accounts on the EVM.

Read Account Concepts on Solana on Medium
Person in a skull mask beside a wall of code, cover of Harry Ermawan's smart contract security notes
  • Ethereum
  • Security

5 min read

Vulnerabilities & Attacks of Smart Contracts

Personal notes on the most common smart contract vulnerabilities, starting with reentrancy, the bug behind the DAO attack, and how each attack works.

Read Vulnerabilities & Attacks of Smart Contracts on Medium
Golden Ethereum logo floating above waterBahasa Indonesia
  • Ethereum
  • Security

2 min read

Mengenal DAO Attacks pada Smart Contracts

An introduction in Bahasa Indonesia to the 2016 DAO attack: how recursive calls drained an Ethereum smart contract, and why an immutable contract could still be exploited.

Read Mengenal DAO Attacks pada Smart Contracts on Medium
Diagram of blue and green deployments behind one Kubernetes serviceBahasa Indonesia
  • DevOps

2 min read

Konsep Blue Green Deployment Strategies

An introduction in Bahasa Indonesia to blue green deployment: running the new version beside the old one so you can switch traffic predictably and roll back fast when something breaks.

Read Konsep Blue Green Deployment Strategies on Medium

Pages 1 and 2 of 18

Hire MeOPEN TO WORK