How it works:
- GasStation contract allow to subscribe for N amount of gas in exchange for a set price
- Sender signs the MetaTX
- Relayer transmits
Missing:
-
Pretty much everything :) that makes this usable in real life scenarios
-
Stay tuned!
How to use it:
- Deploy the GasStation contract - address will be stored in localStorage
- Deploy the example Counter contract - address will be stored in localStorage
- Buy subscription
- Increment - to sign the message
- Relay - to publish the message
Try it now: https://chronologic.github.io/gas-subscriptions/