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

Add Scheduled Tx Submission #729

Closed
kumavis opened this issue Oct 12, 2016 · 5 comments
Closed

Add Scheduled Tx Submission #729

kumavis opened this issue Oct 12, 2016 · 5 comments

Comments

@kumavis
Copy link
Member

kumavis commented Oct 12, 2016

image

submitted by @pipermerriam

Something like this, really rought UX but hopefully it communicates the idea.
I would think that this UX would only be available if the user explicitely checked a box somewhere enabling it and it would have warnings that it's an experimental feature.
There's more options that could be shown for configuring the scheduled transaction but this is basically the simplest UX possible. Added fields would be things like controlling the fee amount, transaction gas, as well as scheduling based on block number rather than time.

@kumavis kumavis added this to the Future Release milestone Oct 12, 2016
@kumavis
Copy link
Member Author

kumavis commented Oct 12, 2016

Use cases I know of thus far:

  1. Scheduling your purchase into a crowdsale/ICO to be executed when the sale begins.
  2. Scheduling claiming your winnings from something like a prediction market (or any other applications which requires you to resolve something at a later time).
  3. Scheduling any payment to be executed at some later time/date.

@2-am-zzz 2-am-zzz added type-discussion needs-design Needs design support. labels Sep 12, 2017
@danfinlay danfinlay changed the title Feature: Delayed Tx Submission Add Scheduled Tx Submission Nov 29, 2017
@danfinlay
Copy link
Contributor

danfinlay commented Nov 29, 2017

New use case:

Cryptokitties uses reverse dutch auctions for selling cats. In a reverse dutch, when you bid is what you bid, and sometimes my desired bid is a time I'll be unavailable/asleep.

In times like these, I'd like to schedule a tx to send. Ideally, the nonce-incrementing would be done at the scheduled time, but I get there's a few implementation options with different tradeoffs here:

  • A: Either it's signed & submitted locally (your computer must be on at that time)
  • B: It is pre-signed and submitted by a remote service (no txs can be sent until then)
  • C: It is signed with a remote key (only give up trust for an account)
  • D: We enable a special type of contract account that supports scheduling transactions with ether alarm clock or something.

@pipermerriam
Copy link

The people at Chronologic are currently working on getting Alarm Clock rebooted. I'm helping their devs with the bits of contract work necessary to get the contracts working again. If you guys are interested in this route we should talk.

@cjeria cjeria removed this from the Future Release milestone Jan 18, 2018
@kosecki123
Copy link

Hey, I'm with ChronoLogic, after brief discussion with @danfinlay we would like to reboot this idea.

Ethereum-Alarm-Clock is operating on the mainnet since 24th of August 2018. Contracts have been audited by @bokkypoobah and report is available here.

So far the protocol is integrated with MyCrypto wallet more info here and our in-house DApp at https://app.chronologic.network. Our team provided the integration by creating PR to MyCrypto repository and activly improve the UI/UX for "Send later" functionality (MyCryptoHQ/MyCrypto#1343, MyCryptoHQ/MyCrypto#2225, MyCryptoHQ/MyCrypto#2228 and other smaller ones)

At the time of writing EAC has successfully transffered over 1100ETH (current amount can be check on https://www.ethereum-alarm-clock.com)

How EAC protocol works:

TL;DR;

  • Users are locking ETH or tokens or just calldata on the smart contract deployed by EAC protocol with necessary parameters like time of execution, bounty...
  • Decentralized network of TimeNodes (relayers) coordinating and executing those transactions

Full explanation with deep dive talk recorded during EthCC here

ChronoLogic delivered whole suite of software required to run and facilitate the protocol:

TimeNode networks open for everyone to join and provide the service. We currently working on making it available on DappNode distro/PM.

Our team (@bagaric and @kuzirashi) can start working on proposal for UI and implementation ASAP.

Happy to answer any questions 🚀

@kumavis
Copy link
Member Author

kumavis commented Mar 27, 2020

so in general we never implemented this sort of thing because it blocks later nonces which can be a user experience nightmare

better to readdress when we have a contract account setup

@kumavis kumavis closed this as completed Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants