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 [go-ethereum]

Go Ethereum (short: Geth) is a Golang implementation of the Ethereum protocol.

2
votes
1answer
25 views

GUI miners for Private Ethereum Blockchain

I have setup a multinode private Ethereum blockchain with geth. I am using geth miner (miner.start(thread) at geth console) for mining blocks but my other nodes users want to use GUI miner instead of ...
1
vote
0answers
25 views

AttributeError: 'list' object has no attribute 'buildTransaction'

Im trying to send a transaction to contract function with web3.py on ropsten testnet. while doing so, Im getting this error. AttributeError: 'list' object has no attribute 'buildTransaction' here ...
0
votes
1answer
35 views

how to send transaction with web3.py

I'm trying to use web3.py with infura.io to interact with my smartcontract. here is my simple greeter contract code pragma solidity ^0.5.7; contract greeter{ string greeting; function greet(...
0
votes
0answers
29 views

How to auto-execute smart contract's function by Aion or other method in the private chain?

I was a little bit confused about Aion scheduling system, because I want to do it on the private chain, in the example https://github.com/ETH-Pantheon/Aion, they have both smart contract Aion and ...
0
votes
1answer
15 views

Using geth Light Node to detect ERC-721 transactions

Is it possible to use a geth light node to detect incoming transactions executed via ERC-721 contracts? I have experienced being not able to get receipts using getTransactionReceipt in native and ...
1
vote
0answers
9 views

I am sending some ether from account[0] to account[1] using geth console. But the amount is not getting added to the receiving account

I tried to mine the transaction using miner.start() command, still account balance remains the same > miner.start(8) I0428 16:27:15.927553 miner/miner.go:136] Starting mining operation (CPU=8 TOT=...
0
votes
1answer
31 views

How can I store the hash of a record stored in mysql, as a transaction in ethereum network?

Suppose, I have a database that stores all the student details in mysql. To confirm and seal any manipulation in the database I want to store the changes in the blockchain network as a transaction and ...
0
votes
1answer
25 views

Method personal_sign not supported

I'm trying to use personal_sign and getting not supported error. I'm using web3 v 0.20.1 I first tried using infura and was not able to resolve the issue, so then I connected to a geth node with this ...
1
vote
2answers
22 views

Predefine set of transactions to be added as soon as a private chain is initialised

I need some transactions with predefined data that needs to be added immediately after the genesis block. Apart from actually making those transactions through Geth, is there a way to automate these ...
0
votes
0answers
19 views

miner.start doesn't work in private network

i have created a private network with this genesis file { "coinbase" : "0x0000000000000000000000000000000000000001", "difficulty" : "0x400", "extraData" : "", "gasLimit" : "0x2fefd8", ...
2
votes
0answers
43 views

How can I extract sidechains (transient forks) from a geth node before they get discarded?

According to my understanding, transient forks (also known as sidechains in geth's source code) are discarded or overwritten when a reorganization happens. But before that, when the node detects a ...
2
votes
2answers
79 views

How to intercept fork event using API?

I am wondering if there is a way to detect forks that may happen to an Ethereum chain. I looked in web3 library, but couldn't find anything. Any idea?
0
votes
1answer
21 views

Private Network on restart balance and transaction is gone?

I am running a private ethereum node with a single node. and it creates a folder for the keystore and chaindata But on restart, all the data is gone even the balance as well. init genesis.json is ...
0
votes
0answers
9 views

if RecoverCompact succeeds, does it prove that signature is right?

eth not use VerifySignature to ensure signature,but use recovecompact func, does it means that signature is right if recoverPlain succeeds, // Validate the transaction sender and it's sig. Throw // ...
0
votes
0answers
9 views

Implementing Whisper in Dapp without local node?

I was thinking of implementing chat functionality on top of whisper, however the few examples I've seen all have running a local node as the first step. Example - https://github.com/ethereum/meteor-...
0
votes
1answer
44 views

How to show partial information on private transaction?

I want to achieve the following requirement in quorum blockchain. 1) Participant A sells a red asset to Participant B for 100 dollars. 2) Participant B paints the asset blue. 3) ...
1
vote
1answer
28 views

