Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CONTRACT_ADDRESS=
DEPLOYER_ADDRESS=
DEPLOYMENT_SALT=
AZTEC_NODE_URL=http://localhost:8080
52 changes: 26 additions & 26 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,38 @@ jobs:
timeout-minutes: 120
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Set up Docker
uses: docker/setup-buildx-action@v2
- name: Set up Docker
uses: docker/setup-buildx-action@v2

- name: Install Aztec CLI
run: |
curl -s https://install.aztec.network > tmp.sh
bash tmp.sh <<< yes "yes"
- name: Install Aztec CLI
run: |
curl -s https://install.aztec.network > tmp.sh
bash tmp.sh <<< yes "yes"

- name: Update path
run: echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
- name: Update path
run: echo "/home/runner/.aztec/bin" >> $GITHUB_PATH

- name: Set Aztec version and start sandbox
run: |
aztec-up 0.87.4
aztec start --sandbox &
- name: Set Aztec version and start sandbox
run: |
aztec-up 2.0.2
aztec start --sandbox &

- name: Install dependencies
working-directory: ./app
run: npm install -g yarn && yarn
- name: Install dependencies
working-directory: ./app
run: npm install -g yarn && yarn

- name: Install Playwright Browsers
working-directory: ./app
run: yarn playwright install --with-deps
- name: Install Playwright Browsers
working-directory: ./app
run: yarn playwright install --with-deps

- name: Build
run: yarn build
- name: Build
run: yarn build

- name: Run tests
run: yarn test
- name: Run tests
run: yarn test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ blob-report/
playwright/.cache/

.env
app/artifacts/
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ This is an example web app that demonstrates how to interact with an Aztec contr

1. Install the Aztec tools from the first few steps in [Quick Start Guide](https://docs.aztec.network/developers/getting_started).

Please note that this project uses `0.87.4` version of Aztec SDK. If you wish to use a different version, please update the dependencies in the `app/package.json` and in `contracts/Nargo.toml` file to match your version.
Please note that this project uses `2.0.2` version of Aztec SDK. If you wish to use a different version, please update the dependencies in the `app/package.json` and in `contracts/Nargo.toml` file to match your version.

You can install a specific version of Aztec tools by running `aztec-up 0.X.X`


2. Compile smart contracts in `/contracts`:

```sh
Expand Down
168 changes: 0 additions & 168 deletions app/artifacts/EasyPrivateVoting.ts

This file was deleted.

Loading