solpp is a preprocessor and flattener for Solidity source files. Its preprocessor directives are inspired by the C programming language and let you perform conditional code renderings (via #if, #elif and #else) as well as code block repetitions (via #for).

Using solpp you can also flatten your source files for easy contract verification via Etherscan.

Protip: You can browse through the example to see all of solpp's powerful features at a glance.

  • Lawrence Forman

You might also enjoy