What is the difference between local and remote transaction?

In latest go-ethereum, miners firstly try to mine local txs and then try to mine remote txs. what are the exact differences between them?
1
vote
2answers
65 views

Inconsistent Result for Web3 Constant Method Call

Deployed a local private Ethereum environment. While trying to invoke a constant method of a solidity contract getting inconsistent results. Sometimes the result is returned and mostly not. When I ...
0
votes
2answers
16 views

geth export file name

I have a private etherum node setup in local machine and I want to try geth export command. For this I need to specify the .rlp file . Can anybody help me to locate the .rlp file.
1
vote
0answers
26 views

Transaction included in block whereas log not generated

When I sent a transaction continuously below 27 Transaction Per Second (TPS) then all transaction is included in a block and generated the log as expected. Whereas When TPS increases above 27 then ...
2
votes
2answers
52 views

Best way to create identity contracts for organisations

What is the best way to create identity contracts for organisations based on their information like name, address, organisation type(buyer/seller) etc. I have tried using factory pattern to create ...
1
vote
1answer
27 views

Copy Geth full node onto external drive then continue syncing

My 1TB internal SSD on my mac doesn't appear to be enough for a full sync with state data. I know I can fast sync but I need full state data. I'm currently on block 5.2million and its at around 900GB ...
1
vote
0answers
51 views

Geth SWARM no peers found!

Synced via Geth lightnode to latest block --cache=2048. (7200RPM HDD with 8GB RAM) Then created new geth account and did swarm --bzzaccount $BZZ I'm am able to only browse localhost, upload to local ...
1
vote
0answers
19 views

How can I recover the path to a specific transaction in the tx patricia merkle tree?

I'm working on a project where a non trusted entity is running an ethereum node (either geth or aleth), and has to pass information along to a non networked party. Namely, the non networked party ...
0
votes
2answers
74 views

How can the smart contract auto execute the function in the private chain?

I know currently, we can use the Ethereum Alarm Clock and Aion scheduling system to execute the function automatically, but according to what I know, it only can work in Main Net and Test Net(Rposten)....
1
vote
1answer
21 views

Can ganache-cli connects to another ganache-cli?

Is it possible to create a private network using ganache-cli? Can a ganache-cli running on port 8545 connect to ganache-cli running on port 9545? Can we use ganache-cli as a node? Or it is a ...
1
vote
0answers
35 views

How to use 'geth attach' with Infura?

I have a project in Infura and the project ID is 6f...3a. I'm having problem to start geth attach process with Infura. I tried all protocols (http, https, ws and wss) but all failed. Did I miss ...
0
votes
1answer
57 views

CREATE / CREATE2 Verification

Where do I verify whether a contract has been created with CREATE or CREATE2, would I have to disassemble the contract and look for a CREATE2 opcode in the contract creation code?
0
votes
1answer
33 views

how to make geth light node connect to local full node

In my computer i have 1 full node, my full node is running using: geth --syncmode full --ws --wsport 8546. Is there anyway to create a light node to connect to that full node on the same local network ...
1
vote
0answers
19 views

Transaction sent from web3 cannot reached all transaction to network node

I used one node endpoint to interact with the network. While sending a transaction from web3.js 0.20 to ethereum network, transaction per second (TPS) I achieved is only 28 TPS. I have configured the ...
1
vote
0answers
65 views

Smart contract will not deploy to my private blockchain when using Remix IDE

So I'm a complete newbie and trying to deploy my first smart contract to a local Ethereum blockchain. I'm doing this on a Windows machine. I have created a private blockchain using geth, made an ...
0
votes
1answer
20 views

Custom miner checks in a private chain?

I have used the ideas from the link [1]How to make miner to mine only when there are Pending Transactions? in my private chain. I have a couple of questions, - How can I add custom code on the miners ...
0
votes
1answer
25 views

Are current ethereum opcodes prices in pyethereum updated?

