algosigner icon indicating copy to clipboard operation
algosigner copied to clipboard

Add a way to sign a message without a transaction

Open AChaffangeon opened this issue 3 years ago • 4 comments

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.

AChaffangeon avatar May 15 '21 19:05 AChaffangeon

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.

PureBrent avatar May 18 '21 15:05 PureBrent

This has been selected for development - details on how it will work still tdb

purestaketdb avatar Aug 02 '21 12:08 purestaketdb

+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

bofeng avatar Jan 09 '22 18:01 bofeng

+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.

lorenzopolidori avatar Mar 25 '22 18:03 lorenzopolidori