almindor / etherwall

Ethereum QT5 Wallet
GNU General Public License v3.0
142 stars 59 forks source link

ERC20 Token send transaction #124

Closed arko36 closed 3 years ago

arko36 commented 3 years ago

hi, I have some LINK tokens in the wallet, I can see the balance. I do not know how to send tokens, sorry. I tried with transactions > send Ether but I get and error insufficient funds what am I doing wrong ? do I have to call a contract method ? how ? Thanks

almindor commented 3 years ago

You need to go to the transactions tab click "send ether" (this I guess I should rename :D) and select the LINK token from the drop down (defaults to ETH). The drop down is to the right of the value field. Make sure to pick the right account, the amounts should be shown in whatever token you selected.

NOTE: you still need some ETH on the account to send out! this is a protocol requirement to pay "gas fees" for the transaction itself. If you don't have any on that account you need to send some.

arko36 commented 3 years ago

I have an address for the LINK and another for ETH, however, when I try doing the transaction selecting the LINK address and filling the fields I do get the insufficient funds error, I assume, it is because I do not have for the gas but how do I add the ETH for the gas to this LINK transaction ? I do have ETH in the other eth default address.

On Wed, Jan 6, 2021 at 3:18 AM Aleš Katona notifications@github.com wrote:

You need to go to the transactions tab and select the LINK token from the drop down (defaults to ETH).

NOTE: you still need some ETH on the account to send out! this is a protocol requirement to pay "gas fees" for the transaction itself. If you don't have any on that account you need to send some.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/almindor/etherwall/issues/124#issuecomment-755032521, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRQHSAYSBWOENQZRRJZVCLSYPB7ZANCNFSM4VWYLRZA .

almindor commented 3 years ago

Yes you need some ETH to pay for sending out the tokens and it needs to come from the address that holds the tokens. So you need both ETH and LINK in that address to be able to send out. This is how things work on Ethereum. Tokens are just "contracts" and any transactions executed on the contract cost ETH in gas fees.

You can get a good idea on how much ETH is needed by trying to construct the transaction first and looking at the cost (total in the transaction dialog). The value of LINK you try to send doesn't affect that.

Send a bit more from your main ETH account to the account with LINK and you should be able to send LINK out.

almindor commented 3 years ago

I hope you were able to send your LINK out as needed. Please re-open if you still have an issue.