@broxus/locklift-verifier
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Locklift Verification plugin

Logo

GitHub npm

Install

Inside the locklift project

npm i locklift-verifier

Inside the locklift.config.ts

import "locklift-verifier";

const config: LockliftConfig = {
    verifier: {
        verifierVersion: "latest", // contract verifier binary, see https://github.com/broxus/everscan-verify/releases
        apiKey: "APIKEY",
        secretKey: "SECRET",
       // license: "AGPL-3.0-or-later", <- this is default value and can be overrided
    },
  ///////////////////
}

Usage

npx locklift verify

Flag --anon-sources can be used for avoiding source uploading, but ABI will be uploaded anyway. Example output

✅ Verified contracts:

╭────────────────────────────────┬──────────────────────────────────────────────────────────────────╮
│ Contract path                  ┆ Code hash                                                        │
╞════════════════════════════════╪══════════════════════════════════════════════════════════════════╡
│ /app/contracts/src/Sample.tsol ┆ a47ca4e6f055804482d01eeb65bc4a4d6aff83fd3cb703da3ff3569480b3c6e1 │
╰────────────────────────────────┴──────────────────────────────────────────────────────────────────╯

/@broxus/locklift-verifier/

    Package Sidebar

    Install

    npm i @broxus/locklift-verifier

    Weekly Downloads

    9

    Version

    1.0.5

    License

    Apache-2.0

    Unpacked Size

    35.7 kB

    Total Files

    25

    Last publish

    Collaborators

    • pavel337
    • odrin
    • 30mb1
    • geronimo
    • rexagon
    • pavlovdog_