Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ethereum-alarm-clock/cli

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethereum-alarm-clock/cli

Command-line tool written in JavaScript to interact with the Ethereum Alarm Clock

  • 3.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
3
Weekly downloads
 
Created
Source

npm version

Greenkeeper badge

@ethereum-alarm-clock/cli

This package allows you to run an Ethereum Alarm Clock TimeNode and to schedule transactions. It contains testing utilties too.

Contribute

If you would like to hack on @ethereum-alarm-clock/cli or notice a bug, please open an issue or come find us on the Ethereum Alarm Clock Gitter channel and tell us. If you're feeling more ambitious and would like to contribute directly via a pull request, that's cool too. We will review all pull requests and issues opened on this repository. Even if you think something isn't working right or that it should work another way, we would really appreciate if you helped us by opening an issue!

How to use

To run a TimeNode or schedule a transaction you will need to create a keystore. eac contains some utilities to help out with this.

node bin/eac createWallet

will guide you through the steps of creating a keystore.

node bin/eac fundWallet <amt> --wallet <wallet_path> --password <string> --provider <path>

will send <amt> ether to each account in the passed in wallet from a local unlocked account. Notice, you must be running a local node with a local unlocked account to use this utility. Otherwise you can send ether to your wallet accounts in any other way.

If you ever get tired of running a TimeNode, you can drain the funds held in the wallet to an external account like so:

node bin/eac drainWallet <target_address> --wallet <wallet_path> --password <string>

Once you have your wallet set up and funded, run a TimeNode with some default params like so: (provider is the path to the Ethereum node you are using)

node bin/eac timenode --wallet <wallet_path> --password <string> --provider <path> --maxDeposit 1

Open up ~/.eac.log for the output, I prefer to follow the output in a new screen:

tail -f ~/.eac.log

Want more?

This package is a part of EAC.JS family ~

Keywords

FAQs

Package last updated on 13 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc