Skip to content

DelphinusLab/zkWasm-protocol

Repository files navigation

zkWasm-protocol

transaction format

Each transaction has 80 bytes in total

  • op: 1 byte
  • nonce: 7 bytes
  • args: 72 bytes

Commands Structure

  • common struct: accountIndex(4 bytes) objectIndex(4 bytes)

  • opcode: enum { deposit, withdraw, ... }