How a gas token works.
A gas token writes some garbage data on-chain and pays for this. Normaly you mint the gas token when gas price is low. (Around 1 Gwei). If gas price hight somebody destroys the gas token and ethreum pays back a refund and this refund can be used to pay for the gas cost of the including contract.
CHI
https://1inch-exchange.medium.com/everything-you-wanted-to-know-about-chi-gastoken-a1ba0ea55bf3
To mint CHI:
- Go to https://etherscan.io/token/0x0000000000004946c0e9f43f4dee607b0ef1fa1c#writeContract
- Connect Metamask
- call mint with the number of chi token you want to mint
- set gas very low on tx and wait, and wait, and wait, and wait, and wait
GAS Token 2 (GST2), 19 September 2017
Creats contracts and deletes these for refund. Efficiency is 3.02
CREATE + SELFDESTRUCT is used for refund.
Read more on https://gastoken.iohttps://gastoken.io
https://etherscan.io/address/gst2.gastokenio.eth
https://etherscan.io/token/0x0000000000b3F879cb30FE243b4Dfee438691c04
GAS Token 1 (GST1) Mainnet 07 March 2018
Writes data to storage (SSTORE) and deletes these for refund. Efficiency is 2.60
SSTORE is used for refund.
https://etherscan.io/address/gst1.gastokenio.eth
https://etherscan.io/token/0x88d60255f917e3eb94eae199d827dad837fac4cb
Read more on GST2 and 1 GST1 https://gastoken.io
Gastoken on ETC
Gastoken also exists on ETC. And because ETC allows 0 gas transaction sometimes you can generate them for free!
Have look here for the GST2 on ethereum classic:
https://etcblockexplorer.com/address/0x0000000000b3F879cb30FE243b4Dfee438691c04
Here you see a 0 gas tx which mints a GST2 token:
https://etcblockexplorer.com/tx/0x87dec4adcd5702ed59acc7a7229dc23d6bcc9bf14e0388db3a97c20592dee9c5