1.0.0 • Published 4 years ago

@marcopo123456789/test-etherless-cli v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Etherless-cli

Module through which users can interact with the Etherless platform.

Installation

  • Download this repo
  • From inside of the downloaded repo run the command npm install to install all the missing dependecies. Then run the command npm link as Administrator (which allow you to use the keyword 'etherless' to execute commands).

Commands

To use a command from inside the repository run: etherless <command> params...

Signup

Command: etherless signup --save Will create an Ethereum account for you, and show its: address, private key and mnemonic phrase. You can request to save these informations inside a file of the current directory with the flag --save.

Login

Command: etherless login <private_key> It will log the user in an Ethereum wallet with the private key inserted. A password to encrypt the wallet will be requested after executing this command.

Logout

Command: etherless logout After executing this command all the saved credentials will be deleted.

List

Command: etherless list After executing this command a list of all functions available in the platform will be shown.

Info

Command: etherless info <function_name> After executing this command, all details about the functioin will be shown.

Run

Command: etherless run <function_name> params... After executing this command, the function result will be shown.

Deploy

Command: etherless deploy <function_name> <source_path> <description> After executing this command a success or error message will be shown.

Delete

Command: etherless delete <function_name> After executing this command the considered function will be deleted