You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the wrong model in mind. We don't want the user to log in with anything else than its wallet, which means we can ask for a signature for all operations/check that the credits were correctly sent in the API (using PyTezos, for instance).
then, we'll do what you're suggesting, which isn't a really good solution IMO (not your fault) because the credits can be sent while the API can be down;
Due to comment here : #1 (comment)
We need to protect " update credits " route from malicious API call.
Currently, a user can update "virtually" credits on database.
The proposition is to :
PUT /credits
endpointThe text was updated successfully, but these errors were encountered: