evm-ts icon indicating copy to clipboard operation
evm-ts copied to clipboard

Ethereum Virtual Machine implemented in TypeScript

EVM-TS

Ethereum Virtual Machine implemented in TypeScript

Build Status Coverage Status Prettier Software License

Project status

  • runs simple contracts, checkout solidity tests 🔥
  • supports ~110 opcodes 😍
  • tests running agains ethereumjs-vm (soon agains geth or parity) 🐞
  • lacks gas calculation 😓

EVM short description

  • stack based
  • word size 256 bytes
  • 3 types of storage:
    • stack - a non-persisting word size stack
    • memory - a non-persisting linear memory that can be accessed at a byte level
    • storage - persisting key-value store, keys and values have to be word size

To read