2022 Developer Survey is open! Take survey.

Questions tagged [go-ethereum]

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

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

pendingTransactions not working properly on BSC

Using Web3.js to subscribe pendingTransactions events from local go-ethereum nodes, works correctly on Ethereum and Polygon, but not so on BSC. web3.eth.subscribe('pendingTransactions', (error, header)...
user avatar
  • 1,261
0 votes
0 answers
8 views

why creating new wallet doesn't cost any gas, though its using network storage to store account details?

Creating new wallet doesn't cost us any gas, but the account state and account information is stored in Ethereum blockchain, which is using networks storage and as we can see the details of account in ...
user avatar
0 votes
2 answers
20 views

insufficient gas funds error on rinkeby infura using brownie

I have sufficient ether in my testnet account but still the code is showing error. What to do next? I have attached multiple screenshots of my code and metamask rinkeby wallet.. Kindly guide me enter ...
user avatar
0 votes
0 answers
7 views

Invalid difficulty while adding Peer on private newtwork (forked geth)

I had created a fork of geth v1.10.17-stable-174ce54e and changed source code of consensus.ethash.go and update function calcDifficulty to return static difficulty 10. I had built geth from this ...
user avatar
0 votes
0 answers
7 views

Is it possible to create Partitions in ERC20 security token

Am a beginner in Blockchain and learning writing smart contracts so do pardon me if question doesnt make sense as i have seen the ERC1400 security token and as per my findings Erc1400 looks better in ...
user avatar
0 votes
0 answers
14 views

Geth - Full Archive Node

Im currently using an Infura RPC node and web3 for querying transactions. Im running into an issue when trying to query multiple blocks that contain more than 10K results. If I was to run a full ...
user avatar
  • 1
0 votes
0 answers
15 views

geth - allow external node to connect to private, locally running network

I'm running a local, private blockchain using geth. This is currently my setup: bootnode running on port 30300 peer node 1 running on port 30301 with HTTP-RPC server on port 8101 peer node 2 running ...
user avatar
  • 21
0 votes
0 answers
17 views

Geth --syncmode full takes too long

I'm trying to synchronize a full geth node and after 3 days of synchronizing in a 2TB Samsung SSD with great internet connection, I'm at ~40%: > eth.syncing { currentBlock: 5793255, ...
user avatar
0 votes
0 answers
19 views

How to run a multithread and async loop in Web3.py to monitor the same event on multiple smart contracts?

I am trying to monitor similar events on different (>=2) Ethereum contracts in web3.py. In the code below I try to monitor the Transfer event on wETH and wBTC smart contracts. Since create filter ...
user avatar
0 votes
1 answer
14 views

Disadvantages of geth's snap sync?

I've been researching Ethereum execution clients and it seems (please do correct me if I'm wrong) that currently geth's snap sync is by far the fastest and most widely used. So my question is, what ...
user avatar
0 votes
0 answers
10 views

Deploying smart contacts to multiple Blockchain networks

I'm working on cli project about deploying smart contacts to the multiple networks. For example i have a sample simplestorage.sol file and i want to deploy this to the tron network or binance smart ...
user avatar
0 votes
1 answer
14 views

I have only my keystore file

I have a myetherwallet. I have my keystore file but I lost my password? Is there any solution to recover my assets?
user avatar
  • 1
0 votes
0 answers
13 views

How can I include royalties in the ERC721 contract?

I am trying to add the royalty feature in my ERC721 contract. I came across the ERC2981 standard which automatically sets the royalty in the contract. I also incorporated the opensea ContractURI ...
user avatar
0 votes
0 answers
9 views

geth Smartcard socket not found, disabling (arch linux if that helps)

I was running geth (newbie) and when I went to use geth account list --keystore /home/aspen/.ethereum It came with this output INFO [05-11|21:48:34.389] Maximum peer count ETH=...
user avatar
  • 1
0 votes
1 answer
34 views

how to use a library with testcases using hardhat

I'm using a library for managing Events. Now when I'm running the test case script then I'm getting an error. ERROR If I don't mention the library when I'm deploying the Users.sol contract. ...
user avatar
  • 222
0 votes
0 answers
9 views

I would like to ask how do you test the performance of the Ethereum local network with Caliper

I would like to ask how do you test the performance of the Ethereum local network with Caliper
user avatar
0 votes
0 answers
6 views

How to run command in Background in AWS?

I am executing Ethereum node running command in AWS. I have to keep it running always. I am using screen command but it collapse automatically after some hours. There is another way that is tmux bus ...
user avatar
0 votes
0 answers
35 views

How to get the all of the Normal or internal transaction history using Etherscan Api when the records larger more than 10000 records?

I'm now trying to request all the records from the wallet address and so I purchased the business API on the Etherscan platform But I can get only 10000 records so far. how can I get the other records?...
user avatar
0 votes
0 answers
24 views

GETH syncmode=snap. Does it allow txpool / mempool / pending txs queries?

I'm only interested in querying the mempool, and a full sync is projected to take more than 2 weeks. There isn't easily available documentation providing an answer to this question, or detailing the ...
user avatar
1 vote
2 answers
146 views

How can I update the price of Matic on realtime inside a smart contract

I'm working on a smart contract that allows users to pay for monthly subscriptions like Netflix, Amazon, etc... Assuming that each subscription costs 20$ per month which is equivalent to 22 Matic at ...
user avatar
  • 169
0 votes
0 answers
10 views

Send eth to metamask from geth on my VPS

I set up geth on a VPS and created the genesis block myself. I also successfully connected that chain to Chrome's Metamask by using rpc. I sent eth from geth to metamask account. No response. The ...
user avatar
0 votes
1 answer
23 views

Does the Ethereum world state stored into DB every time when the block is mined?

The Ethereum block header stores the root hash of the world state trie, Does this means every time the state of world state is copied into levelDB for every block mined? Thanks for your answers.
user avatar
0 votes
0 answers
3 views

Some where i read that "Rinkeby uses only the Geth client to make transactions on the network" As iam very beginner ,Can anyone explain what it means?

link https://blog.logrocket.com/top-4-ethereum-testnets-testing-smart-contracts/#:~:text=An%20Ethereum%20testnet%20is%20a,protocol%20in%20a%20controlled%20environment. here i read that "Rinkeby ...
user avatar
0 votes
1 answer
30 views

Warning: Return value of low-level calls not used. --> hh.sol:147:6: | 147 | payable(0xdF3e18d64BC6A983f673Ab319CCaE4f1a57C7097 )

I want to share profit between different wallets. The contract is working and the profit is divided but I get that message that make me feel uncomfortable, and I can't find why. Could you please help ...
user avatar
0 votes
2 answers
49 views

How to secure JSON-RPC endpoint with a NFT token?

I see how to setup an ethereum node with NGINX as a proxy and basic http access control in order to protect my node to be used and abused by third parties. https://medium.com/coinmonks/securing-your-...
user avatar
0 votes
0 answers
15 views

Getting error on my genesis block

Fatal: invalid genesis file: hex string of odd length on my genesis block { "nonce":"0x000000000000042", "difficulty":"0x4000", "alloc": {"...
user avatar
0 votes
0 answers
41 views

"subscription queue overflow" Error after a few minutes of being subscribed to newPendingTransactions

I'm fairly new to both Go and GETH. I've been trying to get a simple pending transaction watcher going and it works okay for a few minutes but after that, it gets stuck and I get hit with a ...
user avatar
  • 1
0 votes
1 answer
32 views

Can I deploy contract with go-ethereum and sign it via MetaMask?

I want to deploy contracts by using my go backend code with go-ethereum package. Since this part of the system will run as a central element (since it does a lot of other stuffs), I won't (and don't ...
user avatar
  • 1
1 vote
0 answers
12 views

In Ethereum private network public IP node and private IP node peer is possible?

In Ethereum private network one node in AWS EC2 instance with public IP and another is in local machine with private IP. Is is possible to peer this two node using boot node. Is it possible to peer? ...
user avatar
0 votes
0 answers
11 views

"geth attach server" fails with 401 but fine with `ethclient.Dial(server)` in GoLang

I want to trace transaction with debug.traceTransaction() in geth, I'm using free archive node from "moralis.io", the url looks like "https://speedy-nodes-nyc.moralis.io/...my_key.../...
user avatar
  • 183
0 votes
0 answers
27 views

How can my geth listen to my domain,

i have setup my geth private node on my ubuntu server and sofar so good localhost running perfectly. and now i really want to use my domain http://rpc.example.com instead of http://localhost:8545. and ...
user avatar
1 vote
1 answer
23 views

How can I send erc20 tokens at once from MULTIPLE wallets to a single address?

I have a specific question. Is there any tool or wallet to manage multiple wallets and batch transfer tokens? Im not too familiar with contracts, so would prefer something easy to use with a UI https:/...
user avatar
  • 11
0 votes
1 answer
17 views

Merging two NFTs together

Is it possible to merge two NFTs so that one burns and the other one gets altered with added characteristics?
user avatar
0 votes
0 answers
11 views

Ethereum private network not connected using Boot node

I am trying to build a private ethreum network in AWS instances with multiple public IP. In my EC2-1 I created a boot node using the following command. bootnode -genkey boot.key I run the boot node ...
user avatar
0 votes
0 answers
16 views

Internal Transaction Access

We are running a Geth node and need to get all of the Internal transactions for the year 2021. It is still in the process of downloading blocks and we still have several more weeks before it will be ...
user avatar
0 votes
0 answers
23 views

Can't mine Ropsten chain on geth

I am in need of quite some amount of Ropsten eth, thus yesterday I decided to start mining it. I purchased a VPS with following specs: 8GB ram 160 GB NVME SSD 4 CPU Cores I started fast syncing with ...
user avatar
0 votes
1 answer
13 views

Are there a sub-class of transactions which do not change EVM State?

I was reading this article on https://ethereum.org/en/developers/docs/transactions/ . It said all transactions which change the EVM state must be broadcasted to the whole network . Just wondering if ...
user avatar
0 votes
0 answers
14 views

Who could tell me what is Rinkeby Or Etherenum websocket address?

I want describe Rinkeby and Etherenum, i need websocket address of Rinkeby and Etherenum. Thx!
user avatar
  • 13
0 votes
1 answer
17 views

Connection reset when reading from socket from geth

Hi I am getting a connection reset when using the latest geth. I am working on a laptop with latest windows 10 pro with updates. I and using latest WSL and installed with it ganache and geth. I am ...
user avatar
0 votes
1 answer
23 views

How to add a late fee automatically to a monthly payment

I'm working on a smart contract that allows users to pay for monthly subscriptions like Netflix, Amazon, etc... the function that allows user to pay their subscriptions is working fine, but I want to ...
user avatar
  • 169
1 vote
1 answer
26 views

How is the Gas Price field in Metamask populated?

I have an evm compatible blockchain with a price limit set to 10000. However when I go to submit a transaction to a validator, Metamask populates the gas price at 0: How can I ensure transactions are ...
user avatar
0 votes
0 answers
13 views

what is the difference between an ERC 1155 collection and edition

I am confused regarding the difference between a collection and an edition in erc 1155. I do understand that a collection is like an album where we can specify that this erc 1155 token belongs to this ...
user avatar
  • 750
0 votes
1 answer
30 views

How to convert the struct array type returned by Solidity function to Go type?

solidity version 0.6.10 struct LogisticsData { address cargo; address orgin; address destination; string memo; uint createdAt; uint queryCount; } ...
user avatar
0 votes
0 answers
13 views

Hello there i've problem with Expected primary expression

hello this is my code and error constructor(address _supplyChainAddress) public { supplyChainStorage = SupplyChainStorage(_supplyChainAddress); } and this is an error and i got stuck because ...
user avatar
0 votes
0 answers
8 views

How to run bootnode in public IP in Ethereum Blockchain

How can I run bootnode with my public IP address? I am running following command. bootnode --genkey=boot.key bootnode --nodekey=boot.key --writeaddress bootnode --nodekey=boot.key --addr:$(...
user avatar
0 votes
0 answers
13 views

Getting incorrect GasPrice from tx type 2

Having transaction sent from Metamask (ropsten network): 0xddd70e7d8dbd3cf5c0618501911b045464ae2087bd537aa538f34b8c9600dcc7 I'm watching transactions in new blocks using golang, and when tx match ...
user avatar
  • 1
0 votes
2 answers
67 views

How to return all the struct inside a nested mapping in solidity

I'm working on a smart contract that allows users to subscribe to different Plans. I have a nested mapping that returns a struct(Subscription). I wanted to create a function that returns all the ...
user avatar
  • 169
0 votes
0 answers
60 views

GoQuorum - /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./geth)

I took the GoQuorum geth binaries of the latest version (22.4.0) from below link https://github.com/ConsenSys/quorum/releases However, where I tried to verify the version from the geth binary, I faced ...
user avatar
0 votes
1 answer
24 views

Why harmony.json file is used in Ethereum Blockchain?

What are the roles of harmony.json file is used in Ethereum Blockchain?
user avatar
0 votes
1 answer
24 views

How to set total supply of native token in genesis file?

I understand you prefund wallet address with a native token in the alloc param, but where do you define the total supply at in the genesis.json file? "genesis": { "nonce":...
user avatar

1
2 3 4 5
119