14000605 / wiz-website

Proj
0 stars 0 forks source link

Validate Owner Address #6

Open Karan886 opened 5 years ago

Karan886 commented 5 years ago

Currently, we are letting the users use dapper wallet to fetch their address and also type it in manually. We need to validate this, before moving on. A good starting point is to look at the web3 npm package - that provides some validation methods you can call.

Karan886 commented 5 years ago

Login.vue is where validation should be handled also look at these links: https://web3js.readthedocs.io/en/v1.2.0/web3-utils.html#isaddress https://web3js.readthedocs.io/en/v1.2.0/web3-utils.html#tochecksumaddress

Karan886 commented 5 years ago

We have decided to use the cheesewizard APIs error handling instead.