Skip to content

paritytech/js-revive

Repository files navigation

@parity/revive

Node.js module to compile Solidity contracts to Polkavm bytecode, using Revive

Usage

const sources = {
["contracts/1_Storage.sol"]: {
    content: readFileSync("fixtures/storage.sol", "utf8"),
}

const out = await compile(sources);