Ethelia features list
reviewed: 30 March 2024
Event management via API
store events on blockchain;- fetch events from blockchain:
search by;code
andtopic
- ⚠️ search by
created
- latest event;
- events by time range with fixed limit.
- manage
ExtensionEthelia
table:- CRUD on event record:
C
—create;R
—read/search;U
—update(we update existed event if it's found bycode
andtoken
);D
— ⚠️ delete/remove operation is not available via both API and admin panel.
- ⚠️ import data from JSON — consider production and development databases on blockchain: now you can export data from production to JSON via API (search with
*
metachar), but have no any ability to import that JSON to development database.
- CRUD on event record:
Pheix administrative layer
Suggestion for MVP — do not take all API features to admin, but keep:
- searching by
code, topic(raku-ethelia #2) and ⚠️ time range (consider all and latest); - ⚠️ visualization of event statistics from
ExtensionEthelia
— depends on code search: we should visualize search results on a timeline with bar chart; - ⚠️ API statistics (ref: Alchemy dashboard) — looks like
BigBro
engine might be used while accepting API requests.
«Wanted» features
- account balance details (actual balance in Ξ) and integration with MetaMask to transfer funds to another accounts (useful feature to
root
account at least); - store new events.
«Nice-to-have» features
- minimalistic transaction explorer;
- CRUD functionality for
ExtensionEthelia
; - configurable
fixed limit
for search; - event subscription via web sockets with filtering and possible proxy/relay.
Settings
⚠️ IMPORTANT: this section requires review/rewrite.
We have mandatory settings for Ethelia module or associated account, they should be stored in cookies and/or module configuration file. MVP settings list are:
- search
fixed limit
;- event proxy/relay setup: tokens, endpoints, chat ids, etc...;
- filter configuration.
Currently Pheix can:
- use local
JSON
config files from different (non-built-in) paths;- use onchain config files via the
JSON
→ blockchain bridge.With onchain config files we can guarantee safe storing for any setting set (no need for cookies, no restrictions due to built-in paths and any dependencies on global configuration file or
JSON
brige) and only owner account access.Deployment how-to: rawhide/settings-on-blockchain.
Reference
MVP goal: https://gitlab.com/pheix-io/ethelia/-/issues/3#note_1087533051