Title: How to Eat Gas in Ethereum - Consuming 99.9% of the Gas Limit Post by: cottenio on February 13, 2020, 03:07:30 PM https://blog.cotten.io/how-to-eat-gas-in-ethereum-c34f1e421022 (https://blog.cotten.io/how-to-eat-gas-in-ethereum-c34f1e421022)
A method is presented to consume the available gas in an Ethereum transaction while still performing a defined amount of work: exchanging the spent gas for an equivalent amount of token value. Solidity code and a Ropsten test network demonstration are provided. --- The idea above could form the basis for Ethereum tokens built on gas "swaps" rather than Ether transfers. Seeking comments. |