Transaction Sign and deploy on Rinkeby
** Taipei Ethereum Meetup 2018 January** 

1. Start the node js script

node index

2. Create a smart contract with a simple hi function which will return 123 whenever it is called 

source = "contract test { function hi() public returns (uint256) { return 123; }}"

3. Specify your public key (wallet address)

address = "0xd98e75cc85ae6f7e8bb1b382ebdab27d7e44bc30" //this is mine don't use it too much ><

4. Specify your private key

pkey = "609b3129d65126571d2319ce71e257aa76d4b556f8d18d95788a1247dc554436"

5. Send the raw transaction with the above params

helper.sendRawTnx(source, address, pkey) // will return the contract address after mined 

6. After you see 'contract mined!', press 'Ctrl+C' to return to the console

7. Create a contract object with your contract address

c = helper.contractObject(source, 'contract_address') // paste the contract address you just get

8. Try executing functions!

c.hi.call().toNumber() // you should get 123