Working send and updated account structure

This commit is contained in:
2026-08-20 11:24:59 +02:00
parent 9c448049bc
commit cce9756a1b
8 changed files with 28 additions and 16 deletions
+6 -1
View File
@@ -62,8 +62,13 @@ export default class Enclave<P = Page> {
const timestamp = Date.now();
if (!this.server?.serverPublicKey) {
console.error("Server pubkey not initialized");
return;
}
const signature = new TextEncoder().encode(
`${timestamp}@${this.server?.hostname}@${content}`,
`${timestamp}@${base58.encode(this.server?.serverPublicKey)}@${content}`,
);
this.server?.websocket?.send({