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
The withdrawal address in Watcher withdraw action should be validated. The logic should be exactly the same as Rosen app, as implemented in validateAddress server action. Please note that, Watcher app is run in the browser, as opposed to Rosen app which is partially run in NodeJS. So, browser version of ergo-lib should be used. In addition, the address in Watcher app is always an Ergo address.
Acceptance conditions
An appropriate error should be shown below the withdrawal address text field, the same as Rosen app
Validation logic should be the same as Rosen app
The validation should be done through react-hook-form APIs, as done in Rosen app (e.g. in useBridgeForm)
The text was updated successfully, but these errors were encountered:
Description
The withdrawal address in Watcher withdraw action should be validated. The logic should be exactly the same as Rosen app, as implemented in
validateAddress
server action. Please note that, Watcher app is run in the browser, as opposed to Rosen app which is partially run in NodeJS. So, browser version ofergo-lib
should be used. In addition, the address in Watcher app is always an Ergo address.Acceptance conditions
react-hook-form
APIs, as done in Rosen app (e.g. inuseBridgeForm
)The text was updated successfully, but these errors were encountered: