Skip to content

Wasm compatible Database for bdk #450

@josediegorobles

Description

@josediegorobles

Hi, i find that i need to have a database on wasm and i think i'm not the first nor the last. I'm currently working in the browser and it's all great with bdk but it's very cumbersome for the (future) users to wait for the synchronization every time.
So i think in two options:

  • To make a version of MemoryDatabase in which we save the serialized structures on LocalStorage
  • Implement the database tratis for IndexedDB. web_sys has support for IndexedDB so i think it can be a good possibility.
    I really need this feature and I will have time for work on it, so what do you think is the best path and the requirements and niceties for this?

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