Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ruby]

Ruby is a dynamic, reflective, object-oriented, general-purpose programming language.

1
vote
1answer
30 views

Ethereum with Rails

I am much familiar with Rails but new in the Ethereum. But base on my understanding, if I am going to build a Dapp. The web stack should not include the back-end system like Rails. But why there's so ...
1
vote
0answers
49 views

Ruby library for Ethereum

What is the well accepted and active Ruby library for Ethereum? This article lists quite a few libraries but none of them seems to be actively maintained. I am looking for an Ruby library for my ...
0
votes
1answer
440 views

Transfer ERC20 tokens by ruby

I found only one semi-automatic solution to transfer tokens from one wallet to another. But i want to do that by web3js way on ruby stack. Could you guys explain me, how exatly to get data for ...
2
votes
1answer
271 views

Cannot transfer ERC20 token, “Bad instruction” error

I'm trying to transfer an ERC20 token from account A to account B. Account A deployed the contract and owns all tokens. Looks like I'm missing something very obvious. Every time I try to transfer ...
1
vote
0answers
103 views

How to best react to geth events from a server app?

I have a geth node running on a server. I want my Ruby app to take action every time a contract emits an event. The app cannot miss any events. One way would be to poll for transactions to that ...
1
vote
1answer
548 views

How to execute smart-contract functions on Ruby? [duplicate]

Is it possible to execute smart-contract functions using Ruby? For example executing function mint on behalf of the smart-contract's owner?
2
votes
1answer
951 views

How can I connect my Rails app to an ethereum network?

At this time I'm just trying to setup the simplest of apps where I click a button and that will send the most basic of transactions to my testrpc network. It's easy to do with JS and web3, but how can ...
1
vote
0answers
182 views

Watch contract event in Ruby

I am building a Ruby on Rails application and I want to subscribe to an event watcher of a published solidity contract in a Ruby task. I know that if I were programming in Node I could use web3.js to ...
6
votes
1answer
685 views

How to sign a message using secp256k1 in Ruby?

I'm trying to write a sign function in Ruby for Ethereum using secp256k1. I have access to this sign_compact function which seems to be for Bitcoin: https://github.com/lian/bitcoin-ruby/blob/master/...
5
votes
1answer
443 views

Generate key in Ruby, import in Geth

I'm a Ruby newbie and I need to implement a Geth-compatible key import/export in Ruby. I was looking at the Geth implementation in Go, as well as keythereum. For generating the key, I am using the ...
4
votes
1answer
497 views

What's the best way to receive ether payments in rails?

I'm new to the field, I usually work with Stripe on Rails to get traditional payments. Do you have some advice to get paid with Ether crypto coins on Rails ? Which online merchant services or Ruby ...
9
votes
4answers
7k views

Ethereum and Rails Tutorials

I am looking for some kind of walk through or tutorial about how to use ethereum with an ruby on rails application? Is there anything out there?
1
vote
1answer
684 views

method not available: solc (solidity compiler) not found

I am using ethereum-ruby to deploy smart contracts. I am using JSON RPC calls to my geth and its working pretty well. But when i use compile_solidity I get: "error"=>{"code"=>-32603, "message"=&...
5
votes
1answer
2k views

How can I connect geth by IPC on rails?

I'd like to connect geth by IPC on rails. I start geth as follows. $build/bin/geth --datadir "/home/vagrant/.ethereum" --networkid "1" --ipcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" ...