Ethereum Scripts

Contributors: Haaker, Nguyen, Egan

Preface

Make sure to run testrpc or a similar testing environment to use scripts

Some of these scripts require a smart contract (See Link Below) to execute

http://solidity.readthedocs.io/en/develop/introduction-to-smart-contracts.html

Toolkit.sh Combines most of theses scripts into one comprehensive file

Note: If using geth, most of these scripts will work with a few tweaks


Compile.sh

This script is used to load an Ethereum Smart Contract

Note: Ensure that you cd into the correct path where your file is located at


echoCompile.sh

Script to test the implementation and execution of a smart contract

Note: Requires Testrpc


getAccounts.sh

This script will list all eth accounts

Note: Requires Testrpc


getCode.sh

This script will get data from the specified contract functions

Note: Requires Deployed Contract


getTransactionResult.sh

This script displays the transaction result from a specified transaction number

Note: Requires Transaction Number


toolkit.sh

A Shell Based Comprehensive Toolkit for Basic Ethereum Interaction

Note: Start RPC by either testrpc or geth --rpc


echo.sol

A Simple Getter and Setter Contract

Purpose: For Testing Eth Scripts


A Special Thank You To IBM For Their Help