I am not an expert in opcodes for Ethereum, but I am wondering if their prices here [https://github.com/ethereum/pyethereum/blob/develop/ethereum/opcodes.py] are updated as the latest version used by ...
1
vote
1answer
108 views

Empty value (0x) returned from contract web3j

I'm trying to deploy a very simple contract on Windows 10, using Web3j 4.2.0. I've created an account using Mist. I've set up one local ethereum node (using geth) on my machine and I'm able to deploy ...
1
vote
1answer
17 views

reverse crowd sale possibility

Is it possible to do a reverse crowd sale? e.g. send tokens to a smart contract to get ether back. Or would this require to load the contract with WETH or something in advance?
4
votes
1answer
91 views

What is WETH and why can't we just use ETH?

can someone explain why we need WETH? what's the purpose of WETH, can't we just use plain ETH? it's not like it removes the tx fees or something. Hopefully someone can shed light on the concept.
0
votes
1answer
264 views

ETH wallet error

I want to download the ETH wallet and make light synchronization on my PC. I downloaded ethereum wallet, but after launch, the Checksum mismatch in downloaded node crashes! MD5: 308 ... Please install ...
1
vote
2answers
35 views

Decentralized Exchange on Ethereum?

Is a decentralized exchange basically a smart contract that includes all the exchange functionality? Where is the engine?
0
votes
1answer
41 views

web3.js - cannot interact with smart contract

I want to write a simple js script. I follow many tutorial available from Youtube, forums and website but i seem that i cannot interact from the smart contract. i can interact it from remix. btw the ...
1
vote
2answers
25 views

Constructor should be payable error on adding money

pragma solidity ^0.4.17; contract supplyChain { address public state; uint public unitCost = 10; uint public totalAmount = 0; function supplyChain() payable public{ state = ...
0
votes
0answers
38 views

How to create an ethereum private network with proof of authtority without gas cost or gas price zero?

I want to create a private network but I don't need to use ether or gas, only I want to run smart contracts and the blockchain using ethereum technology. I find this tutorial Private proof of ...
0
votes
0answers
21 views

Facing issue in starting geth client

I am using geth client(private network). When I try to start my network it shows "segmentation fault". Can you guide how to solve this issues? go-ethereum/build/bin/geth --mine --nodiscover --...
1
vote
1answer
123 views

invalid opcode “0x1c” during smart contract method execution

I have written a smart contract to test event from java project using web3j I have prepared the web3j wrapper java class using solc compiler version "0.5.7+commit.6da8b019.Linux.g++" I am using a ...
1
vote
2answers
49 views

Truffle Ropsten Deployment Issues

I just made some updates to my contracts and tried to redeploy them - but I'm getting this message, over and over again. Its not even attempting any of the migrations - it just goes right to this ...
1
vote
1answer
30 views

Ethereum Game design idea

Is it possible to write emacs dunnet game in solidity? Not that there is any reason for the game to be on a blockchain, it is for a class assignment. I tried 2048 game. But it seems to have some ...
0
votes
1answer
75 views

Parity - Permission Denied, Cannot write version file

I am trying to run a Parity daemon. Here is my shell command: sudo parity --db-path . --port=20000 --ws-port=20001 --jsonrpc-port=20002 --jsonrpc-apis web3,parity,parity_accounts,personal,eth daemon ...
0
votes
1answer
37 views

How to retrieve “contract creation transaction” info for a particular contract using Etherscan API?

Assume i have the address of a contract, and now i would like to retrieve the information for its creation transaction. I used getCode(), but return bytecode for the contract, which is different. If i ...
1
vote
1answer
89 views

Error set address/adding data, error: “gas required exceeds allowance or always failing transaction and the function doesn't work”

I'm trying to do a data access control system with smart contract. I have 3 entity: Client: who can get data and set address of Oracle Oracle: who can add data and have getData() function RBAC: Role ...
1
vote
4answers
44 views

Sync status of ethereum node

I have a four node setup and have get method in smartcontract to get the status of certain application. Currently the api invocation is happening at any node ( any of four nodes). For example if one ...
2
votes
0answers
23 views

Ethereum - Exporting Accounts/Balances from full node

I have a Ethereum full node that I will be using to take a snapshot for an airdrop for a project I am working on. The node is running and syncing. The issue currently is that there doesn't seem to ...