Overview

HTTPS SSH

sheth (shell ethereum) - A testing environment for Ethereum contracts

It builds private chains on your local machine so that you can evaluate the smart contracts exactly identical way you could do on the main chain.

Codeship Status for nshou/sheth

Quick usage

# Initialize the chain
$ . sheth

# Deploy a contract
$ sheth_deploy test/hello.sol '"Hello, Ethereum world!"'
{
  abi: [{
      constant: true,
      inputs: [],
      name: "sayhello",
      outputs: [{...}],
      payable: false,
      type: "function"
  }, {
      inputs: [{...}],
      payable: false,
      type: "constructor"
  }],
  address: undefined,
  transactionHash: "0x077c140ec03909ff27bb10066ebb6cdd3c619aa16ef29cf2ebccf2d8a1bb8207"
}

# Mine the contract
$ sheth_mine 1
true

# Interact with the contract (invoke `sayhello' function of `hello' contract)
$ sheth_interact hello.sayhello
"Hello, Ethereum world!"

# Clean up the chain
$ sheth_teardown

License

MIT. See COPYING.