An Aztec wallet application that allows dApps to interact with user accounts through a secure interface.
- Node.js v22
- yarn
- A running Aztec local node (or access to a remote node)
Follow these steps to run the wallet in development mode:
-
Install dependencies
cd app yarn install -
Start the wallet application
yarn start
-
Install and run the browser extension
⚠️ Important: The browser extension must be running for the app to work properly.The extension is located at
extension. To set it up:cd extension yarn install yarn devThis will launch a browser with the extension preloaded
Loading the extension in your browser:
For Chromium-based browsers (Chrome, Brave, Edge):
- Open your browser and navigate to the extensions page:
- Chrome:
chrome://extensions - Brave:
brave://extensions - Edge:
edge://extensions
- Chrome:
- Enable "Developer mode" (toggle in the top-right corner)
- Click "Load unpacked"
- Select the
extension/.output/chrome-mv3-*directory
For Firefox:
yarn zip:firefox
- Navigate to
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on"
- Select the created .zip file under
extension/.output/*
The extension provides the interface between dApps and the wallet.
- Open your browser and navigate to the extensions page:
The wallet currently uses WebSocket communication for dApp-to-wallet messaging.
- Ensure port 8765 is available on your machine
- If port 8765 is in use, you'll need to modify the configuration in
app/src/workers/ws-worker.ts
📝 Note: This WebSocket-based communication is temporary. The architecture should ideally use the browser's native extension-to-native-app communication system (Native Messaging API) instead, which would eliminate the need for managing ports and provide better security.
After downloading a release, run:
xattr -d com.apple.quarantine ./app.appTo avoid the "this app is damaged" message.