acuarica / evm

A Symbolic Ethereum Virtual Machine (EVM) bytecode interpreter, parser and decompiler, along with several other utils for programmatically extracting information from EVM bytecode.
https://acuarica.github.io/evm/
MIT License
46 stars 5 forks source link

Make `ercs` module and `isERC` method optional #67

Closed acuarica closed 5 months ago

acuarica commented 5 months ago

On the goal to make sevm more modular, we should separate ercs into their own module and exports in package.json.

This way the consumer has more control over how to bundle it in their applications. At the same time, we can provide an smaller default bundle in dist/sevm.js.

acuarica commented 5 months ago

The difference in size by removing ercs is negligible, so it's not worth separating it at the moment.