KomodoPlatform / atomicDEX

This is the official AtomicDEX mobile (smartphone app) repository
https://atomicdex.io
GNU General Public License v2.0
10 stars 15 forks source link

Add possibility to convert usual case address to mixed case one right in the app #150

Open dth88 opened 4 years ago

dth88 commented 4 years ago

At the moment users are very confused when trying to withdraw ETH/ERC-20 and input non-mixed case address as the recipient.

I suggest to add the possibility to convert address to the mixed case right in the app - because now support just recommends to input address to etherscan website to get the mixed case version what is the sub-optimal way.

Duplicated from a private repo [https://github.com/ca333/komodoDEX/issues/609]

gcharang commented 3 years ago

@tonymorony can we bump up the priority of this issue? if it isn't implemented as @dathbezumniy suggests, how about updating the error message to be informative?

cipig commented 3 years ago

API has the necessary calls implemented: https://developers.atomicdex.io/basic-docs/atomicdex/atomicdex-api.html#convertaddress

curl --url "http://127.0.0.1:7783/" --data "{"userpass":"$userpass","method":"convertaddress","coin":"ETH","from","0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359", "to_address_format":{"format":"mixedcase"}}"

{
  "result":{
    "address":"0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359"
  }
}
tonymorony commented 3 years ago

thanks, for bumping!

yeah it's reflected in relevant issue in mobile repo: https://github.com/ca333/komodoDEX/issues/609

we'll impliment this one in one of the next releases