Skip to main content

wallet-repository

Functions

<dl> <dt><a href="#getWalletStore">getWalletStore()</a></dt> <dd><p>Get the mutable wallet store (Map keyed by wallet id). Consumers should treat this as an in-memory view and call persistWalletStore() after mutating.</p> </dd> <dt><a href="#persistWalletStore">persistWalletStore()</a></dt> <dd><p>Persist current wallet state to disk.</p> </dd> <dt><a href="#findWalletByAddress">findWalletByAddress()</a></dt> <dd><p>Find a wallet by address (case-insensitive).</p> </dd> <dt><a href="#findWalletById">findWalletById()</a></dt> <dd><p>Get a wallet by id.</p> </dd> <dt><a href="#upsertWallet">upsertWallet()</a></dt> <dd><p>Upsert a wallet record and persist it.</p> </dd> <dt><a href="#getAllWallets">getAllWallets()</a></dt> <dd><p>Return all wallets as an array (read-only snapshot).</p> </dd> </dl>

<a name="getWalletStore"></a>

getWalletStore()

Get the mutable wallet store (Map keyed by wallet id). Consumers should treat this as an in-memory view and call persistWalletStore() after mutating.

Kind: global function
<a name="persistWalletStore"></a>

persistWalletStore()

Persist current wallet state to disk.

Kind: global function
<a name="findWalletByAddress"></a>

findWalletByAddress()

Find a wallet by address (case-insensitive).

Kind: global function
<a name="findWalletById"></a>

findWalletById()

Get a wallet by id.

Kind: global function
<a name="upsertWallet"></a>

upsertWallet()

Upsert a wallet record and persist it.

Kind: global function
<a name="getAllWallets"></a>

getAllWallets()

Return all wallets as an array (read-only snapshot).

Kind: global function