This is a legacy codebase for versions of the alarm service
>=0.8.0 can be found in the main Ethereum Alarm Clock codebase here: https://github.com/pipermerriam/ethereum-alarm-clock
Ethereum Alarm Clock Client
This is a client that can be used to monitor the alarm service for upcoming scheduled calls and execute them when the appropriate block number is reached.
This is only compatable with the 0.6.0 release of alarm.
This software should be considered alpha quality. Please feel free to reach out to me with any issues you run into.
Some things that should probably be added before this is really ready for public consumption:
- Claiming of scheduled calls.
- Conversion from RPC to IPC
If you're running Windows 10 Anniversary, you have to enable windows subsystem for linux, and then you can use the bash shell provided, as if you're running linux.
Follow this guide to enable it: https://msdn.microsoft.com/en-us/commandline/wsl/install_guide
Otherwise, you can try running coLinux or Debian/Ubuntu distros in VM.
First, check whether you have these packages installed:
build-essential automake pkg-config libtool libffi-dev libgmp-dev libssl-dev python python-pip libtool
If you are not sure, just install them using apt/apt-get if you are on Debian or Ubuntu:
$ sudo apt-get install build-essential automake pkg-config libtool libffi-dev libgmp-dev libssl-dev python python-pip libtool
And, if you are on clean install of Debian/Ubuntu, you'll also need geth:
$ bash <(curl -L https://install-geth.ethereum.org)
Then, you can install
$ pip install ethereum-alarm-clock-client
You can view all of the available commands:
$ eth_alarm Usage: eth_alarm [OPTIONS] COMMAND [ARGS]... Options: --help Show this message and exit. Commands: scheduler Run the call scheduler.
Or to run the scheduler
$ eth_alarm scheduler ...
In order for the scheduler to function there must be a unlocked JSON-RPC server running locally.