CLI tool for Ethereum developers.

WIP

This is only intended for use on development chains. I repeat..

This application offers no protection or security of any kind. Do not use outside of development chains.

$ npm install -g eth-toolkit $ parity $ eth-toolkit

The easiest way to explore eth-toolkit is the prompt interface, which eth-toolkit runs by default. If you'd rather enter all arguments in one command, run eth-toolkit args and enter values as shown below.

Here's what I can do:

deploy contract

Inputs

Path to *.sol file : Path to contract you're deploying.

: Path to contract you're deploying. Name of contract : Name of contract, so contract Greeter {...} corresponds to "Greeter".

: Name of contract, so corresponds to "Greeter". Address of sender : Your address to send the contract from. For now, you'll need to use the Parity UI to sign the contract. If you'd like eth-toolkit to generate a new account and publish from there, leave this blank.

: Your address to send the contract from. For now, you'll need to use the Parity UI to sign the contract. If you'd like to generate a new account and publish from there, leave this blank. Arguments for constructor : This string is inserted into an array and passed as the arguments . value in contract.deploy() , so separate your args with commas.

: This string is inserted into an array and passed as the . value in , so separate your args with commas. Gas: Gas to put in this contract. Defaults to 1000000.

Args

$ eth-toolkit args deploy <path to *.sol file> <your address> <arguments> <gas>

Example:

$ eth-toolkit args deploy Greeter.sol 0x00a329c0648769A73afAc7F9381E08FB43dBEA72 "Hello world!" 1000000

Note: to have eth-toolkit generate an account and deploy from there, enter 'new' as the address.

call method

Inputs

Path to *.sol file : Path to contract you're deploying.

: Path to contract you're deploying. Name of contract : Name of contract, so contract Greeter {...} corresponds to "Greeter".

: Name of contract, so corresponds to "Greeter". Call to execute : Method to call. Call with your arguments - like add(2, 2) .

: Method to call. Call with your arguments - like . Address of contract: Address of callee.

Args

$ eth-toolkit args call <path to *.sol file> <method call> <address of contract>

Example: