Skip to content
HG/os

Blockchain Lab

Smart contracts, ZK, and on-chain security

A living research space — explorations in Solidity, DeFi mechanics, zero-knowledge proofs, and cross-chain design. Notes are published on LinkedIn.

Security Research

Competitive smart-contract security reviews on Code4rena, Sherlock, and HackenProof — auditing DeFi protocols for vulnerabilities under contest conditions.

Post · LinkedIn

The Solidity Playbook · Ep 2 — Role-Based Access Control

Most contracts don't get hacked — they get misconfigured. Replacing the single-owner model with defined roles (Admin, Operator, Bot) using OpenZeppelin's AccessControl, so each key can do only what it should.

solidityaccess-controlsecuritysmart-contracts

Post · LinkedIn

Zero-Knowledge Proofs, explained through KYC

The five pieces of a ZKP — prover, verifier, circuit, witness, public inputs — walked through with a KYC example where a bank validates compliance without seeing personal data.

zkfintechkyccryptography