Linked Questions

57 votes
4 answers
57k views

Ok, so I'm trying to call a contract method using the methods provided by the Ethereum JSON RPC interface. The JSON RPC is running on an Ubuntu machine. Unfortunately, I can't really get a result back ...
MethDamon's user avatar
  • 803
40 votes
5 answers
40k views

I am storing data in my contract using a mapping of structs. For examples sake, say I'm storing employee info (name/address/salary), mapped by their employee ID. Via a web front-end, I'd like to be ...
Amer Ameen's user avatar
5 votes
1 answer
16k views

First of all, sorry for the code in Portuguese, this was a choice of the team and I had no saying on that. I'm writing a Billet Manager, the code is as follows: contract GerenciadorBoletos { ...
Henrique Barcelos's user avatar
8 votes
2 answers
4k views

I've been struggling a bit with calling methods that change the state of the contract. Take, for example, the following contract: contract C { uint[] numbers; function initNumbers() { ...
Sebi's user avatar
  • 5,284
7 votes
1 answer
9k views

How do I compile a solidity file (e.g. 05_greeter.sol) from the command-line into bytecode? Without using IDE such as Mix.
kenorb's user avatar
  • 1,180
7 votes
1 answer
3k views

I am using Solidity Browser to deploy a contract due to from Library contract method failing #2831 issue. On this following answer https://ethereum.stackexchange.com/a/9181/4575 I have guided to use ...
alper's user avatar
  • 8,474
6 votes
1 answer
1k views

Can someone help me understand why the function add in the contract one is not working and in the contract two is? Both are mined and are inserted into the blockchain. Thanks. Not working contract ...
Rodrigo Plata's user avatar
2 votes
2 answers
3k views

So I've followed the greeter contract tutorial from here to deploy a contract to my private cloud. It works fine and all, but it is rather difficult that I need to create a string from my contract and ...
kramer65's user avatar
  • 655
4 votes
1 answer
874 views

Here's the page containing the example https://solidity.readthedocs.io Here are two contracts that are supposed to work together(my questions are below): Here's how I think it works. Please correct ...
manidos's user avatar
  • 4,308
4 votes
2 answers
982 views

Consider the following contract: contract Test{ uint public id; address public addr; bytes32 public name; struct t { bytes32 name; uint id; address addr; ...
skarred14's user avatar
  • 945
3 votes
1 answer
295 views

The following smart contract behaves differently on Solidity Browser and testnet: pragma solidity 0.4.2; contract mortal { address owner; function mortal() { owner = msg.sender; } ...
Juan Ignacio Pérez Sacristán's user avatar
2 votes
1 answer
192 views

I created a contract using go-ethereum console, I want to deploy registrar in private network. I found out a way to compile and deploy in https://github.com/ethereum/dapp-bin/tree/master/registrar ...
Ajk Thu's user avatar
  • 173