Socket
Book a DemoInstallSign in
Socket

@broxus/locklift-verifier

Package Overview
Dependencies
Maintainers
5
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@broxus/locklift-verifier

Locklift plugin for integration with Everscan contract verification service

latest
npmnpm
Version
1.0.5
Version published
Maintainers
5
Created
Source

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 │
╰────────────────────────────────┴──────────────────────────────────────────────────────────────────╯

Keywords

everscale

FAQs

Package last updated on 30 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts