This application provides essential functionality for users to manage their Dapper Legacy Wallet in preparation for the Google Chrome plugin becoming obsolete. It enables users to maintain control of their assets by setting up new authorized addresses and managing wallet permissions.
The production app is deployed at:
https://dapperlabs.github.io/dlw-support-app/
The deployment uses GitHub Pages to automatically build and serve the main
branch.
- Node.js v16 or higher
- Yarn package manager
- Docker (optional, for containerized development)
- MetaMask or compatible Web3 wallet
- Chrome browser with Dapper Legacy Wallet extension installed
- Always verify wallet addresses carefully before authorizing
- Keep your private keys secure and never share them
- Ensure you're on the correct domain when using the app
- Test with small transactions first
- Back up all wallet information before making changes
- Log out of other wallet extensions when using Dapper Legacy Wallet
Create a .env
file in the root directory:
DOCKERFILE=Dockerfile.dev
CONTAINER_NAME=dlw-support-app
PORT=5952
VITE_APP_CHAIN_ID=0x1 # Ethereum Mainnet
Standard local development:
yarn && yarn dev
The app will be available at: http://localhost:5952
- Build and start the container:
docker compose up --build -d
- Access the container:
docker exec -it dw-escape-hatch sh
- Install dependencies and start the dev server:
yarn && yarn dev
- Update the
.env
file for production:
DOCKERFILE=Dockerfile
CONTAINER_NAME=dw-escape-hatch
PORT=5952
VITE_APP_CHAIN_ID=0x1
- Build and start the production container:
docker compose up --build -d
The production build will be available at: http://localhost:5952
Run tests with coverage report:
yarn test:coverage
-
Wallet Connection Issues
- Ensure you're logged out of MetaMask when using Dapper Legacy Wallet
- Check if you're on the correct network (Ethereum Mainnet)
- Clear browser cache if experiencing persistent issues
-
Transaction Failures
- Verify you have sufficient ETH for gas fees
- Confirm the correct wallet is connected
- Check transaction parameters in MetaMask
-
Docker Issues
- Ensure Docker daemon is running
- Check if port 5952 is available
- Try removing existing containers and rebuilding
If you encounter issues during the authorization process:
- Log out of all wallet extensions
- Clear browser cache
- Reload the application
- Verify wallet addresses before retrying
- React with TypeScript
- Vite build framework (https://vite.dev/guide/)
- Web3 integration for blockchain interaction
- Docker for containerization
- GitHub Pages for deployment
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and ensure coverage
- Submit a pull request
DOCKERFILE
: Specifies which Dockerfile to use (dev/prod)CONTAINER_NAME
: Name for the Docker container