feat: improve

This commit is contained in:
2024-03-02 15:21:28 +07:00
parent cfcb9bc6ed
commit ca0e041731
62 changed files with 1353 additions and 1631 deletions

View File

@@ -50,6 +50,17 @@ export class Ark {
}
}
public async create_guest_account() {
try {
const keys = await this.create_keys();
await this.save_account(keys);
return keys.npub;
} catch (e) {
console.error(e);
}
}
public async create_keys() {
try {
const cmd: Keys = await invoke("create_keys");