Questions tagged [geth]

Go implementation of command line tools for Ethereum blockchain

Go implementation of command line tools will allow you to connect your server to or run your application on the Ethereum blockchain

Ethereum CLI: https://www.ethereum.org/cli

Github: https://github.com/ethereum/go-ethereum/wiki/geth

237 questions
0
votes
0 answers

Connecting to Geth private network from Metamask using RPC URL

I have created a private chain in Geth which is running in machine1. I want to connect to the private chain running in machine1 from machine2's Metamask using rpc. machine1 and machine2 are connected to the same Wifi network. The IP address of…
Bells
  • 1
  • 2
0
votes
1 answer

How can get pending txns and queued txns in txpool from geth by web3j

I have a job scan eth addresses and transfer usdt token. But sometimes transaction cannot transfer and stuck in pending queue in geth. And when the job run again, it still check balance and transfer token again. It makes create a lot of pending…
0
votes
1 answer

Go Quorum Kubernetes Setup Node Replicas and Load Balancing

Following the GoQuorum Official documentation, I was able to setup quorum nodes using Kubernetes and also bare metal raft setup with the help of the following links respectively Qubernetes Setup and Raft Setup Bare Metal If I would like to have my…
Aryama I
  • 77
  • 1
  • 10
0
votes
1 answer

Deploying smart contract using truffle on private blockchain node on docker

I am facing problems deploying a smart contract on my private blockchain network. I created my blockchain network on three VMs (miners) using puppeth on a fourth VM (controller) by following the steps in this blog:…
0
votes
1 answer

How to add ethereum node to already existing blockchain without knowing genesis file?

i am new blockchain Target : i want to add new node to already running blockchain. Correct, if i am wrong for adding node to network. two node's should have same genesis block. if genesis block have different values then newly setup node will not be…
Shivam Kumar
  • 123
  • 3
  • 10
0
votes
1 answer

NodePort to a Geth pod doesn't work on k8s

I'm trying to deploy Geth(ethereum/client-go) pod on k8s. But I can't deploy the pod with error "Fatal: Error starting protocol stack: listen tcp: lookup "192.168.1.10": no such host". My deploy.yaml is here. --- apiVersion: v1 kind:…
Pierogi
  • 341
  • 1
  • 3
  • 17
0
votes
1 answer

Unable to run blockchain project with ruby on rails

Below is the version description: Install geth (for accession console) - Version: 1.9.21-stable Install solidity(run solc file from terminal) - Version: 0.4.26+commit.4563c3fc.Darwin.appleclang Install Parity(connect RPC connect for port 8584)…
Ashish
  • 1
  • 1
0
votes
3 answers

I keep getting a permission denied error when running a command with sudo

I am following this tutorial that uses go ethereum tut but when I run the following command I get a permission denied error sudo bootnode --nodekey=new-node-1/nodekey --writeaddress > new-node-1/enode this is the error -bash: new-node-1/enode:…
John Bradshaw
  • 179
  • 1
  • 16
0
votes
1 answer

Can't use SSD as datadir for geth on a PI 4 running ubuntu

I'm trying to set up a Medalla test net validator on a Raspberry Pi 4 using this tutorial, with the difference that I've pulled the ARM64 Ethereum package from here. I'm running Ubuntu v20.04 (LTS) x64 I managed to sync the testnet this morning, but…
brianfit
  • 1,829
  • 1
  • 19
  • 34
0
votes
2 answers

I am getting an error while trying to connect with node using geth tool

I am having an error while trying to attach to the quorum node, using the following command :-- geth attach --datadir new-node-1/geth.ipc then I get this error Unable to attach to remote geth: dial unix new-node-1/geth.ipc: connect: no such file…
rest17
  • 25
  • 1
  • 6
0
votes
1 answer

How to connect local private geth nodes to the web page without using metamask or mist?

I'm developing a web wallet similar to meta mask that can make transactions or can create accounts from UI. Frontend is developed using React, blockchain is implemented in geth. I'm using truffle react box. else if (window.web3) { // Use…
0
votes
1 answer

why 'Generating DAG in progress' and 'Looking for peers' keep showing forever when I try to use geth to build up a private chain on my local computer?

I just try to learn etherum, geth and so forth. Now i am doing: feng@DESKTOP-PNE7LPV:~/myChain$ ../go-ethereum/build/bin/geth --datadir . --networkid 312 console I use this way to start a private chain and open the console. It all looks fine. But…
Feng Chen
  • 2,139
  • 4
  • 33
  • 62
0
votes
0 answers

Failing transaction when calling a funciton from geth console

I am discovering the blockchain world step by step, but I am facing a problem that I can't solve. I am using this simple smart contract from the Solidity documentation: pragma solidity >=0.4.0 <0.7.0; contract SimpleStorage { uint storedData; …
Matt
  • 1
  • 1
0
votes
1 answer

What is the difference between these scripts for "geth attach"?

I am using using capegemini ethereum docker : https://github.com/Capgemini-AIE/ethereum-docker geth attach http://localhost:8545 docker exec -it ethereum-docker_eth_1 geth attach ipc://root/.ethereum/devchain/geth.ipc sudo docker exec -it…
Amit Kumar
  • 31
  • 2
  • 6
0
votes
1 answer

Is it possible to share rpc endpoint for azure blockchain service with restricted access?

I want to create ERC20 token on azure blockchain service, and want to allow publicly sending ERC20 tokens and checking balances using metamask. However, I want to allow only sending ERC20 tokens, but don't want to allow other administrative…