You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current wallet service supports only JSON files for reading and writing wallet details (e.g., addresses, information, and history). While functional, JSON files have limitations in handling larger datasets and can introduce complexity as the wallet scales.
Proposed Solution
To address these limitations, I propose implementing a storage driver system using polymorphism. This approach will enable the wallet service to support multiple internal and external storage drivers, such as JSON, SQLite, MySQL, and more.
Design Overview
We can introduce an abstraction layer with an interface for reading and writing wallet data. This interface will define methods for interacting with the wallet's vault. Below is an example of the proposed structure:
Description
The current wallet service supports only JSON files for reading and writing wallet details (e.g., addresses, information, and history). While functional, JSON files have limitations in handling larger datasets and can introduce complexity as the wallet scales.
Proposed Solution
To address these limitations, I propose implementing a storage driver system using polymorphism. This approach will enable the wallet service to support multiple internal and external storage drivers, such as JSON, SQLite, MySQL, and more.
Design Overview
We can introduce an abstraction layer with an interface for reading and writing wallet data. This interface will define methods for interacting with the wallet's vault. Below is an example of the proposed structure:
The text was updated successfully, but these errors were encountered: