Skip to main content

Module account

Module account 

Source
Expand description

Account-domain natives. Wraps server::command::{CreateAccount, ListAccounts, ListAccountsForManage, GetAccountForManage, SetAccountTag, GetAccount, GetAccountCommodities, GetBalance} as nomiscript-callable host fns.

list-accounts is the first DB-touching command in the registry; its result (CmdResult::TaggedEntities) is marshalled into an S-expression string via format_tagged_entities, captured through the streaming-string path. The emacs client (read)s the resulting string to recover the structured shape. Per-command marshalling lives next to each native rather than in a single registry-wide serializer because each CmdResult variant has different fields worth surfacing on the wire.

Constants§

REGISTERED_COMMANDS

Functions§

register
register_mutators
register_readonly