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
44 views

web3.py geth txpool help

I need to help accessing the geth.txpool API namespace in web3.py. Heres what I do (for example): from web3 import Web3 web3 = Web3(Web3.HTTPProvider('https://mainnet.infura.io/v3/MY_KEY')) txPool = ...
0
votes
1answer
11 views

Is it possible to verify a node is running remotely?

I am trying to run many different nodes remotely and I was asking if it were possible to verify they are running remotely. Is it possible to verify a running Geth-node remotely? Thanks!
1
vote
0answers
15 views

Ethereum Node on AWS

I am running an Ethereum node on AWS. I am having problems connecting my Graph node that was built using Google provisioning services. Any suggestions for where to look for the error?
0
votes
0answers
17 views

What's a way of extracting analytics from Ethereum's main net?

I'm kind of newbie in Etherum's world. I'm looking for a way of building an "scrapper" (let's say something to collect analytics from Etherum main net) from scratch. It's totally for ...
0
votes
0answers
11 views

Configuring geth local node to handle API calls in parallels

I'm running a geth node and need to call a large number of get_transaction and get_transaction_receipt. I am running into rate limits at around 200 calls per second. Trying async coding but the result ...
0
votes
0answers
14 views

Unable to compile geth when I run "make all" on my windows 10, Shows "command not found"

I have successfully cloned go-ethereum code from the repo, but when I try to compile it by using the command :"make all", it throws an error which is "command not found". can ...
0
votes
0answers
11 views

How to clone (fork) ethereum blockchain to start own blockchain with altcoin [duplicate]

sorry for the same old question. How can i clone the ethereum chain and start own blockchain with altcoin.. is there any latest guide on it ? Please help me to find out, I am not getting perfect guide ...
1
vote
2answers
45 views
+50

Is there an easy to use command line too to create send transactions in Ethereum and forks of ethereum?

I'm trying to run a service that processes a bunch of ETH private keys and need to create send transactions via the command line. I know about geth, but are there other easier to use command line apps ...
1
vote
1answer
18 views

Function balanceOf is not constant issues

when i am trying to get erc20 balance of an address from smart contract getting balanceOf is not constant issue. myContractInstance.balanceOf("0x2cdfa0382bc9c43bdf645baf14d90aecc8a6ce5a") ...
0
votes
0answers
11 views

eth_getFilterChanges dropping events?

