## Formal Verification - Add TLA+ specs for UTXO conservation (formal/tla/UTXOConservation.tla) - Add TLA+ specs for GHOSTDAG ordering (formal/tla/GHOSTDAGOrdering.tla) - Add mathematical proof of DAA convergence (formal/proofs/) - Document Kani verification approach (formal/kani/) ## Bug Bounty Program - Add SECURITY.md with vulnerability disclosure process - Add docs/BUG_BOUNTY.md with $500-$100,000 reward tiers - Define scope, rules, and response SLA ## Web Wallet Dilithium3 WASM Integration - Build WASM module via Docker (498KB optimized) - Add wasm-crypto.ts lazy loader for Dilithium3 - Add createHybridSignatureLocal() for full client-side signing - Add createHybridSignatureSmart() for auto-mode selection - Add Dockerfile.wasm and build scripts ## Security Review ($0 Approach) - Add .github/workflows/security.yml CI workflow - Add deny.toml for cargo-deny license/security checks - Add Dockerfile.security for audit container - Add scripts/security-audit.sh for local audits - Configure cargo-audit, cargo-deny, cargo-geiger, gitleaks |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| index.html | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Synor Web Wallet
A quantum-secure web wallet for the Synor blockchain.
Features
- Create and recover wallets using BIP39 mnemonic phrases
- Send and receive SYNOR tokens
- View transaction history
- Connect to any Synor RPC node
- Support for mainnet, testnet, and devnet
Development
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
Configuration
Create a .env.local file:
VITE_RPC_ENDPOINT=http://localhost:16110
Security
- Private keys are encrypted with AES-256-GCM using PBKDF2-derived keys
- Seeds never leave the browser
- No backend required - connects directly to Synor nodes
Architecture
src/
├── components/ # Reusable UI components
├── lib/ # Core libraries
│ ├── crypto.ts # Cryptographic functions
│ ├── rpc.ts # JSON-RPC client
│ └── transaction.ts # Transaction building
├── pages/ # Route pages
├── store/ # Zustand state management
└── App.tsx # Main application