feat: add DID creation and copy functionality to Web5 page

Create DID button generates a did:key identity (tries backend RPC first,
falls back to client-side Web Crypto P-256 key generation). DID stored in
localStorage. Copy DID button for sharing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-05 08:14:47 +00:00
parent cc47e17c1c
commit da3bf44cdb
2 changed files with 54 additions and 15 deletions

View File

@@ -98,7 +98,7 @@ After getting Claude Max OAuth working on the live server, hardening the deploy
## Phase 3: Hardening & Features (Tasks 17-22) — ~2.5 hours
### Task 17: Web5 DID creation functionality
### Task 17: Web5 DID creation functionality [DONE]
- **Files**: `neode-ui/src/views/Web5.vue`
- **Change**: Add "Create DID" button calling backend DID RPC endpoint. Display DID once created. Show Nostr relay status. Store DID in localStorage until backend persistence ready.
- **Verify**: Web5 page, Create DID, DID displayed