Client for executing scheduled calls for the ethereum alarm clock.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
eth_alarm_client
tests
.gitignore
CHANGELOG
MANIFEST.in
Makefile
README.md
pytest.ini
requirements-dev.txt
requirements.txt
setup.py
tox.ini

README.md

!!!!!Notice!!!!!!

This is a legacy codebase for versions of the alarm service <0.8.0. Anything >=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.

Warning

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

Installation

Windows

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. ###Linux
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

Usage

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.