π Deployment
SuperSafe Wallet deployment guide for Chrome Web Store submission and production releases.
Build Processβ
Production Buildβ
# Clean previous build
npm run clean
# Full production build
npm run build
# Verify bundle separation
npm run verify:bundles
# Create distribution package (macOS)
npm run zipmac
# Or for Windows PowerShell
npm run zipwin
Build Output Verificationβ
Check dist/ directory:
dist/
βββ manifest.json # β Version matches package.json
βββ index.html # β Popup entry
βββ popup.js # β Frontend bundle
βββ background.js # β Service worker
βββ content-script.js # β Content script
βββ provider.js # β EIP-1193 provider
βββ assets/ # β All static assets
Bundle Size Limits:
popup.js: < 3 MB (currently ~2.1 MB)background.js: < 2 MB (currently ~1.8 MB)content-script.js: < 200 KB (currently ~150 KB)- Total extension: < 10 MB
Chrome Web Storeβ
Initial Submissionβ
-
Create Developer Account
- Go to Chrome Web Store Developer Dashboard
- Pay one-time $5 registration fee
-
Prepare Store Listing
- Extension name: "SuperSafe Wallet"
- Description: 400 character summary
- Detailed description: Full feature list
- Category: Productivity β Tools
- Language: English (primary)
-
Required Assets
Icon sizes:
- 16x16px (manifest icon)
- 48x48px (manifest icon)
- 128x128px (manifest icon, Web Store)
Screenshots:
- 1280x800px or 640x400px
- Minimum 1, maximum 5
- Show key features -
Upload Package
# Create zip file (macOS)
npm run zipmac
# Or for Windows PowerShell
npm run zipwin
# Upload supersafe-to-chromes-store-YYYYMMDD_HHMM.zip to dashboard -
Privacy Policy
- URL: https://supersafe.xyz/privacy.html
- Must explain data collection and usage
- Hosted at persistent URL
-
Submit for Review
- Review time: 1-3 business days
- May request additional information
Update Submissionβ
# 1. Update version in package.json
vim package.json
# Change: "version": "3.0.1"
# 2. Update manifest.json (done automatically by build)
# manifest.json version synced with package.json
# 3. Build and package
npm run build
npm run zipmac # or npm run zipwin on Windows
# 4. Upload to Chrome Web Store
# Dashboard β Edit β Upload updated package
# 5. Add release notes
# Describe changes, bug fixes, new features
# 6. Submit for review
Version Managementβ
Semantic Versioningβ
Follow semver: MAJOR.MINOR.PATCH
- MAJOR: Breaking changes, major architecture updates
- MINOR: New features, backwards-compatible
- PATCH: Bug fixes, minor improvements
Examples:
3.0.0β Major release (Smart Native Connection)3.1.0β New feature (added network support)3.0.1β Bug fix (fixed swap issue)
Version Update Processβ
# 1. Update package.json
{
"version": "3.0.1"
}
# 2. Update manifest.json (if needed)
{
"version": "3.0.1",
"version_name": "3.0.1 - Bug Fixes"
}
# 3. Tag release in git
git tag -a v3.0.1 -m "Release v3.0.1: Bug fixes"
git push origin v3.0.1
# 4. Create GitHub release
# Include changelog and download link
Release Checklistβ
Pre-Releaseβ
- All tests passing
- No console errors in production build
- Linter checks passing
- Bundle sizes within limits
- Version numbers updated (package.json, manifest.json)
- Changelog updated
- Documentation updated
- Privacy policy current
Build Verificationβ
- Clean build successful:
npm run clean && npm run build - Bundle verification:
npm run verify:bundles - Extension loads in Chrome without errors
- Test on fresh profile (no previous wallet data)
- Test wallet creation flow
- Test wallet import flow
- Test dApp connection (at least 2 dApps)
- Test token transfers (native and ERC20)
- Test swap functionality (Bebop JAM/RFQ)
- Test cross-chain swaps (Relay.link)
- Test network switching (all 7 active networks)
Security Checksβ
- No hardcoded API keys or secrets
- Environment variables properly configured
- AllowList properly configured (
public/assets/allowlist.json) - Fee receiver address verified (Bebop partner fees)
- RPC endpoints functional (all 7 active networks)
- External API endpoints accessible
- Content Security Policy (CSP) properly configured
- Logger system eliminates sensitive data in production builds
Post-Releaseβ
- Monitor Chrome Web Store reviews
- Check error reporting (if implemented)
- Monitor user feedback
- Prepare hotfix plan if critical issues found
Document Status: β
Current as of November 15, 2025
Code Version: v3.0.0+
Maintenance: Review after major deployment changes