Account State

Account state and in-memory event store patterns in Amethyst. Use when working with `Account.kt` (per-user state objects — `kind3FollowList`, `nip65RelayList`, `muteList`, `bookmarkState`, each exposing a `.flow` StateFlow), `LocalCache` (the object-level event store backed by `LargeCache`), `User`/`Note` model classes, or any ViewModel that reads user-specific state. Covers how account events cascade from relay arrival to UI state, how to add a new account-scoped setting, and when to read from `LocalCache` vs subscribe to a StateFlow.

vitorpamplona 528a2dd 3 files · 18.4 KB Updated

File contents

vitorpamplona/amethyst/tree/main/.claude/skills/account-state commit 528a2dd273

Frequently asked questions

npx skillmds@latest add vitorpamplona/account-state