Etherless is a Cloud Application Platform which allows developers to deploy Javascript functions in the cloud and let pay final users for their execution, by leveraging the Ethereum's smart contract technology.
- Download this repo.
- From inside of the etherless sub-modules run the command
npm installto install all the missing dependecies.
To use a command from inside the repository run: etherless <command> [params...]
Command: etherless init
The init command shows a brief introduction to the Etherless-cli module.
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.
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.
Command: etherless login -m <mnemonic_phrase>
It will log the user in an Ethereum wallet with the mnemonich phrase you inserted.
A password to encrypt the wallet will be requested after executing this command.
Command: etherless logout
After executing this command all the saved credentials will be deleted.
Command: etherless list
After executing this command a list of all functions available in the platform will be shown.
Command: etherless list -m
After executing this command a list of all functions owned by the current user will be shown.
Command: etherless info <function_name>
After executing this command, all details about the functioin will be shown.
Command: etherless run <function_name> [params...]
After executing this command, the function result will be shown.
Command: etherless deploy <function_name> <source_path> <description>
After executing this command a success or error message will be shown. The "source_path" parameter can be:
- a directory, if your function has dependencies. The directory must contain the following files: index.js, package.json and package_lock.json
- a javascript file, if your function has no dependencies
Command: etherless delete <function_name>
After executing this command the considered function will be deleted
Command: etherless history [--limit]
Following the execution of this command, a list of the user's past execution requests will be shown, with the relative results. The limit parameter indicates the maximum number of elements in this list.
Command: etherless search <keyword>
A list of all functions containing the "keyword" parameter inside their name will be shown.
Command: etherless whoami
If there is a user logged inside the Etherless-cli module, his address will be shown.