# rn-bbs-signatures

A wrapper around the rust implementation of [BBS+ signatures](https://github.com/mattrglobal/ffi-bbs-signatures) for
react native

## Using

### Installation

With [npm](https://www.npmjs.com/)

```sh
npm install rn-bbs-signatures
```

Or [yarn](https://yarnpkg.com/)

```sh
yarn add rn-bbs-signatures
```

## API

```js
import { generateBls12381G2KeyPair } from "rn-bbs-signatures";

const keyPair = await generateBls12381G2KeyPair();
```

## Contributing

We use [Yarn](https://yarnpkg.com/) as the package manager for this library

To install the required dependencies run

```
yarn install --frozen-lockfile
yarn bootstrap
```

To build the library run

```
yarn build
```

To run the local app on IOS

```
yarn example ios
```

To run the local app on Android

```
yarn example android
```

# Project setup

This project was scaffolded using [Bob](https://github.com/react-native-community/bob)
