hi devs! How to keep track of used signature for stop multiple usage? Firstly I wanna do smth like this address => signature, but It can hold only last signature. So there is a way to cheap storage for signature or how to do it organize properly?

May 12, 2022, 5:12 AM
It's unclear what you mean. You want to allow the user to only submit a signature once and never again, or you want to just track the last signature that was used?
May 12, 2022, 5:24 AM
I wanna track all signature are used. So there is no chance to get back with old signature and claim money once again...
for now I have a mappting(signature => bool) it works as expected. But probably there is another way to do it?
May 12, 2022, 5:27 AM
That is probably as good as it gets, however, it seems futile. It is trivial to create thousands of addresses. You can never ensure individuality on blockchain without some kind of off-chain authentication.
May 12, 2022, 5:30 AM
cool, thanks a lot! it's simple project so I leave it as is =) I just want to be sure that I handle things properly.
May 12, 2022, 5:37 AM
We're all solidity devs, kind of hard to ignore this.
May 12, 2022, 7:19 AM
What does being a Solidity developer have to do with LUNA?
May 12, 2022, 7:39 AM
You can't figure out the one-degree-of-separation connection?
May 12, 2022, 7:40 AM
Stop with fud
Do you want a good message?
May 12, 2022, 7:41 AM

© 2024 Draquery.com All rights reserved.