kampouse.near's avatar
kampouse.near 1 month ago
Agree i made an working implementation so i have provable version that always work cause even some of the github libraries dont even have working oddly enough clave client work but not primal? I first found a dart version for nostr email ๐Ÿ˜‚๐Ÿ˜‚

Replies (1)

i hate javascript. when i get back on the task in a few days i'll finish the moxie compiler and rebuild the smesh.lol pure wasm webworker isolated modules - 4 verifier workers, relay proxy worker, database worker, and of course the all important signer worker. all are isolated, no internal data is exported via the webworker interface, page worker asks for signatures from the signer worker. adding a signer mode for nip-46 is trivial. i suppose i should include a nip-07 interface as well, for those who would prefer to use a signer. i need to make a better signer too, just actually don't need to for security purposes with an isolated webworker, it's equally isolated from the page as an extension, but simpler. in fact i should be able to build it with the legacy go-based tinygo fork of moxie any time. might do that tomorrow, but i think there is still some more wrinkles to iron out in the codegen. most of the crypto libraries are fixed now.
โ†‘