This showcase swaps on Uniswap with a Passkey-verified account contract.
This project depends on waallet-contract to provide the network environment, please follow the instructions in the repository to setup local testnet.
After you spin up a testnet from waallet-contract, run the following command to do testing:
npm run test
Note
This project is bootstrapped with Plasmo.
Please refer to .env.development.example
and prepare your own .env.development
.
First, run Plasmo development server:
npm run dev
Open your browser, goto extension management page, and load build/chrome-mv3-dev
by Load unpacked
button. All code changes will be watched by Plasmo development server, and outcomes will be automatically reflected to the extension on your browser.
For further development guidance, please visit Plasmo documentation.
Tip
Testnet from waallet-contract can help you testing the extension. You can also import funded accounts pre-deployed in the testnet to the extension via environment variables.
Tip
There is another repository waallet-dapp to help you simulating DApp interaction with the extension.
Special thanks to Andy Chien for the fabulous UI/UX design. 🎨