Bitcoin Forum
April 26, 2024, 12:58:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Send ERC20 Tokens Without Paying Gas  (Read 145 times)
Craigmartin (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile WWW
December 05, 2018, 07:36:34 AM
 #1

Hi guys

I have 3 questions.
(1) How is it possible to send ERC20 Tokens without gas?
(2) If I want to send ERC20 Tokens from, lets say Account A with 0 Ethereum to Account B with Ethereum and have account B pay for the transaction gas, how do I do that?
(3) How is this guy in the examples doing it and is the gas being paid and by which account, the sender or receiver?

To me it looks like no gas is being paid, which is very strange.

I've tried googling answers to this but I'm getting the same answers "It's Not Possible you Noob""

Before you say it isn't possible like most people keep telling me, take a look at the following transactions, it is clearly happening, but how?

Example 1:(what I''m Taking About)
https://etherscan.io/tx/0x1dba1e5511d81a064f9423bea4af9a36826678221c3e539c882765773d33a73b
Gas Limit: 160000
Gas Used By Transaction:37263 (23.29%)
Gas Price:0 Ether (0 Ether)
Actual Tx Cost/Fee:0 Ether ($0.000000)


Example 2:(Normal Transaction)
https://etherscan.io/tx/0x84c19ddb593c5dc710310b65354cdbd7c24cb148bbcbb3a7eb4a5c9f9d22a5a9
Gas Limit: 250000
Gas Used By Transaction:36785 (14.71%)
Gas Price:0.000000004 Ether (4 Gwei)
Actual Tx Cost/Fee:0.00014714 Ether ($0.02)


More Examples of 0 Gas Price and Actual Tx Cost/Fee of 0

They're all different ERC20 tokens so it doesn't have to do with a specific tokens smart contract I'm assuming.

(1) https://etherscan.io/tx/0x815aa29ed5bb1af930f956763a5eb9756865847add90f9022643fdcf87f3a48c
(2) https://etherscan.io/tx/0x7a4370bc27251c85a70ec5bad47a1ddf30c5cfc4561765522050b0a9be49e1a6
(3) https://etherscan.io/tx/0x7f4eaef499ba069fb607300ad18cfcc86e27dc5ddd28c5b720c33126a66d7ea3
(4) https://etherscan.io/tx/0x1ad27aa3d07eb9c266109bc12e2a4cb856d5d240c47cd6d87cb9208f486fbc24
(5) https://etherscan.io/tx/0x2a3b6ec0f3653c20daf6c343f05e984c93131ef4e4e17909d5e548ce17611410
(6) https://etherscan.io/tx/0x6557ab42d1b39dc6e190a277299cc4634832f4520706332ae5bbebc9ed3f8db1

If someone can give a detailed explanation of how this is achieved I would really appreciate it.

Thanks in advance.

P.S. If its is a stupid and obvious answer then I'm sorry but I am kinda noob, Lol.
1714136284
Hero Member
*
Offline Offline

Posts: 1714136284

View Profile Personal Message (Offline)

Ignore
1714136284
Reply with quote  #2

1714136284
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714136284
Hero Member
*
Offline Offline

Posts: 1714136284

View Profile Personal Message (Offline)

Ignore
1714136284
Reply with quote  #2

1714136284
Report to moderator
1714136284
Hero Member
*
Offline Offline

Posts: 1714136284

View Profile Personal Message (Offline)

Ignore
1714136284
Reply with quote  #2

1714136284
Report to moderator
1714136284
Hero Member
*
Offline Offline

Posts: 1714136284

View Profile Personal Message (Offline)

Ignore
1714136284
Reply with quote  #2

1714136284
Report to moderator
Craigmartin (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile WWW
December 05, 2018, 09:25:28 AM
 #2

Serious, no one knows how he does this?
bitmover
Legendary
*
Online Online

Activity: 2282
Merit: 5887


bitcoindata.science


View Profile WWW
December 05, 2018, 09:27:08 AM
Merited by Heisenberg_Hunter (1)
 #3

Hi guys

I have 3 questions.
(1) How is it possible to send ERC20 Tokens without gas?
(2) If I want to send ERC20 Tokens from, lets say Account A with 0 Ethereum to Account B with Ethereum and have account B pay for the transaction gas, how do I do that?
(3) How is this guy in the examples doing it and is the gas being paid and by which account, the sender or receiver?

To me it looks like no gas is being paid, which is very strange.

I've tried googling answers to this but I'm getting the same answers "It's Not Possible you Noob""


Ok, First of all I will tell you that this is a bitcoin forum, and this post should be in Altcoin discussion session.

For your questions, first of all you need to understand that ethereum is a "world computer", where everything is proceessed by the whole network. So, if it was possible to make a zero gas transaction, that would easily result in a dos attack (denial of service).

 For example, someone would create a script of infinity transactions in a loop, until the network goes down.
What prevents a DOS attack in ethereum Network is that everything costs gas. So you have to pay for everything you do in the network.

So, the whole gas system was created in such a way to prevent this from happening. As gavin wood said, in a world computer, waste of computer resources would mean waste of world resources.

Regarding your example, you can see that the user spent 37263 gas. However, the gas prices was set to zero. I believe there are two possible explainations for that:
1- the gas price is not zero (0.000000), but something so low that etherscan consider as zero, such as 0.00000001 eth .
2- the owner of the transaction is a miner, and he decided to include this transaction in a block anyway. . I am not sure if that is possible in ethereum network, but it MAY be.

I made this post explaining ethereum gas system some time ago:
https://bitcointalk.org/index.php?topic=3285767.msg34270190#msg34270190

You cannot control how much gas is necessary to make a transaction. If you set a low gas for a transaction, it won't be processed. What you can set is the gas PRICE, which is , in this case, low. I don't believe it is zero, but so low that etherscan cannot see it.

As you can see, he paid a lot of gas for this transaction. Who decides how much is the minimum acceptable gas price is the miner.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Craigmartin (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile WWW
December 05, 2018, 09:37:59 AM
 #4

Thanks dude, like I said I'm a noob here. Thought I was posting in the correct place, my bad.
I will try find the correct place to post this now.
Thanks for your response though
bitmover
Legendary
*
Online Online

Activity: 2282
Merit: 5887


bitcoindata.science


View Profile WWW
December 05, 2018, 09:40:49 AM
 #5

Thanks dude, like I said I'm a noob here. Thought I was posting in the correct place, my bad.
I will try find the correct place to post this now.
Thanks for your response though

https://bitcointalk.org/index.php?board=67.0

Just click move topic, in the bottom right corner.
If it stays here it may get deleted.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pmalek
Legendary
*
Offline Offline

Activity: 2744
Merit: 7104



View Profile
December 05, 2018, 09:54:17 AM
 #6

You can try sending some tokens with gas price set as 0.00000001 and see if the transaction will get broadcasted. If the queue is not big maybe it eventually will. You always have the option to update the gas price with metamask if the 0.00000001 isn't enough and make it 0.00000002 etc and try again when the SafeLow Cost is low which unfortunately is not the case now.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
aliashraf
Legendary
*
Offline Offline

Activity: 1456
Merit: 1174

Always remember the cause!


View Profile WWW
December 05, 2018, 10:08:38 AM
 #7

Hi guys

I have 3 questions.
(1) How is it possible to send ERC20 Tokens without gas?
set gas price VERY low and pray or try solo mine ethereum and eventually include your txn in a block
(2) If I want to send ERC20 Tokens from, lets say Account A with 0 Ethereum to Account B with Ethereum and have account B pay for the transaction gas, how do I do that?
Write down a smart contract that compensates for fee of received txns.
(3) How is this guy in the examples doing it and is the gas being paid and by which account, the sender or receiver?
He probably used first technique.

Heisenberg_Hunter
Legendary
*
Offline Offline

Activity: 1583
Merit: 1276


Heisenberg Design Services


View Profile WWW
December 05, 2018, 05:46:14 PM
 #8

(1) How is it possible to send ERC20 Tokens without gas?
Gas is something like a fuel which must be specified for each and every transaction to take place in the ethereum blockchain. Does your vehicle run without fuel? It is not really possible to send a transaction without gas. What you can set is the price of each gas unit! This may range from 0.1 gwei to how much ever you need.

There are decentralized exchanges which use tokens as tx fee instead of ethereum. For such tx to occur you don't need to have Eth in your wallet. The exchanges withdraw the fee from the tokens you are trying to transfer.


1- the gas price is not zero (0.000000), but something so low that etherscan consider as zero, such as 0.00000001 eth .
Yes that's true, you can specify the gas price as low as 1-10 wei which might be confirmed by the miner after few hours. 1-10 wei is so small that would be equivalent to $0.0001 which etherscan would have rounded off to $0. With eth price being as low as $100 the price of the tx would be considered negligible if we specify it in wei.
covfefe_
Full Member
***
Offline Offline

Activity: 934
Merit: 105


View Profile
December 05, 2018, 05:55:29 PM
 #9

This could be an explanation:
The user requested a zero fee transaction or a very low fee transaction that etherscan rounded to zero.
Than he used his mining power to transact the block in order to boost the transaction as commonly done with bitcoin network.
sureshnsnet
Legendary
*
Offline Offline

Activity: 1424
Merit: 1008



View Profile
December 05, 2018, 06:06:06 PM
 #10

I am also want to know about that how we can send without gas fee to any erc20 tokens to other erc20 wallets? I think it is not possible without paying of gas free but in crypto exchange sites like binance or any other exchanges sites we can withdraw from to our erc20 wallets without paying any gas free in eth if I am wrong, please.

.
.ApeSwap.
The next-gen AMM,
Staking and Farming
Protocol on BSC
           ▄██▄
          ██████
          ██████
          ██████ ▄▄███▄
          █████
███▀ ▀▀█
    ▄█████████████▌    ▀█
   ██▀  ▀█████████▄     ▀█
  ██      █████████▄
 ▄█▀       █████████▄
▀▀          ▀█████████▄
              ▀█████████▄
                ▀█████████▄
                   ▀▀▀▀▀▀██
██████
██
██
██
██
██
██
██
██
██
██
██
██████
Stake now
for over 900% APR!
██████
██
██
██
██
██
██
██
██
██
██
██
██████
jpaul
Full Member
***
Offline Offline

Activity: 420
Merit: 100



View Profile
December 17, 2018, 08:40:20 PM
 #11

Even though this might be a good idea right now you have to realize that the gas is there for a reason and that is to make sure that the transactions with the highest gas are the ones that get sent through first and mined. If you do not use gas to send the coins, you should know that even though the coins end up going through, it will take a long time to arrive

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!