I setup a filter to watch all Etherereum Uniswap Sync() events : let pendingFilterId = await provider.send('eth_newFilter', [{'fromBlock': toRpcHexString(ethers.BigNumber.from(startingBlockNumber....
0
votes
0answers
11 views

How do I get archive node access?

I am trying to figure out how to pull historical data and realised I need access to an archive node. How do I actually get access to one? I've tried requesting one from https://archivenode.io to no ...
1
vote
1answer
36 views

uniswap constant formula seems confusing

let's say Liquidity on ETH/DAI pair is 5 ETH and 18652 DAI. At the time of this writing, I figured out how many DAI is 5ETH and 18652 was the number. So 1eth costs costs 3730DAI Now, let's say user ...
0
votes
0answers
17 views

The Ethereum node gives an error and writes off all funds

Colleagues, hello! Help me understand and solve the problem with the ether node. We execute a request in our node with the following code eth.sendTransaction ({from: '...
1
vote
0answers
30 views

Can’t type in new file under contracts! [closed]

I can not type anything under new contracts! It flashes a keyboard on my phone but nothing is writing! Tried safari and google chrome
0
votes
0answers
29 views

When a user is able to change a transaction before the confirmation?

I've noticed that there is a possibility to change a sent transaction before confirmation. For example, when I send a transaction, after 100ms I send a second similar transaction with the same nonce ...
1
vote
1answer
33 views

Why same smart contract deployed multiple time by same creator address?

I an doing a case study in which i need to find the source code differences in multiple smart contracts deployed by same creator address. During this I find that multiple smart contract (number exceed ...
0
votes
0answers
11 views

How do I get data regarding the type of token moved as a result of a smart contract's internal execution?

I want to "join" transactions with the execution information (typically referred to as internal transactions). Example scenario: Someone sells Alice a token, tokenA, via a regular Ethereum ...
0
votes
0answers
19 views

Unable to sync rinkeby and unable to query eth.syncing due to lack of IPC endpoint

I'm trying to sync rinkeby with the go-ethereum client (geth 1.10.14-stable). I've been starting the process a couple of times and then interrupted it again, and started again and so on. Now, the ...
0
votes
1answer
37 views

What are the Benefits of running an Ethereum Full Node if you are not mining?

As stated in the title, what is the direct or indirect benefit i stand to gain from running a full node on the Ethereum mainnet or Testnet I know Nicholas has a brilliant answer here, but it's about 5 ...
0
votes
1answer
35 views

Some json-rpc requests are not served by a possibly unsynced full node on localhost

I want to make some JSON RPC calls to my rinkeby node, which I have set up via: $ geth --rinkeby --http --http.api personal,eth,net,web3 --cache=4096 --http.port 3337 I seem to have problems ...
1
vote
0answers
34 views

Running multiple nodes in different physical locations

The goal I'm currently running a sniping bot that interacts with a private node. The goal is to detect new ERC20 token launches and place orders. After a while of testing this setup I noticed that ...
1
vote
0answers
27 views

installing geth on Mac, --devel option error?

I am trying to install geth from my Terminal, my Mac is running Big Sur 11.5.2. Here are the commands Im using: brew tap ethereum/ethereum brew install ethereum --devel However, the second command ...
1
vote
2answers
26 views

how to manually craft tx data in golang WITHOUT ethclient

how do i manually craft tx data (the actual DATA field in a tx) in golang without ethclient? i am trying to craft tx data to be signed later. lets assume i am trying to call a solidity function like ...
1
vote
0answers
12 views

Setting up a full node while getting err="etherbase must be explicitly specified"

I was trying to setup a full node and getting err="etherbase must be explicitly specified". I followed the steps here https://docs.binance.org/smart-chain/developer/fullnode.html and syncing ...
1
vote
0answers
34 views

admin.addpeers is not working on geth

This is the info i get when i run admin.addpeer on geth . i have used same genesis file on both aws instances, also rpcport and ports are different on both instances. the info is as follows: WARN [12-...
0
votes
1answer
52 views

Abi Decode raw types with Go

I have a simple abi.encoded string data that has a series of raw types. In solidity I would decode data by using the abi.decode function. (uint256 total, uint256 id) = abi.decode(data, (uint256, ...
1
vote
0answers
22 views

How Ethereum devs maintains it's api versions?

I'd like to know is there any versioning or maintaining rules about APIs in Ethereum. In the dev world, "backward compatibility" is really important especially in APIs. There are many APIs ...
1
vote
0answers
9 views

What is Special Chakra NFT from Comics NFT

The Chakra NFT from comics is the trendsetter of recent days in the crypto space. The NFT lineups are making a huge difference here and to say in precise, Special chakra NFT of the crypto space will ...
1
vote
0answers
42 views

Geth over HTTP RPC responding but doesn't return info to eth_blockNumber

I have a synced full node. When I run: # curl --location --request POST 'localhost:8545/' --header 'Content-Type: application/json' --data-raw '{ "jsonrpc":"2.0", &...
1
vote
0answers
8 views

Is there a difference between success and failure of `receipt data` and failure of `trace data`?

In the case of partial failure of ethereum, Is there a difference between success and failure of receipt data and failure of trace data? I found cases where even partial failures are logged as ...
1
vote
0answers
11 views

Way to determine gas without deploying to blockchain?

Are there any nifty ways to determine what a smart contract call would need gas without actually deploying the contract to test net? Can I write solidity code -> compile it -> send runtime ...
1
vote
0answers
15 views

Why is geth console returning me a transaction hash when I try to read my contract storage variable instead of actual value(uint256)?

Environment : Running an Ethereum private network of one node using Geth Connected to Remix-IDE at localhost:8545 Contract successfully deployed and tested via Remix Contract Code : // SPDX-License-...
0
votes
0answers
10 views

"invalid sender" with new AccessListTx

I have the following code that I couldn't get to work with AccessListTx: tx, e := types.SignTx(types.NewTx(&types.AccessListTx{ ChainId: 0x38, Nonce: tx_nonce, To: &contract, ...
0
votes
0answers
8 views

signing messages with keys hosted on gethNode

I am trying to sign a message for authentication and I found out that I can only get the r, s, v returns from signing via the web3.eth.accounts.sign method which requires the private key. is there a ...
0
votes
0answers
99 views

geth preload not working?

I have been using the script provided in this thread to mine only non-empty blocks in a private network by using the preload command when starting the geth node, as follows: geth --datadir ./Node1/ --...
0
votes
2answers
53 views

Since blockchain does not really hold/store data, how exactly do Blockchain projects/apps work?

To clarify, it is expensive and poor practice to store large amounts or sizes of data on a blockchain (ethereum or any other) Therefore, we don't link an application's backend logic directly to a ...
0
votes
0answers
20 views

1inch approve token

Hello im trying approve token on my smart contract to spend token on 1inch but allowance shows always 0 (via swagger 1inch) first method i tried with this function : function approve(address _token, ...
0
votes
1answer
12 views

Solidity Warning i can't verify my contract for this warning

Token warning code Warning: Function state mutability can be restricted to view --> Muscky_Token.sol:20:1: | 20 | function balanceOf(address owner) public returns(uint) { | ^ (Relevant source part ...
0
votes
0answers
6 views

Deploy 1000000000 ether of token using golang

Hy all, I've writed some code to mint 1B ether of token using go-lang, but if I using bind.DeployContracts from github.com/ethereum/go-ethereum/accounts/abi/bind there have some limitations cause ...
0
votes
0answers
14 views

How to pay gas fees on behalf of users?

I am new to blockchain development. I am trying to pay the gas fees on behalf of the users. I don't want to make users pay gas fees for very simple actions. you know how high eth gas fees can be. I ...
0
votes
0answers
17 views

How do I properly handle revert errors from a contract in geth?

So in my situation I have a deployed contract with a couple methods. One of the methods can revert the transaction if the require statement below fails: require(!names[nameHash], "Name already ...
0
votes
1answer
54 views

Deploy smart contracts using golang

I tried to deploy smart contracts using go and go-ethereum. To deploy it, I use sendTransaction function from go-ethereum library, but when i check it on ropsten explorer, it just a basic transaction ...
0
votes
0answers
10 views

What's the purpose of rewardPercentiles which is optional parameter of Oracle.FeeHisotry API

I'd like to know the purpose of the parameter rewardPercentiles of FeeHistory API. I tried to understand by following each code lines and ran tests about FeeHistory API, but still didn't catch why the ...
0
votes
0answers
9 views

Monitor Node for any new ERC-20 tokens [duplicate]

For a research project, I'm interested in monitoring the creation of any new ERC-20 tokens. My challenge is that I can't figure out how to identify an actual ERC-20 vs. any other general solidity. ...
0
votes
2answers
122 views

Why geth fast sync or light sync does not get the latest highest block

I am running geth "light" mode: geth --syncmode "fast" console. I have the following problem. The highest block is always be 13773036, which is created at 3 days ago: web3.eth....
2
votes
0answers
41 views

How to create web3.js which is used in geth?

I'd like to know how to create https://github.com/ethereum/go-ethereum/blob/master/internal/jsre/deps/web3.js file automatically. It seems like bundled by some tools but I cannot find any mention or ...
0
votes
0answers
13 views

How to fork ethereum and change native currency name [duplicate]

I am trying to fork Ethereum ( https://github.com/ethereum/go-ethereum ) but don't know: How can I create a custom native currency(replacing ETH with custom name like PQR). How will my native ...
0
votes
1answer
90 views

BSC full node have more states than reason

I'm currently trying to setup a BSC full node on an AWS EC2 i3en.xlarge (so the config should be OK). I've follow these steps : https://docs.binance.org/smart-chain/developer/fullnode.html Note that I'...
0
votes
0answers
26 views

Curious about the Math that makes Blockchain/Ethereum work ! Any good resources to learn it?

A bit of a background about me ; Computer Engineer but during my studies i didn't dive too deep into the maths , especially the crypto maths that makes the blockchain and cryptography work looking for ...
1
vote
0answers
32 views

Is it possible to swap if the TransferFrom ERC20 function is unavailable?

I have in my wallet a certain ERC20 token. However upon further examination I saw that the transferFrom function was a honeypot, meaning that only the owner's funds could be spent this way. Nobody ...