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 of ergo-lib should be used. In addition, the address in Watcher app is always an Ergo address.
Acceptance conditions
Description
The withdrawal address in Watcher withdraw action should be validated. The logic should be exactly the same as Rosen app, as implemented in
validateAddressserver 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-libshould be used. In addition, the address in Watcher app is always an Ergo address.Acceptance conditions
react-hook-formAPIs, as done in Rosen app (e.g. inuseBridgeForm)