Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 07 16:34
    fuyuton opened #24
  • Apr 17 2018 07:06
    shao1555 opened #23
  • Apr 17 2018 06:55
    shao1555 opened #22
  • Apr 17 2018 06:36
    shao1555 opened #21
  • Dec 24 2017 12:20
    NARKOZ commented #2
  • Nov 18 2017 21:55
    robertsimoes commented #2
  • Oct 15 2017 20:43
    litch commented #19
  • Oct 02 2017 05:58
    dilumn closed #19
  • Oct 02 2017 05:52
    ayrat555 commented #19
  • Sep 27 2017 03:32
    i-nomads opened #20
  • Sep 17 2017 17:18
    dilumn opened #19
  • Sep 17 2017 17:15
    dilumn closed #18
  • Sep 17 2017 10:05
    dilumn opened #18
  • Jul 20 2017 04:29
    admazzola commented #17
  • Jul 20 2017 04:29
    admazzola closed #17
  • Jul 20 2017 04:16
    admazzola opened #17
  • Jun 08 2017 09:00
    smno1 opened #16
  • May 24 2017 06:56
    prabu2006it closed #15
  • May 24 2017 06:56
    prabu2006it commented #15
  • May 23 2017 16:29
    felipeands commented #15
5chdn
@5chdn
@nimi09 sounds like a perfect question for ethereum stack exchange ;-)
nimi09
@nimi09
@5chdn ok will do.
Anthony C. Eufemio
@tymat
Waiting on parity to get more stable so there will be an alternative to geth soon
5chdn
@5chdn
+1
parity sounds very promising
Jikku Jose
@JikkuJose
Hello anyone here
?
5chdn
@5chdn
yeah. sometimes.
Jikku Jose
@JikkuJose

@5chdn cool! I was able to get it running and made some progresses. I see that the output from the methods are hashes that corresponds to the JSON from the RPC.

Was wondering how difficult would it be to build a native Ruby system for it so that we will get back pure Ruby objects. Me & my friend is thinking to do it, any thoughts?

5chdn
@5chdn
a native ruby client? would love to see it running :)
Jikku Jose
@JikkuJose
Yes, a native one. That will give good POROs back rather than the hash
Thibaut Schaeffer
@Schaeff
Hi there! This might be more of a general Rails question (from someone coming from nodejs): do the Ethereum requests live in a different thread to avoid blocking the whole server for 15 seconds until mining?
Anthony C. Eufemio
@tymat
there are 2 types of request
you can send one that waits for the TX and one that doesn't wait for the TX
the second one you can get the TX id (hash) which you can check
Benedict O'Mahoney
@bomahoney_twitter
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)
Luca G. Soave
@lgs
hi, I'm pritty new to ethereum but I'd like to write a DAPP for subscribe a web service in rails. Is that possible ?
Luca G. Soave
@lgs
until now I have a node running like geth --ipcapi "admin,eth,debug,miner,net,shh,txpool,personal,web3"
and in Rails console I can do client = Ethereum::IpcClient.new("#{ENV['HOME']}/.ethereum/geth.ipc")
but when I try puts client.coinbase["result"] I get and error: JSON::ParserError: 776: unexpected token at '{"jsonrpc":"2.0","error":{"code":-32600,"message":"EOF"}}
amiracam
@amiracam
hi all, first post, I'm working on a Ethereum Jruby project , my strategy was to do JSON RPC to an Ethereum Java node and then I bumped into this , and of course if I could fully do things in Ruby that would be great, currently I'm slightly stuck on being able to call a contract via RPC because I don't have access to a RLP encoder, just wonder if calling a Smart contract function that requires parameter passing if that's all taken care of i.e. as beautiful as making a call on a Ruby object ? Also , what would the suggested best steps to become acquainted with ethereal-ruby ? I guess my other question is how active is this group ? i see that the last post here was on Jul 2 but perhaps most of the interactions are somewhere else ? Slack perhaps or IRC ? thanks
Alexandre Narbonne
@Zooip

Hi @tymat, I got some strange behavior

All my request returns

{"jsonrpc"=>"2.0", "error"=>{"code"=>-32600, "message"=>"EOF"}}

For example :

2.3.1 :016 > client.get_compilers
 => {"jsonrpc"=>"2.0", "error"=>{"code"=>-32600, "message"=>"EOF"}}
But in Geth console i got :
> eth.getCompilers()
["Solidity"]

When i try to use client.get_compilers

I got I1003 10:30:03.722321 rpc/server.go:344] write unix /home/alexandre/.ethereum/custom/geth.ipc->@: use of closed network connection In geth console

Alexandre Narbonne
@Zooip
@5chdn Did you solve your problem ? If yes how ?
Alexandre Narbonne
@Zooip
Ok i solved my problem using this repo : https://github.com/marekkirejczyk/ethereum-ruby
Official repo is broken ...
amiracam
@amiracam
I see that there's some life, I"m trying to approach this via a Jruby wrap of ethereumJ , but again perhaps this is a better way
Jorge
@jmiehau
Hi @tymat! is it possible to include this pull request on the master branch? DigixGlobal/ethereum-ruby#3
Anthony C. Eufemio
@tymat
yes
Sjouke Fikse
@fikse
@tymat, I loved your presentation at devcon2. Is there an example of the ICS pattern available as open source code which I might study?
thank you for releasing this!
i don't see a license in package.json
hww
@wenweih
Hi, I edit #11 ,is there anyone met the same problem?
Eric Saupe
@ericsaupe
OK, I just opened a PR that fixes the specs. It fixes all of them expect for anything that tries to run send_single those are timing out. Anyone have any ideas or experience with that?
Eric Saupe
@ericsaupe
running the specs, after fixing issues, is always coming back with {"jsonrpc"=>"2.0", "id"=>1, "result"=>"0x"} on the eth_call function
Satyam Agrawal
@satyamakgec
please any one can tell me about how i connect the ethereum blockchain with the ruby code
i am new in this field
Satyam Agrawal
@satyamakgec
@contract.transact_add_new_record() is not working. the error is transact_add_new_record is undefined. But the contract has the addNewRecord() method.
Alexandre Narbonne
@Zooip
@satyamakgec, Hard to tell without seeing the rest of your code. If @contract is an instance of your contract class, it should indeed implement transact_add_new_record
Pipevel
@pipevel
Hi all! I have an app developed in ruby on rails, for entrepreneurs.
I would like to implement transactions with ethereum in my app. I allready installed the ethereum gem. Somebody could guide me to know how to create the wallets, generate transactions. Thanks!
shiki.tak@山エンジニア
@shiki_tak_twitter

I am now trying to deploy contracts with ethereum-ruby. However, the following error occurred in build_all, and it does not go well. What is the cause?

NameError - wrong constant name / var / folders / jx / sr 81 nn 7 j 7 ts 95 mf b x d z n 1 h d 00 000 g n / T / geth - compile - solidity 076144390: Hello World:

By the way, send_transaction is executed.

スクリーンショット 2017-10-05 18.56.44.png
Muhammed Nagy
@muhammednagy
hello
anybody here?
Pipevel
@pipevel
Hi guys!
I would like to integrate my ruby on rails app with ethereum. ¿Any suggestions? I'm using now a gamification gem called merit, but i would like to generate a wallet for transactions, send and get money.
Satyam Agrawal
@satyamakgec
you are asking same question again after 1 year.
Pipevel
@pipevel
I have been working on it. Have some goals, but i want to learn more.