harmony-one / chrome-extension-wallet

Harmony Chrome Extension Wallet
https://chrome.google.com/webstore/detail/harmony-one-wallet/fnnegphlobjdpkhecapkijjdkgcjhkib
60 stars 36 forks source link

hrc20 token sending issue #45

Closed mindstyle85 closed 4 years ago

mindstyle85 commented 4 years ago

i tried to test it and tried sending some VIP hrc20 tokens to its own contract address: 0x162ba1dc64ebf54b4c593665a12f448959ff26b5

it let me through, but then the tx failed in the end (sanity check maybe)

what the real problem is, once i did that, now every address i input as the receiver (when trying to send VIP tokens) is changed into bech32 format of the contract address 0x162ba1dc64ebf54b4c593665a12f448959ff26b5, which is https://explorer.harmony.one/#/address/0x162ba1dc64ebf54b4c593665a12f448959ff26b5

as you can see on the tx history page, all my attempts were as if sent to this address, although i was sending them to a completely legit address that i own

JB273 commented 4 years ago

Can confirm this added to that doesn't work with Ledger also! (but this is obvious...).

imyugioh commented 4 years ago

I don't understand the issue. Sorry

mindstyle85 commented 4 years ago

he now understand, went through him on discord, but looks like this is a general issue with the hrc token sending from onewallet, not because i tried to send to its own smart contract first

imyugioh commented 4 years ago

Use enough gas limit. Then it would succeed.

imyugioh commented 4 years ago

is fixed