Ethester is a command line tool which can be used to automate and/or test tasks like:
- create new accounts;
- check account's balance;
- list all available accounts;
- send ether from one account to another;
- deploy new contract;
- call contract's public and/or external methods;
- get smart contract byte code from the blockchain;
- fetch logs from the blockchain;
- execute custom JavaScript code on a Geth node.
Full documentation available in the doc/ subdirectory.
- python 2.7;
- Ethester cannot work alone. Every command invocation (except for
-h/--help
option) requires runninggeth
node andgeth.ipc
socket readable and writable by current user. Last version ofgeth
can be found here; - probably, you'll need Solidity compiler in order to work with smart contracts.
Install Ethester executable to /usr/bin/
:
sudo make install
In general, Ethester command syntax is:
ethester [common_options] command [command_options] [command_args] [expectations]
For more details type
ethester --help
Good example can be used in test/Makefile
.
2-clause BSD. Full license text can be found in LICENSE
file.
Requirements:
- geth - go-ethereum executable;
- solc - Solidity compiler.
To run tests type:
make test