# @pigi/verifier

> Plasma Group state execution verifier

Latest version **0.0.1-alpha.1** (published 2019-03-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pigi/verifier
pnpm add @pigi/verifier
yarn add @pigi/verifier
bun add @pigi/verifier
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1-alpha.1 |
| Published | 2019-03-12 |
| First published | 2019-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 69 |
| Author | Plasma Group |
| Maintainers | kelvinfichter |
| Keywords | plasma, group, ethereum, verifier |

## Links

- npm: https://www.npmjs.com/package/@pigi/verifier
- Repository: https://github.com/plasma-group/pigi
- Homepage: https://github.com/plasma-group/pigi#readme
- Issues: https://github.com/plasma-group/pigi/issues
- npm.io page: https://npm.io/package/@pigi/verifier

## Recent versions

- 0.0.1-alpha.1 (latest) — 2019-03-12
- 0.0.1-alpha.7 (beta) — 2019-03-17
- 0.0.1-alpha.6 — 2019-03-17
- 0.0.1-alpha.4 — 2019-03-16
- 0.0.1-alpha.3 — 2019-03-16
- 0.0.1-alpha.2 — 2019-03-16

## README

# plasma-verifier
`plasma-verifier` is a library that makes it possible for plasma chain clients to execute [predicate contracts](https://medium.com/@plasma_group/towards-a-general-purpose-plasma-f1cc4d49c1f4). In a nutshell, predicate contracts are special smart contracts that run on a plasma chain. Clients need to be able to execute these contracts in order to check the validity of certain state transitions.

At its core, `plasma-verifier` basically just executes the EVM via `ethereumjs-vm`. All predicate contracts must implement a standard contract interface, so we just need the contract's bytecode in order to execute a transaction. 

`plasma-verifier` *currently* only supports predicate contracts that are pure functions - meaning they don't rely on any external state. However, this is **not** a restriction of predicate contracts in general. It's entirely possible to build predicate contracts that *do* read external state by pulling the state from Ethereum and then loading it into our local EVM instance. We plan to add support for this in the near future.

---
_Source: https://npm.io/package/@pigi/verifier · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
