Skip to content
← selected work

Earlier · Independent

Degis

A DeFi insurance protocol, and where my Solidity testing discipline came from.

Period
2022
Role
Smart contract engineer
Source
Public

The problem

Insurance contracts pay out on someone’s worst day, so a bug there means the product fails at the exact moment it’s needed.

What I did

  • Rebuilt the lottery as V2 and wrote the shield protection contracts.
  • Built NFT staking with Merkle-proof allowlists, plus the mint frontend on top.
  • Wrote the test suites, including Merkle tree verification, and reviewed teammates’ contracts before deploy.
  • Normalised the codebase onto a single set of standards so contracts stopped diverging by author.

Screens

Degis screenshot 1Degis screenshot 2Degis screenshot 3

Stack

SolidityHardhatTypeScriptethers.js