Pocketbook is a revolutionary decentralized identity platform that enables users to claim and verify ownership of their Ethereum addresses. Built with Svelte and Solidity, it creates a censorship-resistant human network where you have complete sovereignty over your digital identity.
npm install
npm run devVisit http://localhost:3000 and connect your MetaMask wallet to get started!
# AddressClaim only
npm run compile:contract
# AddressHandleRegistry only
npm run compile:handle-registry
# Run both back-to-back
npm run compile:all-contractscompile:contractbuildscontracts/AddressClaim.sol, writesbuild/AddressClaim.json, and refreshesVITE_ADDRESS_CLAIM_BYTECODEinside your.env.compile:handle-registryauto-generatescontracts/generated/Bip39Vocabulary.solfrom the BIP39 text file, builds bothAddressHandleRegistryandBip39Vocabulary, and refreshesVITE_HANDLE_REGISTRY_BYTECODE/VITE_BIP39_VOCABULARY_BYTECODE.compile:all-contractsis a convenience job that executes both compilers in sequence so CI/CD pipelines can produce every artifact with a single command.
Each script automatically fetches Solidity 0.8.23 (via IR with 200 optimizer runs) if the matching compiler is not already available locally.
Pocketbook now ships with deterministic, human-readable handles backed by the AddressHandleRegistry contract and the BIP39 English vocabulary (stored at public/wordlists/bip39-english.txt). Each wallet can reserve a unique phrase whose encoded bytes map 1:1 to the registry entry.
- Deploy
contracts/AddressHandleRegistry.solto any network where you want handles enabled. Provide:vocabLength— number of entries in your vocabulary (2048 for the default BIP39 word list).maxLength— maximum number of words per handle.vocabHash—sha256hash of the vocabulary file contents.
- Populate the matching
VITE_HANDLE_REGISTRY_ADDRESS_<NETWORK>variables in your.envfile (e.g.VITE_HANDLE_REGISTRY_ADDRESS_SEPOLIA). - Run
npm run devand connect a wallet on a supported chain. The claim form will suggest deterministic handles and let users mint/release them directly from the UI.
The explorer and address detail views automatically display claimed handles when a registry is configured on the active chain.
- 🎯 Address Claiming - Prove ownership and attach verified metadata to any address
- 🧩 Word Handles - Deterministically mint BIP39-based phrases that map directly to addresses
- 🔐 Cryptographic Security - All claims signed and verified on-chain
- 🆔 DID Support - W3C compliant Decentralized Identifiers (did:ethr) for self-sovereign identity
- 🏷️ ENS Integration - Use human-readable names (name.eth) instead of addresses with full ENS resolution and reverse lookup
- 🌐 Multi-Chain Support - Simultaneous connectivity to Ethereum, Polygon, BSC, Arbitrum, Optimism, and Avalanche
- 🔗 Cross-Chain Identity - View and manage claims across multiple blockchain networks
- 📦 IPFS Storage - Decentralized metadata storage with DID-based content routing
- 🔒 Privacy Controls - Choose what's public and whitelist private viewers
- 🌓 Modern UI - Polished interface with animated backgrounds, modern icons, and vibrant accent colors
- 💼 Contract Support - Claim smart contract and token addresses
- 🔌 Interoperability - DID-based identity works across decentralized platforms
- 👥 Social Graph - Follow/unfollow users, send friend requests, and build your decentralized network
- 🔑 PGP Signatures - Add PGP signatures for additional cryptographic verification
- 🏆 Reputation System - PGP-style web of trust with Evidence-Based Subjective Logic for computing trustworthiness
See DOCUMENTATION.md for comprehensive guides on:
- Architecture and design
- Smart contract deployment
- Frontend development
- Security best practices
- Contributing guidelines
See docs/ENS_INTEGRATION.md for ENS integration details:
- ENS name resolution and reverse lookup
- Supported networks and features
- API reference and usage examples
See docs/IPFS_INTEGRATION.md for IPFS storage details:
- Decentralized metadata storage
- DID-based content routing
- Extensibility for future features
- API reference and examples
See docs/REPUTATION_SYSTEM.md for reputation system details:
- PGP-style web of trust with keysigning attestations
- Evidence-Based Subjective Logic algorithm
- On-chain attestations with off-chain reputation calculation
- API reference and mathematical foundations
- Frontend: Svelte + Vite
- Blockchain: Solidity + Ethers.js
- Crypto: Web Crypto API for encryption
Pocketbook features a modern, polished design with animated backgrounds, professional SVG icons, and vibrant accent colors that bring the interface to life.
Browse and discover claimed addresses with animated star field background, gradient statistics, and modern icon system.
Modern interface featuring animated 3D star field, blue-to-purple gradient statistics, and glass-morphism effects on cards
Stunning dark theme with enhanced star visibility and accent-colored interactive elements.
Dark mode with brighter stars, semi-transparent cards with backdrop blur, and vibrant blue (#3b82f6) accent colors
Additional view showing the clean, professional interface with subtle star animations.
Light mode with visible animated stars in the background and clean card layouts
Note: Screenshots show the wallet disconnected state. When a wallet is connected, the "Connect Wallet" button is replaced with a network selector dropdown and a wallet address display with disconnect option, all styled with the same modern icon system and accent colors.
The UI features a modern, polished design system with:
-
Animated Background:
- Canvas-based 3D star field with 200 stars moving toward viewer
- Adaptive opacity: 30% in light mode, 80% in dark mode
- Subtle parallax depth effect for visual interest
-
Color Palette:
- Accent Primary:
#3b82f6(Blue) - Buttons, CTAs, interactive elements - Accent Secondary:
#8b5cf6(Purple) - Feature highlights, decorative elements - Light mode:
#f8fafcbackground with semi-transparent cards - Dark mode:
#0f172abackground with#1e293bcards - Gradient effects: Blue-to-purple gradients on statistics
- Accent Primary:
-
Icon System:
- Custom SVG icon component with 12 Material Design-inspired icons
- Replaced all emoji icons with professional vector glyphs
- Crisp, scalable icons with proper accessibility attributes
- Icons: compass, id-card, tools, sun, moon, wallet, sign-out, globe, search, shield, network, lock, check
-
Typography: Modern Inter font family with refined weights (600-800) and improved spacing
-
Components:
- Glass-morphism cards with
backdrop-filter: blur(10px) - Semi-transparent backgrounds:
rgba(255, 255, 255, 0.8)for light,rgba(30, 41, 59, 0.8)for dark - Border radius: 10-12px for cards, 8px for buttons
- Shadows:
0 1px 3pxfor cards,0 4px 12px rgba(59, 130, 246, 0.3)on hover - Smooth hover effects with
translateY(-2px)transforms - Accent-colored borders on interactive elements
- Glass-morphism cards with
-
Visual Effects:
- Gradient text effects on statistics using
background-clip: text - Color-coded hover states with accent borders
- Smooth transitions and animations throughout
- Enhanced monospace font stack for addresses
- Professional spacing and visual hierarchy
- Gradient text effects on statistics using
Built with ❤️ for a decentralized future



