Most Popular

1500 questions
12
votes
1 answer

Peermanager is unable to connect to nodes

I'm following this guide and am trying to create a private network with its own block chain and peers. I managed to install docker following this guide (I'm using a debian 8 jessie virtual machine) and also set up a python virtual environment for…
Sebi
  • 5,294
  • 6
  • 27
  • 52
12
votes
2 answers

How to wait Oraclize result before running code further?

I'm trying to write a contract, which first asks input from user, then makes Oraclize query and after receiving answer from Oraclize compares user input to Oraclize answer. My problem is, that my code doesn't wait for the answer from Oraclize and…
Matias
  • 1,109
  • 1
  • 10
  • 16
12
votes
2 answers

Solidity and multiple inheritance

I'm attempting to understand how solidity resolves multiple inheritance. As explained in the docs, Solidity uses C3 linearization. The relation between my classes is displayed on the image below: I want to understand in which order super is working…
user3223162
  • 417
  • 3
  • 13
12
votes
5 answers

IPFS conditional access control through ethereum smart contracts

This question is about combining IPFS with Ethereum smart contracts to check conditions and encryption to restrict access. One-on-one file sharing with a known recipient is not an issue. The 'sender' would encrypt the file with the recipient pubkey,…
Nico
  • 852
  • 6
  • 12
12
votes
6 answers

Is there a quicker way than geth --fast to download the Ethereum blockchain?

I had the Mist client installed, but it hadn't been updated in a few weeks so I tried renaming the chaindata folder (instead of deleting it) and downloading the blockchain with geth --fast as that is supposedly faster. I started the download about…
dhuyvetter
  • 249
  • 1
  • 3
  • 8
12
votes
3 answers

During ECDSA signing, how do I generate the Recovery ID?

I'm working on authoring Ethereum transactions using ECDSA with SECP256K1. On the tail end of an Ethereum transaction is the V, R, and S values of signing a hash of the message. V is defined as chainID * 2 + 35 + RecoveryID where chainID is some…
Corey Ogburn
  • 423
  • 6
  • 18
12
votes
2 answers

How are enums converted to uint?

When using web3, calling a function that returns an enum type converts it to a uint. Initially I assumed that enums are converted incrementally: 0,1,2,3.... However what I received was a hexadecimal. How is it converted, and how do you parse it? For…
latrasis
  • 313
  • 1
  • 2
  • 7
12
votes
2 answers

How can I take a snapshot of Ganache or Truffle Develop state and reload later?

I would like to be able to save the state of my local Ganache or Truffle Develop chains into some sort of file. At a later time, I would like to be able to restart Ganache or Truffle Develop and apply the snapshot. Is this possible? Any resources…
nickjm
  • 865
  • 1
  • 7
  • 18
12
votes
4 answers

What is ether? How is it different from other tokens such as bitcoin?

What is ether? How does it differ from past tokens such as bitcoin and litecoin? What are all the usages of ether?
high110
  • 4,756
  • 1
  • 21
  • 43
12
votes
2 answers

How to calculate with time and dates?

What's the best way to calculate with dates in solidity, in particular, getting the total number of days between the start date and end date? Also What's the best way to get the current date/time in solidity? Much appreciated.
H.Thiam
  • 219
  • 1
  • 4
  • 9
12
votes
2 answers

What happens when two smart contracts recursively call each other?

As I understand it, a smart contract can "call" other smart contracts. So what happens when two smart contracts call each other in a recursive loop? Does the whole network break down and die?
Shelvacu
  • 1,405
  • 1
  • 12
  • 22
12
votes
2 answers

Why do smart contract languages need to be deterministic?

I read somewhere that smart contract languages need to be deterministic. Why?
Satoshi Nakanishi
  • 5,749
  • 7
  • 38
  • 57
12
votes
5 answers

How to verify MetaMask account holder is the real owner of the address?

I'm making a dapp that will make calls to a Node.js server. I expect the user to have MetaMask installed and I want to verify that he is the real owner of the current address on MetaMask (i.e. accounts[0]). This is the user flow I am trying to…
adrianmcli
  • 356
  • 1
  • 3
  • 10
12
votes
3 answers

Is LLL still used as language?

What is the state of the contract programming language LLL (Lisp-Like Language)? Is it still used and supported?
J-B
  • 8,941
  • 16
  • 46
  • 77
12
votes
5 answers

How do I "Buy" tokens on the Rinkeby (test) environment?

This is a noob question I presume. I just started with the Ethereum Wallet. No previous bitcoin experience. I have 0 ether. Can I start "playing" with the test environment ("Rinkeby" network as I understand). Do I need to buy ether for that?
gerbil
  • 225
  • 1
  • 2
  • 6