You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ This repo is meant to be a starting point for learning to write Aztec contracts
12
12
13
13
You can find the **Easy Private Voting contract** in `./src/main.nr`. A simple integration test is in `./src/test/e2e/index.test.ts`.
14
14
15
-
## Testnet
15
+
## Devnet
16
16
17
-
This repo connects to a locally running Aztec Sandbox by default, but can be configured to connect to the testnet by specifying `AZTEC_ENV=testnet` in a `.env` file or by prefixing a command e.g. `AZTEC_ENV=testnet yarn deploy`.
17
+
This repo connects to a locally running Aztec Sandbox by default, but can be configured to connect to the devnet by specifying `AZTEC_ENV=devnet` in a `.env` file or by prefixing a command e.g. `AZTEC_ENV=devnet yarn deploy`.
This project uses JSON configuration files to manage environment-specific settings:
54
54
55
55
-`config/sandbox.json` - Configuration for local sandbox development
56
-
-`config/testnet.json` - Configuration for testnet deployment
56
+
-`config/devnet.json` - Configuration for devnet deployment
57
57
58
58
The system automatically loads the appropriate configuration file based on the `ENV` environment variable. If `ENV` is not set, it defaults to `sandbox`.
59
59
@@ -74,18 +74,18 @@ yarn deploy # Deploy to sandbox
74
74
yarn test# Run tests on sandbox
75
75
```
76
76
77
-
### Running on Testnet
77
+
### Running on Devnet
78
78
79
-
All scripts support a `::testnet` suffix to automatically use testnet configuration:
79
+
All scripts support a `::devnet` suffix to automatically use devnet configuration:
80
80
81
81
```bash
82
-
yarn deploy::testnet# Deploy to testnet
83
-
yarn test::testnet# Run tests on testnet
84
-
yarn deploy-account::testnet# Deploy account to testnet
85
-
yarn interaction-existing-contract::testnet# Interact with testnet contracts
82
+
yarn deploy::devnet# Deploy to devnet
83
+
yarn test::devnet# Run tests on devnet
84
+
yarn deploy-account::devnet# Deploy account to devnet
85
+
yarn interaction-existing-contract::devnet# Interact with devnet contracts
86
86
```
87
87
88
-
The `::testnet` suffix automatically sets `ENV=testnet`, loading configuration from `config/testnet.json`.
88
+
The `::devnet` suffix automatically sets `ENV=devnet`, loading configuration from `config/devnet.json`.
0 commit comments