Installation
Building Solidity contracts for PolkaVM requires installing the following two compilers:
solc
: The Ethereum Solidity reference compiler implemenation.resolc
: The revive Solidity compiler YUL frontend and PolkaVM code generator.
resolc
uses solc
during the compilation process, please refer to the Ethereum Solidity documentation for installation instructions.
resolc
binary releases
Please find our binary releases for the following platforms:
- Linux (MUSL)
- MacOS (uinversal)
- Windows
- Wasm via emscripten
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
.