Skip to content

[Docs] How to supply a storage adapter to dash SDK (wallet, chain, etc?) #132

Description

@coolaj86

When calling new Dash.Client({ ... }).getWalletAccount() I get this warning message:

warn: Running on a NodeJS env without any specified adapter. Data will not persist.

How do I find and initialize a storage adapter? I can't find a match for adapter at all on any of the documentation sites:

I'm not familiar at all with bitcoin core or any of the cryptocurrency forks. I'm assuming that setting a storage adapter must be something everybody knows how to do... except me.

For reference, I'm expecting to be able to use the native fs module in node, or something similar to that. (I would imagine SQL would be far too slow for large chains.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions