These are chat archives for DigixGlobal/ethereum-ruby

6th
Feb 2016
Rex Madden
@rexmadden
Feb 06 2016 00:24
Is there a way to send Ether in a transaction? I didn't see anything in the source.
Jikku Jose
@JikkuJose
Feb 06 2016 03:03
[Noob question]: Can I do simple transactions using this? If so can anyone show an example?
Anthony C. Eufemio
@tymat
Feb 06 2016 05:20
yes
if you instantiate an Ethereum::Client
client.send_transaction({data})
you can instantiate either an IpcClient or HttpClient
IpcClient requires path to the ipc socket file and HttpClient requires RPC host/port
we will be adding external signing soon
Jikku Jose
@JikkuJose
Feb 06 2016 10:51
@tymat cool!
Jikku Jose
@JikkuJose
Feb 06 2016 10:56
Can you give me an example of the data object? I am only used to geth (https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethsendtransaction)
Jikku Jose
@JikkuJose
Feb 06 2016 15:11
Also, what needs to be given for host & port? How to find the values.