mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-27 16:17:59 +00:00
lint
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# @parity/revive
|
||||
|
||||
Node.js module to compile Solidity contracts to Polkavm bytecode, using [Revive](https://github.com/paritytech/revive)
|
||||
|
||||
# Usage from Node.js
|
||||
|
||||
```typescript
|
||||
const sources = {
|
||||
["contracts/1_Storage.sol"]: {
|
||||
content: readFileSync("fixtures/storage.sol", "utf8"),
|
||||
}
|
||||
|
||||
const out = await compile(sources);
|
||||
```
|
||||
|
||||
# Usage from shell
|
||||
|
||||
```bash
|
||||
npx @parity/revive@latest --bin contracts/1_Storage.sol
|
||||
```
|
||||
Reference in New Issue
Block a user