
Journey to my first ZK game
I’ve had a passing interest in zero knowledge proofs for a long time, when I first heard of them they felt more like magic than cryptography. I learn best with a project but I hadn’t had any practical need to implement anything with zero knowledge proofs until:The ZKP Nerd SnipeSo I wanted to build a Rock Paper Scissors game for Arbibots owners but I had no idea how to 1) do it on chain 2) hide the moves from other players and 3) ensure that players submit a valid move. I got a bit stuck here...

Journey to my first ZK game
I’ve had a passing interest in zero knowledge proofs for a long time, when I first heard of them they felt more like magic than cryptography. I learn best with a project but I hadn’t had any practical need to implement anything with zero knowledge proofs until:The ZKP Nerd SnipeSo I wanted to build a Rock Paper Scissors game for Arbibots owners but I had no idea how to 1) do it on chain 2) hide the moves from other players and 3) ensure that players submit a valid move. I got a bit stuck here...

How I cheesed the EVM
I got nerd sniped by this tweet. @boredGenius got extremely close to pulling off an sstore2 modification to allow rewriting to the same key but had two issues that stopped them from wrapping it up. Nonces and selfdestruct ordering. The nonce issue was that there wasn’t an easy way to keep track of them in the contract. The selfdestruct issue resolves around no matter when you call selfdestruct it happens at the end of the tx, this prevents you from redeploying to the same address in a single ...

How I cheesed the EVM
I got nerd sniped by this tweet. @boredGenius got extremely close to pulling off an sstore2 modification to allow rewriting to the same key but had two issues that stopped them from wrapping it up. Nonces and selfdestruct ordering. The nonce issue was that there wasn’t an easy way to keep track of them in the contract. The selfdestruct issue resolves around no matter when you call selfdestruct it happens at the end of the tx, this prevents you from redeploying to the same address in a single ...