Questions tagged [go-ethereum]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
7 views

Calculated blockhash of PoA block mismatches with actual blockhash returned by RPC

I set up a Demo PoA chain using Parity Etheruem. I sent some transactions to it and it started producing blocks. A block on my demo PoA chain was generated with block hash ...
0
votes
0answers
23 views

How can execute function that send ether in geth console?

I want to execute the send function that sends ether from the sender to the receiver, the code is as shown below. contract Sender { function send(address _receiver , uint amount) public ...
0
votes
1answer
24 views

Is it possible that a contract address is same as a external address?

For example i create a contract first, and then i generate a private key that map to the contract address. I know that is hard to achieve but is it possible theoretically?
0
votes
0answers
23 views

Retrieving the first and latest transaction date of a contract

Etherscan offers a time series of ethereum transaction of a contract address. Is there a way to retrieve this data? For example the duration mentioned here https://etherscan.io/address/...
0
votes
0answers
8 views

Is there a way to check if a hosted node is running on the new fork?

I am hosting Rinkeby node using geth v1.97. However, I was wondering if there is a command or way to check whether it is running on the new fork or not.
0
votes
1answer
15 views

How do I install Go-ethereum and solidity on Debian10

I am using debain on wsl and I want to install ethereum and solidity for blockchain development but I am not able to find an exact way to do it.
0
votes
0answers
9 views

local testnet mining error

my genesis.json file { "config": { "chainId": 271, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 }, "nonce": "0x0000000000000042", "...
0
votes
1answer
18 views

How to store data on ethereum blockchain WITHOUT IPFS

Hi guys ^^ i want to store PDF file on ethereum blockchain without use of IPFS. I want to do it because i have my own private network where this data will be only stored. That's why i want to store it ...
0
votes
0answers
14 views

Gas limit per block - Increasing or Decreasing the value of Gas limit in Go-Ethereum Source Code

My question is that is it possible to modify the value of Gas limit per block in go-ethereum source code. If yes, which part of GasLimit value could be affected on the Gaslimit per block in source ...
1
vote
1answer
22 views

Should I stop the geth node during hard-fork?

As the countdown on https://ethernodes.org/istanbul, should I need to stop my geth node before hard-fork? Or I could continue to syncing during hard-fork. Thanks alot.
0
votes
0answers
8 views

Clef signer - standalone docker container

To automate the signing capabilities I'm happy how clef is working. I've a couple of concerns though. answering the commandline prompts on clef init, clef clef attest, and clef. I'm wondering how i ...
0
votes
0answers
32 views

How it works with modified go-ethereum source code

I modified go-ethereum source code and built it. I am wondering if I want to test and run geth with the modified source code in mainnet or testnet, and how it works in the mainnet or testnet. How to ...
0
votes
0answers
19 views

How to connect to Mist without access to internet?

I need to connect to Mist without access to internet. How I can do it without download any other software?(except geth, of course) With a default connection, I get errors: [ERROR] Sockets / node-ipc -...
0
votes
1answer
22 views

Decode transaction inputs with go-ethereum

When making a contract transaction using go-ethereum (golang) how can I decode the transaction inputs. Specifically Given a tx.Data []byte , the contract's contractABI abi.ABI and the method that ...
1
vote
1answer
23 views

raw transactions to send ERC20 token fails on private network(POA)

I am trying to transfer ERC20 tokens on private ethereum network(POA) Transaction flow: raw tx object creation on backend. { "gasLimit": 37000, "gasPrice": 4000000000, "...
0
votes
0answers
11 views

Check account balance [duplicate]

I installed a node on the pc with the parameters geth --rpc --rpcaddr localhost --rpcport 8545 and I want to check the account balance: const Web3 = require('web3') web3 = new Web3(new Web3.providers....
1
vote
1answer
65 views

What mean “Deep froze chain segment”?

I have question My geth show me like that "Deep froze chain segment" repeatedly What mean??
0
votes
1answer
10 views

should I stop geth for copying /chaindata to another machine?

Since I've made stats from geth full node by calling rpc api, it is burdensome for me to stop geth a few hours. Nowadays my local machine uses about 95% disk, so I want to migrate my /chaindata to ...
0
votes
1answer
55 views

Unable to call methods on my deployed contract

Problem: All method calls to my deployed contract return null Versions: Geth: 1.9.9-unstable Git Commit: c2d65d34d5c6f27b8d1a52280964023a3eefd66e solc: Version: 0.5.13+commit.5b0b510c....
1
vote
1answer
21 views

How to fork current eth mainnet chain in new private blockchain from block #####

I want to run my own eth fork from mainnet (keeping history of transactions, balances & etc). How can I start my new geth instance that will start working after ###### block of mainnet chain? I ...
0
votes
0answers
14 views

Sending tokens from multiple addresses to the main address

There is an exchanger, during registration, unique eth addresses are created for each user, I store private keys on the server, how to make sure that if users deposit erc20 tokens to their addresses, ...
1
vote
1answer
27 views

Build go-ethereum source code

I wanted to build go-ethereum source code in my local side and test it in geth. I have followed up the instructions in the github go-ethereum as it is. However, I have got fail with some errors when I ...
-1
votes
0answers
9 views

Warning! Error encountered during contract execution [Reverted] in Vesting Contract [closed]

I created a vesting contract it is same with maticvestingcontract https://etherscan.io/address/0xcbfe11b78c2e6cb25c6eda2c6ff46cd4755c8fca#code when what should ı do for withdraw from vesting contract. ...
0
votes
0answers
13 views

Synchronization mode

What kind of node synchronization should I choose to work with a centralized exchange? Is there enough quick synchronization, or is full synchronization necessary?
0
votes
1answer
16 views

Node synchronization

The question is about the node, is the node functionality enough in fast synchronization for the functioning of a centralized exchange? Or is it necessary to download a node in full synchronization?
0
votes
0answers
5 views

Server configuration selection

What server configuration is needed to raise a node? And will there be enough nodes in fast synchronization mode for the exchange, or is full synchronization necessary?
0
votes
1answer
21 views

Cannot properly deploy smart contract with web3 1.2.4 provider in Geth 1.9.8

I have setup a private Ethereum node using the following configuration for the genesis block: { "config": { "chainId": 143, "homesteadBlock": 0, "eip150Block": 0, "eip155Block": 0,...
0
votes
0answers
20 views

Connect ethereum node

How to configure a node and connect it to a browser so that I can perform erc20 token transactions on my site between users?
-1
votes
0answers
23 views

Api to get total transfer count of an ERC-721 Token

I want to retrieve the total number of an erc 721 token's transfers/ transactions. I couldn't scrape the transfers value from etherscan as well e.g. given here https://etherscan.io/token/...
0
votes
1answer
9 views

what kind of Hardware required for run geth private chain for ethereum on windows?

i need to help to find out what were the minimum hardware requirements needed for deploy the private chain on ethereum.
0
votes
1answer
20 views

How to pass bool from one function to another? [closed]

I want two functions to be checked true or false in one contract, that is, I get true in the calculations and want something. The code below shows my idea, but it does not work, I do not know why. ...
0
votes
1answer
25 views

how can i fetch all the tokens from ethereum network to my wallet ?using web3js(nodejs) or web3j(java)?

I'm trying to fetch all the available tokens from ethereum network into my android wallet but could not able to find an suitable solution other than web scrapping
2
votes
1answer
18 views

Confusion regarding total number of ERC-721 Tokens

I have two questions: 1) I want to retrieve the list of all ERC-721 tokens. The main block explorer for Ethereum which is Etherscan shows 2,883 ERC-721 tokens on its website https://etherscan.io/...
0
votes
0answers
39 views

Insufficients funds to Deploy Contract on Test Network

Here are my files on github, https://github.com/ArtieLadie/gas_limit https://github.com/ArtieLadie/gas_limit/blob/master/deploy.js sets gas limit here, async function deployContract(web3, contract, ...
0
votes
1answer
23 views

Alternate to Allowing Insecure Unlock

Several places say insecure unlock is poor practice. Yet this module I am learning implements it. Where can I find a way to Deploy an account without insecure unlock Here is repository with files I ...
0
votes
0answers
28 views

Unable to Unlock Account Even After specifying allow-insecure-unlock

Software: Ubuntu on VirtualBox Update, tried putting two dashes, on allow-insecure-unlock, doesn't work solidity@solidity:~$ geth attach http://127.0.0.1:8545 --allow-insecure-unlock Incorrect Usage:...
1
vote
1answer
45 views

How get private key in private network?

I launched a private RPC Blockchain network and connected through another computer to this network. The connection is successful. How can I get a private key(through Python) if the file is on another ...
0
votes
1answer
48 views

Sending money through a smart contract

I'm trying to create a smart contract that would send funds from one wallet to another by taking values ​​from an array that I fill. But it does not send values ​​unless I specify them in msg.value. ...
0
votes
0answers
17 views

How to repair a Corrupted Chain-state Database due to geth bad shutdown by user?

What is the repair command and format of command to repair or fix my geth --syncmode fast --datadir D:\folder\EthereumGethChain? The error I am receiving is: Bad Block , Corrupted Chain-state ...
1
vote
1answer
21 views

My private ethereum block gas limit decrease when mining

I set 'genesis.json' like this. ... "gasLimit":"0x30479e80", ... It's 810,000,000 at decimal. But when I run the blockchain and start mining, the block gas limit decrease. I'm using Geth/v1.9.7-...
0
votes
1answer
16 views

Upgrade a fully synced node to archive node?

Is it possible to upgrade a fully synced node to archive node ? means can i download older states by changing gcmode to archive ? or i will have to start from scratch ?
0
votes
1answer
11 views

What is the client version?

I am using Infura and web3.py. When I connect to Infura the web3 object has a clientVersion property that reads this from JSON RPC "Geth/v1.8.15-omnibus-255989da/linux-amd64/go1.10.1" Can someone ...
0
votes
0answers
39 views

Address not appending to array

I'm new to Ethereum and I communicate with my Solidity using Go language. I have a contract that allows user to join the lottery by adding the user's address to the array of addresses, but it's only ...
0
votes
0answers
10 views

My parity node constantly gets requests from 0x0

I ran my parity node (stable version) with this command on a docker: /bin/parity --chain=kovan \ --jsonrpc-interface all \ --jsonrpc-hosts all \ --light \ --force-sealing \ --auto-update=all \ --min-...
3
votes
1answer
28 views

Difference between Puppeth and Ganache

I am trying to set up a local blockchain and started to read about Puppeth to manage the blockchain and also read about Ganache (this one I already tested a bunch of stuff), but never heard about a ...
1
vote
0answers
23 views

how can I get the account locked information via python web3?

There is a command personal.listWallets in geth cli to get the account locked/unlocked status such as below: > personal.listWallets[1] { accounts: [{ address: "...
1
vote
0answers
8 views

Get key for coinbase account in go-ethereum SimulatedBackend

What's the best way to 1) pre-fund 2) get a signing key for the coinbase account in the go-ethereum Simulated Back-end? Right now the simulated back-end coinbase account seems to default to 0x0 but I'...
0
votes
0answers
32 views

blockchain solidity tracking system

I am trying to make a code in solidity to add items to a blockchain which contains items and their tracking history (like when trace your order online for an item) (which at first are located in "...
0
votes
1answer
24 views

Erc-20 Token Send Transaction

I want some Information about Erc-20 Transactions. I want to transfer Erc-20Token from first wallet to a second wallet, I have Privet Key, But I want to transfer with Api, So How can I transfer the ...
0
votes
0answers
10 views

Privatenet Blocktime

I want to run some experiments on my private net where I can try faster and slow Block times - I know on clique you can set it to: Clique: &CliqueConfig{ Period: 15, But I don't see ...