algosigner
algosigner copied to clipboard
Add a way to sign a message without a transaction
Hi,
We are creating a d-app using AlgoSigner. We want to ask the user to sign a message with their address to check that it is really theirs. This will be used to authenticate users by their algo address only.
For now, we are using AlgoSigner.sign with a transaction of 0 algos with a random note. However, it is displaying a transaction to sign to users, with fees. Thus, users might be afraid that they need to pay something. Would it be possible to add a new UI to sign a short message without displaying anything about transactions, prices or fees?
Thanks.
Currently this is not available without the fee presentation, as any signed returned transaction could potentially be submitted resulting in the fee charge. Direct signature verification can be accomplished through a smart contract, but this would also have fees associated.
This has been selected for development - details on how it will work still tdb
+1 on this, I am also looking for the method like metamask's web3.personal.sign
method to "sign a message", this will make it easy for dApps/web to add a "Sign in with AlgoSigner" function
+1 on this. I think the end goal would be to allow users to go through the authentication process described here, i.e. using an Algorand equivalent of web3.personal.sign
used in conjunction with an equivalent of web3-token
.