These are chat archives for DigixGlobal/ethereum-ruby

5th
Jun 2016
Benedict O'Mahoney
@bomahoney_twitter
Jun 05 2016 17:15
I am trying to use the ethereum-ruby gem to send transactions to an existing registration contract that has been deployed via the Ethereum Wallet. I looked through the source, but I am not clear on how to create an instance. Tried this (but the initializer requires a file): client = Ethereum::IpcClient.new("#{ENV['HOME']}/Library/Ethereum/geth.ipc")
dCopyright_instance = Ethereum::Initializer.new("", client)
dCopyright_instance = dCopyrigt_instance.at("0x2b5503b1F3B8eF05e56085dA940FC963d9c34869")
deploytx = dCopyright_instance.transact_register(key, claimant, title, creationdate, ipfs, merklehashtree)