gitcoinco / grants1337

β°πŸ’°πŸ€  Set-it-and-forget-it token subscriptions on the Ethereum mainnet. #Winner #WyoHackathon

Home Page:https://tokensubscription.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

β°πŸ’°πŸ€  Token Subscriptions πŸ€ πŸ’°β°

tokensubscriptionscreencast

https://tokensubscription.com allows publishers (service providers) to deploy a smart contract on Ethereum with parameters for a subscription including destination address, token address, token amount, and period of recurrence. The publisher then supplies a link to the subscriber that is presented with the terms of the subscription to sign an off-chain meta transaction that is replayed on the defined period. The subscriber controls the flow of the tokens (starting, stopping, pausing, etc) using the ERC20 standard approve() function.

Usually a nonce is used for replay protection, but the heart of the trick with https://tokensubscription.com is a replay-able nonce that works on a defined schedule. In combination with the ERC20 allowances and meta transactions an extremely simple token subscription service can be created.

first place overall #wyominghackathon

winnerscircle

https://devpost.com/software/token-subscription

9i9a0053

About

β°πŸ’°πŸ€  Set-it-and-forget-it token subscriptions on the Ethereum mainnet. #Winner #WyoHackathon

https://tokensubscription.com

License:MIT License


Languages

Language:JavaScript 81.9%Language:Solidity 10.1%Language:CSS 4.0%Language:HTML 3.8%Language:Shell 0.3%