Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: Interacting with contracts without spending gas #1354

Closed
filips123 opened this issue Aug 25, 2018 · 7 comments
Closed

Idea: Interacting with contracts without spending gas #1354

filips123 opened this issue Aug 25, 2018 · 7 comments
Labels

Comments

@filips123
Copy link
Contributor

Summary

A way to interact with smart contracts (read and write) without spending gas.

Abstract

Currently, only read functions of smart contracts are free, but they can not change data. Gas is needed for other (write) interaction with smart contracts. This could be the problem, because users of đApps must have enough Ethereum for their usage. This is not good for new users of đApps because they must buy Ethereum even for simple contract operations.

In order to make Ethereum and smart contracts more useful and user-friendly, there should be a way to interact with them without gas.

Possible solutions

One solution is to make another blockchain network, which will be just for smart contracts and it will be free. Like test networks but more stable. This has a problem, because users would have to download both blockchains for usage of đApps.

Another solution is to make faucet for gas on mainnet. This could also has a problem, because it could lead to abuse of faucet.

@ligi
Copy link
Member

ligi commented Aug 25, 2018

I think option 1 is the way to go - but already there. Rinkeby testnet is quite stable. I can't imagine a faucet for the main-network to work as it would (not could) be abused ..-)

@filips123
Copy link
Contributor Author

Yes, but there should be some "official" solution or recommendation. There could also be some way to interact with both blockchains at same time.

@OFRBG
Copy link

OFRBG commented Aug 26, 2018

Gas is vital to avoid spam attacks and keep the economic mechanism running. There are other proposals to do what you are suggesting via delegated gas spending i.e. the DApp owner or a third-party pays for the transaction. See #1228 for example.

@lsaether
Copy link
Contributor

@filips123

#1228 or #1077 is likely what you're looking for.

These standards do not try to make smart contract interaction "free" but rather provide a way for a third party to pay the gas costs on behalf of the users. Depending on how DApps integrate this into their UX, it would seamlessly feel to the user that interacting with smart contracts are free. The way it works is that users sign messages signalling execution requests, and relay these messages to third party executioners. The executioners deploy the transaction to the chain and cover the gas fees. They can then be reimbursed in a token or in some other way (such as gaining a new user).

@UP822718
Copy link

UP822718 commented Jul 7, 2019

Hay was proof of work originally meant for anti spam for email. Why don't you have the user do a small bit of work for the ethereum network to do a biger bit of work?

@github-actions
Copy link

github-actions bot commented Dec 4, 2021

There has been no activity on this issue for two months. It will be closed in a week if no further activity occurs. If you would like to move this EIP forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

@github-actions github-actions bot added the stale label Dec 4, 2021
@github-actions
Copy link

This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback or request a review in a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants