globe-and-citizen / cnc-portal

The Crypto Native Portal, an app that creates a mechanism to financially acknowledge the micro contributions of Open Source collaborators along with tools that promote effective governance.
3 stars 0 forks source link

Better Error Handeling for SIWE #214

Closed hermannleboss closed 1 month ago

hermannleboss commented 2 months ago

Description

useSIWE need to be refactor to handles in a better way different states.

We have to reply to theses question

function siwe() should be inside useSiwe() to make it respect the pattern

In this video the first request failed. But the error is unable to read a value of nonce. It's not clear for the user.

https://www.loom.com/share/3910510c6c0d41ed88dc428569730a03?sid=0f833298-7561-443d-a326-56b91fa5113d

Acceptance Criteria

image