mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-22 09:08:00 +00:00
415 B
415 B
@parity/revive
Node.js module to compile Solidity contracts to Polkavm bytecode, using Revive
Usage from Node.js
const sources = {
["contracts/1_Storage.sol"]: {
content: readFileSync("fixtures/storage.sol", "utf8"),
}
const out = await compile(sources);
Usage from shell
npx @parity/revive@latest --bin contracts/1_Storage.sol