Questions tagged [go-ethereum]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Trying to sync the ropsten testnet to local server using geth

I tried syncing the ropsten ethereum testnet to my local server using the following script: nohup geth --testnet --bootnodes "enode://...
0
votes
0answers
12 views

AWS geth fast regime synchronizing

We are using Amazon Ethereum full node subscription 1 on Ubuntu server with their standard predefined configure. But, after a couple of days it`s still outputs zero for addresses balances and zero ...
1
vote
0answers
7 views

Retrieve size of Ethereum state on a local Go-Ethereum node

I have a local go-ethereum node and I would like to measure the size of its state on disk. The chain DB is under a .ethereum directory but measuring the size of this dir would also include space used ...
0
votes
0answers
7 views

Non-existent import files in pancake-swap-periphery

I'm looking for someone to give me a basic understanding and direction regarding pancakeswap forking. I cloned pancake-swap's periphery repository from github and in its contracts it imports "@...
0
votes
0answers
7 views

How can I measure block processing time on a given Ethereum client?

I'm looking for a tool or library to measure block processing time on a given Ethereum client. My scenario would be to be able to compare block processing time to State size. The goal is to understand ...
0
votes
0answers
7 views

how to monitor transactions from both eth and erc-20 tokens?

So far, I already could get event logs from contract address(erc-20) by this function: sub, err := client.SubscribeFilterLogs(context.Background(), query, logs) What I want: eth transaction logs (...
0
votes
0answers
7 views

What is the most updated genesis file for Ethereum POA private network?

I have successfully created the multinode network, but some when trying to deploy smart contracts, some of them fail. This is the config of my genesis: "config": { "chainId": 999, &...
0
votes
0answers
5 views

How to stop and restart a multinode Ethereum private network?

I am testing a multinode Ethereum private network setup with Docker, 1 bootnode, 1 node, 2 miners, netstats and 2 swarm, total 7 containers. When I stop and restart the containers, the chain stops ...
1
vote
0answers
10 views

The method eth_getBalance does not exist/is not available

I'm trying to follow the simple "Getting Started with Geth" page instructions but it is not written very well and I'm doing something wrong. This is the page I'm looking at:Getting Started ...
0
votes
0answers
8 views

Using go, how to get the correct range of blocks

I have some eth wallet addresses, and I want to monitor the transfer information of these wallet addresses on some smart contracts.I use this function: query := ethereum.FilterQuery{ ...
0
votes
1answer
27 views

There is an address that is hacked, the bot is monitoring it and payments are received regularly!

So, the bot instantly cancels these payments by sending, for example, 0.01 eth with a commission (fee) of 0.009 to another wallet, or even canceling everything through self - sending 0 to the same ...
0
votes
0answers
17 views

бот мониторит, а я не знаю, почему, это зачем [closed]

как сделать? почему зачем, вообще?
0
votes
0answers
6 views

Unable to send ether from one ethereum account to another due to “unknown account” error

I want to send 1 ether from one account to another. In order to do so, I attach geth to my self hosted local node (that is running on rinkeby) and execute the following command: > eth....
0
votes
0answers
3 views

Why is'nt my minner recieving rewards?

My minner (lolminner) is working perfectly, but in 2minners I'm not receiving almost any rewards. Apparently, I'm finding block at an incredibly low speed (at least compared to the previous week). Can ...
0
votes
0answers
16 views

Geth stucks on event requests

I have a loop that requests past events to my geth instance by batches of 5000 blocks. It always stucks after precisely 628 request and I get a timeout. Anyone knows why ? Thank you !
0
votes
0answers
7 views

Is there an API to check the real-time hashrate of specific miner pools?

I would like to check the current hashrate of a certain miner, but couldn't find any resources online.
0
votes
0answers
2 views

How to connect to Livepeer to Rinkeby network?

I want to run livepeer and for that I need it to get connected to an Ethereum network. There are two options as mentioned here: Hosted API services Self hosted Ethereum node If I want to opt for the ...
0
votes
1answer
42 views

Problem with BSC full node

I try install full node Binance Smart Chain (https://docs.binance.org/smart-chain/developer/fullnode.html). I follow all the instructions on the site. After the command geth --config ./config.toml --...
0
votes
0answers
7 views

Run geth looking for peers forever on AWS

I am new on blockchain.. sorry for asking very basic question: I am running my first geth private node on AWS using ubuntu using this command: geth --datadir ~/ethdata/ --networkid 12345 --verbosity 3 ...
0
votes
0answers
14 views

What can smart contract creator of Token on Ethereum Platform do to modify, change, upgrade or screw everybody on a DeFi platform?

Let's say an anonymous creates a Token called "baked" with Total supply of 1 million, and he keeps only 10k, and I buy the rest 990,000 He then uploads the Token on Decentralized Exchanges ...
0
votes
1answer
22 views

How to use a smart contract to deploy another smart contract in ethereum?

Since I have a testing contract with the reentrancy vulnerability, I want to reproduce it. However, only when the deployer is a reentrancy attack contract can this vulnerability be reproduced. Its ...
0
votes
1answer
30 views

Can a smart contract automatically generate tokenURI based on tokenID

Is there a way a smart contract can automatically generate tokenURI using the tokenIDs of erc721 tokens, if we dont want to use other methods. I am a newbie so need some guidance.
1
vote
1answer
71 views

Correctly compiled contract on remix returns empty ABI

I have two questions. My contract has compiled and deployed successfully both using remix and truffle. However: q1) remix returns an empty array of ABI. Also, after I hit compile the contract at the ...
4
votes
1answer
18 views

What's the meaning of “dirty” in Geth's INFO logs “Importing new chain segment…”

I am trying to understand the logs I see when I journalctl -fu my Geth service, which I restarted after it was offline for two days. This is less a troubleshooting question and more an extension to ...
1
vote
0answers
18 views

Able to Produce Blocks but Still Balance is Zero

Kindly find the following results below from my Mac Terminal: miner.start(1) --> null miner.stop() --> null eth.getBalance(eth.accounts[0]) --> 350000000000000000000 eth.syncing --> ...
1
vote
0answers
18 views

Able to Import my Account from Geth to MetaMask but No Balance Shown

I'm able to mined to my Accounts in Geth and have successfully imported to MetaMask. Problem, is in my Geth Console, I have the balance of the Mined Accounts but after imported to MetaMask, the ...
1
vote
0answers
24 views

Issue with a transaction

I am parsing the blockchain via Go and I am facing a questionable issue. Although the transactions are passing all the tests, meaning that I am getting most of the fields, there was a contract that ...
2
votes
1answer
19 views

Sending transaction directly to miner on private network?

I am trying to understand how one node can send a transaction to another node (miner or full) directly rather than waiting P2P network to distribute it? Say I have two non-miner nodes A and B and one ...
2
votes
0answers
19 views

Running a SPV wallet on Arduino/ESP32?

I want my ESP32 to make transactions and check for the details of blockchain using a secure method. Actually, I want to use make calls to the blockchain instead of relying on a single node. In my ...
1
vote
0answers
40 views

How can I solve the runtime error I'm having while trying to download the Ethereum blockchain?

I've installed core-geth successfully and started downloading the Ethereum blockchain on Ubuntu (20.04.02 LTS), to an external SSD, with the following command: sudo geth --syncmode fast --cache 256 --...
1
vote
0answers
18 views

Still Unable to Unlock Personal Account in Geth - Syntax Errors, GoError

In my MacBook Terminal -> Geth, I have successfully created my new -> personal.newAccount(0xA93d5aC3B28587DA16E4821F571ACF44B6B28176) along with its given generated password. I’m still unable ...
1
vote
1answer
20 views

Fail to deploy contract on rinkeby using truffle and metamask

Following is a snippet from my truffle-config.js file networks: { // Useful for testing. The `development` name is special - truffle uses it by default // if it's defined here and no other ...
1
vote
0answers
9 views

How to get my USDT (ERC20) balance with web3.py + geth?

I have Geth in full node on my server and I want to get my USDT balance with web3.py. Here is my Code: from web3 import Web3 from ethtoken.abi import EIP20_ABI w3 = Web3(Web3.HTTPProvider('http://127....
3
votes
0answers
14 views

Ropsten datadir size increases significantly after 1.10.1

I am not sure if it is my problem. It occupied > 160GB now. Used to < 80GB IIRC. Anyone facing similar issue?
3
votes
0answers
22 views

Retrieving the sender of a transaction

I am trying to retrieve the sender address within a transaction in Go and I am facing some issues. As I understand, in order to retrieve the sender of a transaction, you can either try to get the ...
2
votes
0answers
24 views

GraphQL not working on Geth

I try to make GraphQL work on Geth (version 1.10.1-stable) without any success. I try to run this query, but I only get 404. curl -H "Content-Type: application/json" -d '{ "query": ...
2
votes
1answer
43 views

Holders and Max Supply not updating on Ropsten Etherscan

I have created a contract for erc721 token. The contract inherits open-zeppelin ERC721 smartcontract. When I deploy my contract on remix i can view the supply correctly however the max supply and ...
1
vote
0answers
17 views

converting string and int to bytes32 and vice versa doesn't return same value

I am trying to send a set of values, which contain 3 strings and 1 integer, as a bytes32 array to a function. The original values that I want to convert to bytes32 were ["maham",67,"...
1
vote
0answers
20 views

How to create a fork from Ethereum (with name e.g. Methereum) [duplicate]

How I can create my own fork of Ethereum? And people can come to my website(Methereum) and create their tokens. If there is a tutorial on any website please share that link Thanks
2
votes
2answers
126 views

invalid arrayify value while using bytes32 array

Since we cannot pass string arrays as parameters in solidity I used a byte32 array in a function. The code gives no error at compile time. But when I give input to the drawCard function as below in ...
1
vote
0answers
14 views

Any tutorial to How to self-host your own ETH [closed]

Yesterday I ask a Q to know if I can create my own self-host ETH and people come and create their tokens and I get answer YES! And now I want to know how to do this? Which repo I should clone? Which ...
1
vote
1answer
47 views

Can I self-host my own Ethereum

Can I create my own Ethereum with name blah and people can create their tokens with Remix on my own Ethereum (blah)?? Because Ethereum is open source!!!
2
votes
1answer
34 views

do I need install ethereum package?

I am a beginner and got confused. According to some online tutorial, I need to install "ethereum" and "geth" package in my linux (ubuntu) first before I run any mining program such ...
1
vote
1answer
11 views

Can a decentralized app know the true identity of its users?

I’ve been thinking about the architecture of decentralized applications. I know certain applications like Uniswap and Augur don’t know the identity of its users. Would these applications still be ...
1
vote
0answers
22 views

GetBalance generate too much request

What I do?. Download logs and collect address Use address to getBalance Result make a hodler table Result Too much generate request to infura Question Is any function/method to make a one request? ...
1
vote
1answer
15 views

How to trigger receive() fallback function | web3 geth

So Im pretty new to Solidity and I was looking into the receive and fallback functions and came across this very helpful post: What is the receive keyword in solidity? Then I read this: The receive ...
1
vote
0answers
11 views

Unable to Compile Contract in Brownie (not receiving a .json file in “build” folder )

I'm currently running Brownie in Studio Visual Code. My problem is that when I write a smart contract and try to compile it using command "Brownie Compile" I don't' receive a .json file in ...
1
vote
1answer
20 views

Structs giving error while creating nft on ropsten

I am trying to create 10 random nfts with different supplies using solidity version 6 and remix ide. However I keep getting the following errors: contracts/bullrun_cards.sol:29:16: TypeError: Type ...
1
vote
0answers
7 views

How to modify the Block Information in geth levelDB?

I want to change some information such as stateRoot or some other information for testing purposes in levelDB. Is that possible? If so, how?
2
votes
1answer
29 views

Problem when accessing variables in Storage geth

I found some contract that looks like this: // SPDX-License-Identifier: MIT pragma solidity 0.8.2; contract IceCream { address a; address b; bool public c = false; uint256 public d; ...

1
2 3 4 5
109