Skip to content

[Request]: Expanded documentation for Askar WalletConfig #128

@daidoji

Description

@daidoji

Documentation Request

Right now there exists https://aries.js.org/guides/0.4/tutorials/agent-config#walletconfigstorage which isn't quite helpful, although there are many examples throughout the docs of path: uri: and other options in postgres for example scattered here and there.

In trying to determine whether I could use the :memory: database with sqlite for testing I found these two options along with references on google to inMemory (which didn't seem to work). This section having a robust breakdown of the various storage backends and wallets one could use with PG, sqlite, or any other backing that might come up and a strict interface would certainly help clear up some of this for newcomers.

  1. Expand this section in the linked docs to include basic storage options for sqlite (and maybe move some of the Postgres options).
  2. Document somewhere how to use the in-memory database from sqlite either here or in its own section. (In my research passing uri: 'sqlite://:memory:' as a storage config key seemed to work at initializing agents at the least. attached file from basic config example from the docs with this for testing).

minimal_memory_example.ts.txt

Version

0.4.x

Which platform are you most interested in for documentation?

  • React Native
  • Node.JS

Contribute (optional)

  • Agree

Metadata

Metadata

Assignees

No one assigned

    Labels

    requestRequest for documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions