Skip to main content

All Questions

Filter by
Sorted by
Tagged with
13 votes
5 answers
23k views

why did it returned null after call miner.start()

> miner.start() > null before it , I had created a account like this . user1 = eth.accounts[0] "0xb62f0bae52d153365661c4e23ab1d594484e9bef"
Mike's user avatar
  • 131
11 votes
4 answers
18k views

ethminer Failed to submit hashrate

I keep getting an error: ethminer Failed to submit hashrate :( I am very new to this whole mining thing, and just want to learn more. I am using: Geth Version: 1.5.0-unstable ethminer version 1.2.7 ...
doart3's user avatar
  • 133
11 votes
1 answer
4k views

Sign raw transaction offline with C++ on arduino

I'm exploring the IoT side of the EVM. I've programmed Arduinos and ESP8266s to interact with a Geth JSON RPC. I'm trying to be minimalistic and avoid NodeJS on the Geth JSON server side. Currently ...
GusGorman402's user avatar
10 votes
2 answers
5k views

Raw transaction data in Go

I would like to generate raw transactions in golang without any go binding and I'm wondering if there is library to dynamically encode my argument parameter using go? https://github.com/ethereum/wiki/...
rawEth's user avatar
  • 101
9 votes
3 answers
7k views

Convert an eth key to a geth key

I need to convert my eth key to a geth key. eth put the key in %appdata%\roaming\Web3\keys, and I see it as a .json file. If I move that to the %appdata%\roaming\Ethereum\keystore directory, geth ...
feebel's user avatar
  • 93
8 votes
3 answers
6k views

CPU mining JSON_PARSE_ERROR

I just wanted to mine ETH with my CPU. I use Windows 7 64 Bit with ethminer. I started the cpu miner with a batch ethminer -t 6 -C -F http://ethereumpool.co/?miner=5@0x17C0Bea7c44*******...
Nils Zimmermann's user avatar
8 votes
4 answers
10k views

How to decode Log.Data in Go

I'm fetching the logs using client.SubscribeFilterLogs. The event parameters are encoded in types.Log.Data. How can I decode it in go?
Robert Zaremba's user avatar
8 votes
6 answers
5k views

Given a RAW Transaction - how to get senders address

Is it possible to get the senders address using golang when all you have is the raw transaction string. I can decode it and get the nonce, hash, to etc as these are all exported functions from the ...
Kravitz's user avatar
  • 447
8 votes
3 answers
5k views

Mining ETH on HD 6950 DAG allocation problem

I have 2 HD6950's which I wanted to use for ETH mining - but I have the well known DAG allocation problem. I can't find a solution for this problem - that's why I'm asking here. And please don't tell ...
Nils Zimmermann's user avatar
8 votes
1 answer
2k views

**Updated** Ethminer - no such file or Directory error after building cpp-ethereum on Ubuntu 14.04

I am new to all of this, although I do some programming on Windows and the web. I have a small rig I want to use for mining ethereum. It is a dell inspiron 560. It has a new Nvidia GE-Force 610 ...
Mark Mongeau's user avatar
7 votes
1 answer
10k views

ETH sent to ETC address

I accidentally sent ALL my ETH on ETC address :( 6 months of mining gone :( I sent from one exchange to fresh address on another exchange, but on ETC ... Is there ANY way to track those coins? I'm ...
bojan pavkovic's user avatar
7 votes
1 answer
631 views

Is it possible to tell whether an address is mist, mew or parity?

How can I tell if an address is from Mist, MyEthereumWallet or Parity? Is there anyway to know? Are they encoded differently?
fluter's user avatar
  • 297
7 votes
3 answers
3k views

Is there any c++ library for signing transactions?

I am working on light wallet in c++, and I am looking for a c++ library for signing transactions. I mean something where i will pass transaction and private key and it will return signed transaction ...
ADV's user avatar
  • 101
7 votes
2 answers
3k views

What's the best way currently to get events to a Go app that uses go-ethereum?

I have generated and used Go bindings to deploy a few contracts and that worked very well, but I see events are not implemented yet. Is this work discussed somewhere? I'd like to understand what ...
murrekatt's user avatar
  • 261
7 votes
1 answer
3k views

Is there a downloadable Ethereum bootstrap?

I am trying to synchronize a full node, and this is going very slowly, the progress alternates between bursts of high CPU usage (which is fine, it is heavy but importing), and long times with nothing ...
Fairglu's user avatar
  • 171
6 votes
3 answers
7k views

Go Ethereum - get the enode before starting geth

I need to get the enode of my geth nodes before I start them up.. is there any way to do this via a command other than actually starting up the node ?
Gizzard's user avatar
  • 73
6 votes
2 answers
4k views

How to communicate with the JSON RPC server programmatically using Go?

Is there a way to interact with the JSON RPC server directly in Go? I tried the following: Starting the RPC Server with "geth --rpc" Running the following code: package main import ( "fmt" ...
MethDamon's user avatar
  • 803
6 votes
2 answers
10k views

How to install eth on debian? (symbol lookup error)

I installed from the ubuntu ppa and got this error. ➜ ~ eth eth: symbol lookup error: eth: undefined symbol: _ZN3dev3eth14EthashGPUMiner14s_numInstancesE What can I do / check? I'm on debian ...
euri10's user avatar
  • 4,640
6 votes
2 answers
3k views

Ethereum Merkle Patricia Trie (Extension node)

I do not have time to look through the source code right now. My questions is: In Ethereum, when is the decision to replace part of a given path with an Extension-node made? I suppose the sole idea ...
Vega4's user avatar
  • 323
6 votes
1 answer
934 views

Ethereum Merkle Patricia Trie and Hashes

In Ethereum, there's a hash of all of the 3 tries in each block. Out of curiosity. The docs state that the functionality is supposed to just provide a mapping between 160bit keys and values. I find ...
Vega4's user avatar
  • 323
6 votes
1 answer
1k views

Unable to send raw transaction

i'm working on to the morden testnet and using a nodejs application i wrote (using ethereumjs-util, ethereumjs-tx) i'm trying to push a raw tx on to the testnet. I've tested GETH "eth....
Matt's user avatar
  • 219
6 votes
2 answers
2k views

Why did the DAG file change in block 1080000?

I'm mining to dwarfpool, and all of sudden am getting this message on the account: "DAG file changed in block 1080000" Does this mean that my DAG is out of sync and if yes, how do I resync it, tried ...
Ben Vickers's user avatar
6 votes
1 answer
330 views

How to implement Ethereum protocol to some tinyOS, e.g, contiki?

I find out Ethereum has many implements to many OS with many different languages. But i don't know if I want to use ethereum as protocol on contiki OS or cooja simulation, so what is the best choice ...
phuong's user avatar
  • 455
6 votes
3 answers
2k views

How to exchange ETH to DAI with web3 and node.js

I looking for solution how to convert eth to dai with web3 api. something like https://kyber.network/swap/eth_knc (I can send eth to specyfic contract adress and I receive back DAI to the same ...
user3503854's user avatar
5 votes
2 answers
8k views

How do you create a new contract instance with an address *and* arguments?

There is the standard way of creating contract instances with the new keyword where you pass arguments like: MyContract mine = new MyContract(arg1, arg2); Then there is another way, like in this ...
cowlicks's user avatar
  • 153
5 votes
3 answers
6k views

How store ETH in a smart contract

The question it's How store Ether in a smart contract. In first step, I try transfer the transaction value to the smartcontract address doing something y something like that: function storeETH() ...
victor_reiner's user avatar
5 votes
2 answers
7k views

How to implement role-based access control to user's private data?

We have this application scenario and try to see if Ethereum, or blockchain in general, is a good solution for this. The basic idea is the user controls a small amount of private sensitive data (e.g....
user10375's user avatar
  • 177
5 votes
2 answers
4k views

Ethereum HD Wallet implementation in Golang, is there any library in go?

I need a library in golang to implement HD Wallet.
Sumit Sahu's user avatar
5 votes
4 answers
807 views

Why do you want to use different implementations of EVM?

Currently there are many implementations of EVM (Java, C++, Python, Go, etc). For example: I will be using Solidity to write DApp on the top of EVM-Java and EVM-Python, why would I want to use EVM-...
0xgoku's user avatar
  • 461
5 votes
2 answers
1k views

Nested Contracts in Solidity?

As per the Solidity 0.4.16 documentation, contracts are similar to the concept of a Class of an object oriented language. That being said, can we create a Contract within a contract. IF yes, then ...
Mayukh Mukhopadhyay's user avatar
5 votes
2 answers
10k views

How generate number type uint256 in Go

My smart contract has a function like this function setTest(uint256 test) returns (bool){ testNumber = test; return true; } I used these piece of code Go to create a transaction to set new ...
Gin's user avatar
  • 51
5 votes
1 answer
3k views

ethereum-go how to get the latest block?

I've set up a private local Ethereum node with just a genesis block I made, and I have this Go code I want to run on the private local network: package main import ( "fmt" "math/...
thanos's user avatar
  • 854
5 votes
1 answer
2k views

Create a new contract by JSON-RPC of cpp-ethereum

I want to create a new contract by JSON-RPC and cpp-ethereum. I find out eth_sendTransaction can help me to do this. And let do it, I need to set "to" parameter like that: to: DATA, 20 Bytes - (...
Ajk Thu's user avatar
  • 173
5 votes
1 answer
13k views

The ERC-20 Token Transfer might have Failed (ErrCode: unable to locate corresponding Transfer event log), check with sender

EtherScan.io is showing error: The ERC-20 Token Transfer might have Failed (ErrCode: unable to locate corresponding Transfer event log), check with sender. Transactions are successful but users are ...
Dar Dev's user avatar
  • 51
5 votes
2 answers
555 views

Eth Console Won't Start: Invalid Argument Console

Can't Use "Eth Console" Command upon Installing Eth with Spacebrew Hi everyone, I'm learning how to create my own d'apps on the Ethereum blockchain as part of a Master's thesis research process. So ...
DocMartens's user avatar
5 votes
0 answers
377 views

Trying to send ETH from Mist Wallet to Poloniex, received ETC instead [closed]

I want to send both my ETC and ETH to Poloniex. I have a basic understanding of the DAO fork and know nothing about programming. I googled something about a replay attack and using a split contract. ...
Burn Our Dough's user avatar
4 votes
2 answers
850 views

How can we implement a new opcode in the Ethereum Virtual Machine.

How can we implement a new opcode in the Ethereum Virtual Machine. For eg : I want to implement an opcode logic such that the opcode number of this operation is 0x21. The EVM-implementation I am using ...
V.Agarwal's user avatar
4 votes
2 answers
8k views

Convert byte Address to Hex

Using Geth I am reading from a smart contract and a list of addresses is retrieved when outputting to the terminal. These addresses are in byte array format: fmt.printLn("address", address) output = ...
Kravitz's user avatar
  • 447
4 votes
2 answers
8k views

Unable to generate Go Ethereum Bindings using abigen

Not sure what the heck is going on, but I'm unable to use abigen to generate Go Ethereum bindings any more, I get an error that says EvalSymlinks: too many links solidity@pop-os:~/Documents/Code/...
hextet's user avatar
  • 1,593
4 votes
3 answers
2k views

Is there a way to transfer my ETH from a cold storage to a hot storage without compromising it?

At first I wanted to use myetherwallet.com but now I am afraid the code may be hacked / corrupted some day. The cold storage solution seems safer to store ETH in the long run. While I understand how ...
Leths's user avatar
  • 183
4 votes
1 answer
304 views

How to bootstrap AlethZero on Morden testnet?

I am trying to use the testnet using AlethZero. I use this command alethzero --morden as suggested in the wiki. It does not seem to connect to any peer and hence does not sync the blocks. I also tried ...
q9f's user avatar
  • 33k
4 votes
1 answer
649 views

Can geth and eth share the same accounts and blockchain?

It appears when I have multiple ethereum clients installed, that they all have their own data, accounts and even their own copy of the blockchain. Is it possible to share accounts and the blockchain ...
q9f's user avatar
  • 33k
4 votes
1 answer
538 views

Does Eth have an equivalent to Geth's --fast flag?

In a previous question, I asked how Geth's --fast flag worked. I'm now moving over to using Eth, so my question is: is there an equivalent option to allow Eth to quickly sync the block data? If so, ...
Richard Horrocks's user avatar
4 votes
1 answer
2k views

How can I check which network I'm working on?

When I start eth I get the following header: $ eth (++)Ethereum Beware. You're entering the Frontier! [...] I think i followed the instructions for working on a private network (because i just want ...
TMOTTM's user avatar
  • 1,953
4 votes
1 answer
4k views

Web3: Get token address from pair address

I am studying all listed pairs on Pancakeswap. I get the pair address from PCS_FACTORY_ADDRESS="0xca143ce32fe78f1f7019d7d551a6402fc5350c73" PCS_FACTORY_ADDRESS = Web3.toChecksumAddress(...
Impaulator's user avatar
4 votes
1 answer
3k views

Calling contract method internally from geth code

On developing a custom geth fork there is the need to call a specific hardcoded smart contract when ETH transfer occur. This is not an Ethereum normal behaviour but a new feature we want to implement ...
Juan Ignacio Pérez Sacristán's user avatar
4 votes
3 answers
2k views

Why write an EVM in bytecode, and not in something like Python or Go?

I know that Ethereum runs in virtual byte code and there's a javascript-like wrapper language called Solidity. This question is about why the developers chose this approach? What makes it infeasible ...
nick carraway's user avatar
4 votes
1 answer
501 views

Is possible to transfer data between nodes using cpp-ethereum's whisper protocol?

Right now I am working on developing a standalone application in C++ using libraries of cpp-ethereum, I was looking at the source code for cpp-ethereum and an idea stuck into my mind that wouldn't it ...
Shirish Patel's user avatar
4 votes
1 answer
16k views

Setting Up Geth / Ethminer - Am I Doing This Right?

My apologies if this has been covered elsewhere, but I went through several different guides and sources, both "official" documentation, and whatnot, about how to get started for mining. I ...
Joshua__c's user avatar
4 votes
1 answer
282 views

Stuck in sync process

Node type: geth/eth OS: windows 64 bit Network type: main Mist version: 0.4.0 (trying to update to 0.5.2) The problem is my mist wallet wont sync, i have taked a screenshot of Geth running and mist, ...
slebo93's user avatar
  • 41

1
2 3 4 5
12