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

https://github.com/masaun/private-logistics-order-management

Private logistics order management contract in Noir on Aztec Network
https://github.com/masaun/private-logistics-order-management

aztec-network noir

Last synced: 3 months ago
JSON representation

Private logistics order management contract in Noir on Aztec Network

Awesome Lists containing this project

README

          

# Private Logistics Order Management contract on Aztec Network

## Overview

- This repo is the private logistics order management smart contract, which is written in Noir on Aztec Network


## Technical Stack

- Smart Contract: `Noir`
- nargo/noirc: `v1.0.0-beta.16`

- Blockchain: `Aztec` Network (Ethereum L2 Rollup)
- aztec package: `v3.0.0-devnet.2`


## Remarks

- This repo is originally forked from the [aztec-workshop](https://github.com/0xShaito/aztec-workshop) repo.


## Setup

1. Install Aztec by following the instructions from [their documentation](https://docs.aztec.network/developers/getting_started).
2. Install the dependencies by running: `yarn install`
3. Ensure you have Docker installed and running (required for Aztec sandbox)


## Build

The complete build pipeline includes cleaning, compiling Noir contracts, and generating TypeScript artifacts:

```bash
yarn ccc
```

This runs:
- `yarn clean` - Removes all build artifacts
- `yarn compile` - Compiles Noir contracts using aztec-nargo
- `yarn codegen` - Generates TypeScript bindings from compiled contracts


## Smart Contract Test
### Noir tests only
Test your contract logic directly:

```bash
yarn test:nr
```


## e2e Test
### TypeScript integration tests only
Test contract interactions through TypeScript:

```bash
yarn test:js
```


## Resources

- [Aztec Documentation](https://docs.aztec.network/)
- [Noir Language Documentation](https://noir-lang.org/)
- [Aztec Sandbox Quickstart](https://docs.aztec.network/developers/getting_started)
- [Aztec Contracts Guide](https://docs.aztec.network/aztec/smart_contracts_overview)