A complete blockchain implementation featuring: - synord: Full node with GHOSTDAG consensus - explorer-web: Modern React blockchain explorer with 3D DAG visualization - CLI wallet and tools - Smart contract SDK and example contracts (DEX, NFT, token) - WASM crypto library for browser/mobile
55 lines
1.1 KiB
Markdown
55 lines
1.1 KiB
Markdown
# 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
|
|
|
|
```bash
|
|
# 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:
|
|
|
|
```env
|
|
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
|
|
```
|