# @aztec/secp256k1

> Javascript wrapper around the secp256k1 curve

Latest version **1.2.0** (published 2020-01-30) · LGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @aztec/secp256k1
pnpm add @aztec/secp256k1
yarn add @aztec/secp256k1
bun add @aztec/secp256k1
```

## 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 | 1.2.0 |
| Published | 2020-01-30 |
| First published | 2019-04-29 |
| Weekly downloads | 0 |
| License | LGPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.3 |
| Dependencies | 3 |
| Unpacked size | 9.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 630 |
| Author | AZTEC |
| Maintainers | arnauds, charlielye, leilawang, tom_waite, zac-williamson |
| Keywords | aztec, blockchain, confidentiality, cryptography, ethereum, privacy, protocol |

## Links

- npm: https://www.npmjs.com/package/@aztec/secp256k1
- Repository: https://github.com/AztecProtocol/AZTEC
- Homepage: https://github.com/AztecProtocol/AZTEC/tree/master/packages/secp256k1#readme
- Issues: https://github.com/AztecProtocol/AZTEC/issues
- npm.io page: https://npm.io/package/@aztec/secp256k1

## Dependencies (3)

- [bn.js](https://npm.io/package/bn.js.md) ^4.11.8
- [elliptic](https://npm.io/package/elliptic.md) ^6.4.1
- [web3-utils](https://npm.io/package/web3-utils.md) 1.2.4

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2020-01-30
- 1.1.0 — 2020-01-28
- 1.0.2 — 2019-11-07
- 1.0.1 — 2019-05-15
- 1.0.0 — 2019-04-29

## README

## secp256k1

Utility wrapper around the secp256k1 curve. Particularly helpful for generating random Ethereum private/ public key tuples.

## Usage

Install the module:

```bash
$ yarn add @aztec/secp256k1
```

And import it in your project:

```js
const secp256k1 = require('@aztec/secp256k1');
```

## Contributing

We strongly recommend that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository.

Please read our [contribution guidelines](../../.github/CONTRIBUTING.md) before getting started.

### Install Modules

```bash
$ yarn install
```

### Build

```bash
$ yarn build
```

### Clean

```bash
$ yarn clean
```

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