}\r
}\r
\r
+ /**\r
+ * Retrieves all wallet IDs from the database.\r
+ *\r
+ * @returns Array of hexadecimal-formatted wallet IDs\r
+ */\r
+ static async export (): Promise<NamedData[]> {\r
+ try {\r
+ const response = await Database.getAll<NamedData>(this.DB_NAME)\r
+ debugger\r
+ const ids = Object.keys(response)\r
+ return ids.map(id => response[id])\r
+ } catch (err) {\r
+ console.error(err)\r
+ return []\r
+ }\r
+ }\r
+\r
/**\r
* Imports an existing HD wallet by using an entropy value generated using a\r
* cryptographically strong pseudorandom number generator.NamedD\r