Giter VIP home page Giter VIP logo

aztec-nr's Introduction

Aztec.nr

Aztec Smart Contract Framework

Build Status Aztec Website Discord Chat License

Aztec.nr

Aztec-nr is a Noir framework for smart contracts on Aztec.

Directory Structure

.
├── aztec               // The core of the aztec framework
├── easy-private-state  // A library for easily creating private state
├── safe-math           // A library for safe arithmetic
└── value-note          // A library for storing arbitrary values

Installing Aztec-nr libraries

[package]
name = "your_contract"
authors = ["you! ;) "]
compiler_version = "<current_noir_version>"
type = "contract"

[dependencies]
# To install the aztec framework (required to create aztec contracts).
aztec = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "aztec" }

# Optional libraries
easy_private_state = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "easy-private-state" }
safe_math = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "safe-math" }
value_note = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "value-note" }

Prerequisites

To use Aztec.nr you must have Noir installed. Noir is a general purpose programming language for creating zero-knowledge-proofs. Aztec.nr supercharges the Noir language with Aztec Smart Contract capabilities.

Quick Installation

The fastest way to install is with noirup.

To use Aztec-nr the aztec version of Noir is required (Note; this version is temporarily required if you would like to use #[aztec()] macros).

Once noirup is installed, you can run the following:

noirup -v NARGO_VERSION_COMPATIBLE_WITH_YOUR_SANDBOX

Replace NARGO_VERSION_COMPATIBLE_WITH_YOUR_SANDBOX with the version from the output of aztec-cli get-node-info:

aztec-cli get-node-info

For more installation options, please view Noir's getting started.

aztec-nr's People

Contributors

aztecbot avatar benesjan avatar lherskind avatar maddiaa0 avatar leilawang avatar spalladino avatar iammichaelconnor avatar rahul-kothari avatar sirasistant avatar dbanks12 avatar jeanmon avatar suyash67 avatar kevaundray avatar critesjosh avatar dan-aztec avatar philwindle avatar zac-williamson avatar ludamad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.