0.0.22 • Published 7 years ago

eth-toolkit v0.0.22

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

eth-toolkit

CLI tool for Ethereum developers.

Sample screenshot

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.
  • Name of contract: Name of contract, so contract Greeter {...} 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.
  • 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.
  • 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.
  • Name of contract: Name of contract, so contract Greeter {...} corresponds to "Greeter".
  • Call to execute: Method to call. Call with your arguments - like add(2, 2).
  • Address of contract: Address of callee.

Args

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

Example:

$ eth-toolkit args call Greeter.sol "say()" 0x83d85eEB38A2dC37EAc0239c19b343a7653d8F79
0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago