An open API service indexing awesome lists of open source software.

https://github.com/menurivera/noirjs-demo


https://github.com/menurivera/noirjs-demo

Last synced: 26 days ago
JSON representation

Awesome Lists containing this project

README

          

# Noir Hello World

A barebones example of using Noir with JavaScript.

## Prerequisites

- **Bun.sh** - Install from [bun.sh](https://bun.sh)
- **nargo** - Version 1.0.0-beta.15 - See the [Noir installation guide](https://noir-lang.org/docs/getting_started/installation) for details

## Installation

Install the required dependencies:

```bash
bun add @noir-lang/noir_js@1.0.0-beta.15 @aztec/bb.js@3.0.0-nightly.20251104
```

## Running Tests

```bash
bun test
```

## Dependencies Explained

- **@noir-lang/noir_js** - The main Noir package. Executes the Noir program and generates the witness to send to the backend.
- **@aztec/bb.js** - TypeScript interface for Aztec's Barretenberg proving backend. Uses the WASM version to run in the browser.