d98a0ef76e3b86029c4413ee3f72a7caa24b4245
Phase 1-3: Domain Layer Foundation - Add value objects: IdentityId, PermissionId, RelayId, WalletId, Nickname, NostrKeyPair - Add rich domain entities: Identity, Permission, Relay with behavior - Add domain events: IdentityCreated, IdentityRenamed, IdentitySelected, etc. - Add repository interfaces for Identity, Permission, Relay - Add infrastructure layer with repository implementations - Add EncryptionService abstraction Phase 4: Ubiquitous Language Cleanup - Rename BrowserSyncData → EncryptedVault (encrypted vault storage) - Rename BrowserSessionData → VaultSession (decrypted session state) - Rename SignerMetaData → ExtensionSettings (extension configuration) - Rename Identity_ENCRYPTED → StoredIdentity (storage DTO) - Rename Identity_DECRYPTED → IdentityData (session DTO) - Similar renames for Permission, Relay, NwcConnection, CashuMint - Add backwards compatibility aliases with @deprecated markers Test Coverage - Add comprehensive tests for all value objects - Add tests for domain entities and their behavior - Add tests for domain events - Fix PermissionChecker to prioritize kind-specific rules over blanket rules - Fix pre-existing component test issues (IconButton, Pubkey) All 113 tests pass. Both Chrome and Firefox builds succeed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Plebeian Signer
Nostr Identity Manager & Signer
Plebeian Signer is a browser extension for managing multiple Nostr identities and for signing events on web apps without having to give them your keys.
It implements these mandatory NIP-07 methods:
async window.nostr.getPublicKey(): string
async window.nostr.signEvent(event: { created_at: number, kind: number, tags: string[][], content: string }): Event
It also implements these optional methods:
async window.nostr.getRelays(): { [url: string]: {read: boolean, write: boolean} }
async window.nostr.nip04.encrypt(pubkey, plaintext): string
async window.nostr.nip04.decrypt(pubkey, ciphertext): string
async window.nostr.nip44.encrypt(pubkey, plaintext): string
async window.nostr.nip44.decrypt(pubkey, ciphertext): string
The repository is configured as monorepo to hold the extensions for Chrome and Firefox.
Develop Chrome Extension
To build and run the Chrome extension from this code:
git clone https://github.com/PlebeianApp/plebeian-signer.git
cd plebeian-signer
npm ci
npm run build:chrome
then
- within Chrome go to
chrome://extensions - ensure "developer mode" is enabled on the top right
- click on "Load unpackaged"
- select the
dist/chromefolder
Develop Firefox Extension
To build and run the Firefox extension from this code:
git clone https://github.com/PlebeianApp/plebeian-signer.git
cd plebeian-signer
npm ci
npm run build:firefox
then
- within Firefox go to
about://debugging - click "This Firefox" on the left
- click on "Load Temporary Add-on..."
- select the
dist/firefoxfolder
LICENSE: Public Domain
Languages
TypeScript
71.7%
HTML
14.9%
SCSS
11.2%
Python
1.5%
JavaScript
0.6%