sui
sui copied to clipboard
refactor(enoki): enoki custom nonce
trafficstars
I don't know if this is a good solution,
but it would be cool to generate nonce on the backend (CSRF).
and send it to the frontend for operations and check it on the backend afterwards.
and maybe it would be better to add two arguments (publicKey, secretKey) instead of Ed25519Keypair.