https://github.com/broxus/locklift-verifier
Locklift plugin for integration with Everscan contract verification service
https://github.com/broxus/locklift-verifier
blockchain dapps debugging everscale javascript locklift locklift-plugin smart-contracts solidity tooling typescript venom-blockchain venom-developer-program verification-code
Last synced: 12 months ago
JSON representation
Locklift plugin for integration with Everscan contract verification service
- Host: GitHub
- URL: https://github.com/broxus/locklift-verifier
- Owner: broxus
- Created: 2023-01-20T11:59:50.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-11T12:29:54.000Z (over 2 years ago)
- Last Synced: 2025-01-29T02:46:57.326Z (about 1 year ago)
- Topics: blockchain, dapps, debugging, everscale, javascript, locklift, locklift-plugin, smart-contracts, solidity, tooling, typescript, venom-blockchain, venom-developer-program, verification-code
- Language: TypeScript
- Homepage:
- Size: 286 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Locklift Verification plugin
## Install
Inside the locklift project
```shell
npm i @broxus/locklift-verifier
```
Inside the locklift.config.ts
```typescript
import "@broxus/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
```shell
npx locklift verify
```
Flag `--anon-sources` can be used for avoiding source uploading, but ABI will be uploaded anyway.
Example output
```text
✅ Verified contracts:
╭────────────────────────────────┬──────────────────────────────────────────────────────────────────╮
│ Contract path ┆ Code hash │
╞════════════════════════════════╪══════════════════════════════════════════════════════════════════╡
│ /app/contracts/src/Sample.tsol ┆ a47ca4e6f055804482d01eeb65bc4a4d6aff83fd3cb703da3ff3569480b3c6e1 │
╰────────────────────────────────┴──────────────────────────────────────────────────────────────────╯
```