diff --git a/tutorials/simple-private-token/contracts/private_token_contract/Nargo.toml b/tutorials/simple-private-token/contracts/private_token_contract/Nargo.toml index 49a6209..cac909c 100644 --- a/tutorials/simple-private-token/contracts/private_token_contract/Nargo.toml +++ b/tutorials/simple-private-token/contracts/private_token_contract/Nargo.toml @@ -1,10 +1,10 @@ [package] name = "easy_private_token_contract" -type = "contract" authors = [""] -compiler_version = ">=0.23.0" +compiler_version = ">=0.18.0" +type = "contract" -[dependencies] -aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/aztec-noir" } -value_note = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/value-note"} -easy_private_state = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/easy-private-state"} +[dependencies] +aztec = { path = "../../../aztec-nr/aztec" } +value_note = { path = "../../../aztec-nr/value-note"} +easy_private_state = { path = "../../../aztec-nr/easy-private-state"} diff --git a/tutorials/token-bridge-e2e/packages/aztec-contracts/token_bridge/Nargo.toml b/tutorials/token-bridge-e2e/packages/aztec-contracts/token_bridge/Nargo.toml index 2345546..c01d868 100644 --- a/tutorials/token-bridge-e2e/packages/aztec-contracts/token_bridge/Nargo.toml +++ b/tutorials/token-bridge-e2e/packages/aztec-contracts/token_bridge/Nargo.toml @@ -5,6 +5,5 @@ compiler_version = ">=0.18.0" type = "contract" [dependencies] -aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/aztec" } -token_portal_content_hash_lib = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/noir-contracts/contracts/token_portal_content_hash_lib" } -protocol_types = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/noir-protocol-circuits/src/crates/types"} +aztec = { path = "../../../aztec-nr/aztec" } +token_portal_content_hash_lib = { path = "../token_portal_content_hash_lib" } diff --git a/tutorials/token-bridge/contracts/Nargo.toml b/tutorials/token-bridge/contracts/Nargo.toml index fe6691e..c01d868 100644 --- a/tutorials/token-bridge/contracts/Nargo.toml +++ b/tutorials/token-bridge/contracts/Nargo.toml @@ -1,9 +1,9 @@ [package] name = "token_bridge_contract" authors = [""] +compiler_version = ">=0.18.0" type = "contract" [dependencies] -aztec = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.16.9', directory = 'yarn-project/aztec-nr/aztec' } -protocol_types = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.16.9', directory = 'yarn-project/noir-protocol-circuits/src/crates/types' } -token_portal_content_hash_lib = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.16.9', directory = 'yarn-project/noir-contracts/src/contracts/token_portal_content_hash_lib' } +aztec = { path = "../../../aztec-nr/aztec" } +token_portal_content_hash_lib = { path = "../token_portal_content_hash_lib" } diff --git a/tutorials/token-contract/contracts/Nargo.toml b/tutorials/token-contract/contracts/Nargo.toml index b8cc104..322c8c8 100644 --- a/tutorials/token-contract/contracts/Nargo.toml +++ b/tutorials/token-contract/contracts/Nargo.toml @@ -1,10 +1,11 @@ [package] name = "token_contract" authors = [""] +compiler_version = ">=0.18.0" type = "contract" [dependencies] -aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/aztec" } -safe_math = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/safe-math" } -authwit = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/authwit" } -compressed_string = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/compressed-string"} +aztec = { path = "../../../aztec-nr/aztec" } +safe_math = { path = "../../../aztec-nr/safe-math" } +compressed_string = {path = "../../../aztec-nr/compressed-string"} +authwit = { path = "../../../aztec-nr/authwit" } diff --git a/tutorials/uniswap-integration-e2e/packages/aztec-contracts/token_bridge/Nargo.toml b/tutorials/uniswap-integration-e2e/packages/aztec-contracts/token_bridge/Nargo.toml index 206a94d..c01d868 100644 --- a/tutorials/uniswap-integration-e2e/packages/aztec-contracts/token_bridge/Nargo.toml +++ b/tutorials/uniswap-integration-e2e/packages/aztec-contracts/token_bridge/Nargo.toml @@ -1,9 +1,9 @@ [package] name = "token_bridge_contract" -type = "contract" authors = [""] -compiler_version = ">=0.23.0" +compiler_version = ">=0.18.0" +type = "contract" [dependencies] -aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/aztec" } -value_note = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/token_portal_content_hash_lib"} +aztec = { path = "../../../aztec-nr/aztec" } +token_portal_content_hash_lib = { path = "../token_portal_content_hash_lib" } diff --git a/tutorials/uniswap-integration-e2e/packages/aztec-contracts/uniswap/Nargo.toml b/tutorials/uniswap-integration-e2e/packages/aztec-contracts/uniswap/Nargo.toml index e647e15..a35fa2c 100644 --- a/tutorials/uniswap-integration-e2e/packages/aztec-contracts/uniswap/Nargo.toml +++ b/tutorials/uniswap-integration-e2e/packages/aztec-contracts/uniswap/Nargo.toml @@ -1,11 +1,10 @@ [package] name = "uniswap_contract" -type = "contract" authors = [""] -compiler_version = ">=0.23.0" +compiler_version = ">=0.18.0" +type = "contract" [dependencies] -aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/aztec" } -value_note = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/value-note"} -safe_math = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/safe-math"} -authwit = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/authwit"} +aztec = { path = "../../../aztec-nr/aztec" } +authwit = { path = "../../../aztec-nr/authwit" } + diff --git a/workshops/devconnect-2023/build-account-contract/contracts/counter/Nargo.toml b/workshops/devconnect-2023/build-account-contract/contracts/counter/Nargo.toml index 026ac4d..abaa2f0 100644 --- a/workshops/devconnect-2023/build-account-contract/contracts/counter/Nargo.toml +++ b/workshops/devconnect-2023/build-account-contract/contracts/counter/Nargo.toml @@ -1,4 +1,3 @@ - [package] name = "counter_contract" authors = [""] @@ -6,8 +5,6 @@ compiler_version = ">=0.18.0" type = "contract" [dependencies] -# path should be updated to "noir-projects/..." if the version tag is updated to >=0.24 -aztec = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.14.2', directory = 'yarn-project/aztec-nr/aztec' } -value_note = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.14.2', directory = 'yarn-project/aztec-nr/value-note' } -easy_private_state = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.14.2', directory = 'yarn-project/aztec-nr/easy-private-state' } -field_note = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/field-note"} +aztec = { path = "../../../aztec-nr/aztec" } +value_note = { path = "../../../aztec-nr/value-note" } +easy_private_state = { path = "../../../aztec-nr/easy-private-state"} diff --git a/workshops/devconnect-2023/nethermind-and-progcrypto/contracts/voting/Nargo.toml b/workshops/devconnect-2023/nethermind-and-progcrypto/contracts/voting/Nargo.toml index 365d31a..80449c6 100644 --- a/workshops/devconnect-2023/nethermind-and-progcrypto/contracts/voting/Nargo.toml +++ b/workshops/devconnect-2023/nethermind-and-progcrypto/contracts/voting/Nargo.toml @@ -1,10 +1,8 @@ [package] name = "easy_private_voting_contract" -type = "contract" authors = [""] compiler_version = ">=0.18.0" +type = "contract" [dependencies] -aztec = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "aztec" } -value_note = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "value-note" } -safe_math = { git="https://github.com/AztecProtocol/aztec-nr", tag="aztec-packages-v0.23.0", directory="safe-math" } \ No newline at end of file +aztec = { path = "../../../aztec-nr/aztec" } diff --git a/workshops/zksummit-london-2023/contracts/counter/Nargo.toml b/workshops/zksummit-london-2023/contracts/counter/Nargo.toml index d604398..abaa2f0 100644 --- a/workshops/zksummit-london-2023/contracts/counter/Nargo.toml +++ b/workshops/zksummit-london-2023/contracts/counter/Nargo.toml @@ -1,13 +1,10 @@ [package] name = "counter_contract" -type = "contract" authors = [""] -compiler_version = "0.11.1" +compiler_version = ">=0.18.0" +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" } -value_note = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "value-note" } \ No newline at end of file +aztec = { path = "../../../aztec-nr/aztec" } +value_note = { path = "../../../aztec-nr/value-note" } +easy_private_state = { path = "../../../aztec-nr/easy-private-state"}