Installation
Building Solidity contracts for PolkaVM requires installing the following two compilers:
solc: The Ethereum Solidity reference compiler implementation.resolc: The revive Solidity compiler YUL frontend and PolkaVM code generator.
resolc binary releases
resolc is supported an all major operating systems and installation is straightforward.
Please find our binary releases for the following platforms:
- Linux (MUSL)
- MacOS (universal)
- Windows
- Wasm via emscripten
Installing the solc dependency
resolc uses solc during the compilation process, please refer to the Ethereum Solidity documentation for installation instructions.
revive NPM package
We distribute the revive compiler as node.js module.
Buidling resolc from source
Please follow the build instructions in the revive README.md.