Dependencies
On this page you will find information about Aztec.nr dependencies and up-to-date paths for use in your Nargo.toml
.
Aztec
aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.16.1", directory="yarn-project/aztec-nr/aztec" }
This is the core Aztec library that is required for every Aztec.nr smart contract.
Authwit
authwit = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.16.1", directory="yarn-project/aztec-nr/authwit"}
This allows you to use authentication witnesses in your contract. Find more about its usage here.
Address note
address_note = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.16.1", directory="yarn-project/aztec-nr/address-note" }
Assets
assets = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.16.1", directory="yarn-project/aztec-nr/assets" }
This is a library for utilizing notes that hold addresses. Find it on GitHub.
Easy private state
easy_private_state = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.16.1", directory="yarn-project/aztec-nr/easy-private-state" }
This is an abstraction library for using private variables like EasyPrivateUint
.
Safe math
safe_math = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.16.1", directory="yarn-project/aztec-nr/safe-math" }
This is a library for safe arithmetic, similar to OpenZeppelin's safe math library. Find it on GitHub.
Value note
value_note = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.16.1", directory="yarn-project/aztec-nr/value-note" }
This is a library for a note that stores one arbitrary value. You can see an example of how it might be used in the token contract tutorial.