Most Popular

1500 questions
13
votes
4 answers

Confused by internal transactions

Let's say contract A has function F. If someone uses a regular account to call A::F a transaction is laid down on the blockchain. That transaction is easily found on EtherScan for example. If a contract account, say contract B, uses call to call the…
Thomas Jay Rush
  • 9,943
  • 4
  • 31
  • 72
13
votes
2 answers

Using ".value(...)" is deprecated. Use "{value: ...}" instead

This works fine in Remix but when trying to work in VSCode (for compiling purposes; DApp course, trying to build .json through compile.js ) it throws the error Using ".value(...)" is deprecated. Use "{value: ...}" instead. …
utsav pandey
  • 133
  • 1
  • 4
13
votes
2 answers

What is the way to make Ethereum available to users for free?

As the web is mostly free today (I mean the old web, the one < 3), most people won't agree in beeing asked for fuel to run sites, apps, even if the gain in terms of safety and trust are so much more that what they could pay as fee to use…
Nicolas Massart
  • 6,783
  • 2
  • 29
  • 63
13
votes
1 answer

Why use filters - eth_getLogs vs eth_newFilter

It seems to me eth_getLogs is much simpler than eth_newFilter + eth_getFilterLogs. eth_getLogs has no need for installation, got same parameters, catches events retrospectively. What are use cases of filters at all? As in my previous question:…
takeshi
  • 1,760
  • 1
  • 13
  • 33
13
votes
4 answers

What are the different GUI's available for Ethereum?

Are there any easy to use GUI's for Ethereum?
Dawny33
  • 2,007
  • 2
  • 16
  • 27
13
votes
1 answer

How can I slice bytes, strings, and arrays in Solidity?

Is it possible to slice variables in Solidity?
Shane Fontaine
  • 18,036
  • 20
  • 54
  • 82
13
votes
2 answers

Secret ballot voting

Is it possible to organize a secret ballot voting in a smart contract One knows the number of votes casted and who have voted You know the total results of the voting However, one doesn't know who voted and what
Mikko Ohtamaa
  • 22,269
  • 6
  • 62
  • 127
13
votes
3 answers

Is it possible to preload contracts in the genesis block?

Here's the setup I'm trying to use: A genesis.json with the alloc field set to include code. "alloc": { "0000000000000000000000000000000000000001": { "code":…
13
votes
4 answers

How to convert byte array to bytes32 in solidity

I want to know the syntax to convert a byte array to bytes32 in solidity. This is a follow up to the question- How to store Public Key in Ethereum contract? I want to retrieve the PublicKey stored as byte array. Kindly advise me know how this could…
etherfaces
  • 1,153
  • 1
  • 9
  • 11
13
votes
6 answers

Get raw transaction from hash

I wonder if there is an equivalent to bitcoind's getrawtransaction, i.e., a command to dump a raw transaction in hex format, given its hash id. I am working preferably in geth.
oriol
  • 133
  • 1
  • 1
  • 6
13
votes
2 answers

If someone gets my geth keystore files, can they spend my ETH without knowing my password(s)?

I always assumed so, since geth requires a new password for every account, but just want to be sure.
eterps
  • 724
  • 2
  • 6
  • 12
13
votes
2 answers

What's the difference between developer mode and testnet?

I just tried running geth in developer mode on testnet. ~ $ geth --dev --testnet F0127 21:07:16.947591 6407 flags.go:467] dev and testnet are mutually exclusive I wasn't aware of the actual meaning behind the dev flag, from the help: --testnet …
q9f
  • 32,913
  • 47
  • 156
  • 395
13
votes
1 answer

Is it possible to change the block target time?

We're curious to know what factors go into block times in a private network with a limited number of validators. Is this fixed or can it be parameterized in any way? How is it related to block times in the public net?
Physes
  • 1,308
  • 12
  • 18
13
votes
1 answer

Are there any barriers to implementing an ethereum node as a chrome or firefox extension?

Is it possible to create a Firefox or Chrome extension which ran either a full node or light node?
Piper Merriam
  • 3,592
  • 3
  • 22
  • 34
13
votes
2 answers

What does a "bad JUMPDEST" error mean?

When I send a transaction to call my contract, it's causing a bad JUMPDEST error. The Ethereum wiki says this error is caused when a JUMP instruction jumps to a location that wasn't marked as a jump destination. Since I wrote my contract in…
Niran Babalola
  • 991
  • 6
  • 9