Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 969 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 969 Bytes

Fight club script in Ethereum blobs

Publishes 2 blobs with the whole Fight club script with pruned spaces and unnecessary stuff & sends 2 txs that verify the first rule of fight club using point evaluation precompile (that is, onchain)

Posted here, proved here and here. The code is quite a mess partly because web3.py hasn't been upgraded to 4844 yet and partly because I wanna sleep af rn, maybe I'll rewrite it someday

Usage

  1. Install c-kzg-4844 python bindings and web3.py
  2. export ETH_JSON_RPC=your EL JSON RPC
  3. export ETH_PRIVATE_KEY=your private key
  4. python3 publish.py
  5. python3 prove.py