The Context-Aware privacy shield for Polymarket.
Since PolyMask is currently in Developer Beta, you need to install it as an unpacked extension in Chrome:
Ensure you have Bun installed, then run:
bun install
bun run buildThis will create a dist folder.
- Open Google Chrome and navigate to
chrome://extensions/. - In the top right corner, enable Developer mode.
- Click the Load unpacked button in the top left.
- Select the
polymask-extension/distfolder from this repository.
- Navigate to Polymarket.com.
- Click the PolyMask (Wolf) icon in your toolbar.
- The extension should automatically detect the market you are browsing!
- React + Vite
- Tailwind CSS
- @iexec/dataprotector (iExec TEE Encryption)
- permissionless.js (Account Abstraction / Safe v1.4.1)
- viem/ethers (Blockchain interaction)
src/content.ts: The context detector running on Polymarket.src/components/BettingForm.tsx: The main UI and encryption logic.src/utils/aa.ts: Safe Smart Account address calculation.