# sv-auditor

> SecureVote Auditing Suite

Latest version **2.0.1** (published 2018-06-27) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install sv-auditor
pnpm add sv-auditor
yarn add sv-auditor
bun add sv-auditor
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2018-06-27 |
| First published | 2018-06-21 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Max Kaye |
| Maintainers | xertrov |

## Links

- npm: https://www.npmjs.com/package/sv-auditor
- Repository: git@github.com/secure-vote/sv-auditor
- npm.io page: https://npm.io/package/sv-auditor

## Recent versions

- 2.0.1 (latest) — 2018-06-27
- 2.0.0 — 2018-06-21

## README

# SV Auditor

## Overview

The SV Auditor is provided with:

* `ethNodes :: StrMap String`: a map of networkId -> nodeUrl for any networks required
* `indexEns :: String`: the ENS address of the index
* `ensDetails :: StrMap String`: the Eth addresses of the ENS register contract for all relevant networks
* `ballotId :: String`: the BallotID of the ballot we'd like to audit (base10 string)
* `startingNetwork :: String`: the network ID we're starting on (note: we might need to cross into other networks, so best to fully populate )

any also

* a function that receives updates from the auditor

`SvAudit.main(args)(updateF)()`

The SV Auditor works by:

* talking to the index to find the location of the BBFarm
* getting the details of the vote from the BBFarm
* loading all ballots, balances, and delegations at their relevant times
* performing the count
* returning results through `updateF`

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