Questions tagged [console]

The tag has no usage guidance.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
300 views

How to add additional parameters to Ethereum Wallet?

I wish to add a few more fields to the wallet file & save it in the keystore so that I can manage them better. For instance, consider the following: { "address": "...
3
votes
0answers
117 views

Geth private chain hashrate lower on higher versions

Using Geth I am running a private development chain (locally) with one node, starting it as follows: geth --networkid 12321 --datadir=".embark/development/datadir" --password config/development/...
2
votes
3answers
2k views

Start Mining Operation = null (cannot mine private eth chain)

not sure if anyone has seen this before: I'm trying to mine a private chain. For whatever reason, after I was able to mine two blocks, I tried to mine the chain again and I get the following...(below)...
1
vote
0answers
30 views

MAC OSX geth console error

I have installed Geth on my mac Mojave 10.14.3 by brew tap ethereum/ethereum and brew install ethereum Just the same as the instruction and everything goes well, but when I run geth console ...
1
vote
1answer
272 views

web3 is not defined problem

This is my simple html source code for my website. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewpoint" content="width=device-width, ...
1
vote
0answers
62 views

geth console - web3.isConnected function and not a function?

I am trying to find out if my node is connected. So I attach geth via geth attach in another terminal. But if I run web3.isConnected it returns function(). But when I run it as a function web3....
1
vote
0answers
26 views

Compiling from remix onto geth console

I found how to deploy a contract onto MEW, but I do not understand, partially due to meta references and missing/assumed knowledge. I'm just looking from help on a walk through. I'm including the ...
1
vote
1answer
91 views

Topics in messages are ignored in filters from shh console

I have setup a private network for testing Whisper. I cannot make filters based on topics to be of any use, because regardless of how I set them, all messages are received. I already have found some ...
1
vote
0answers
67 views

Tech challenges related to coinbase account recovery

I am trying to reacquire access to a coinbase account that I used as the repository for ethereum I was mining almost 2 years ago. I have the json file corresponding to the correct address. I have ...
1
vote
0answers
107 views

Could we run `Parity` where we could have access to web3.debug on javaScript console?

Parity does not return anything for web3.debug on java script console. The way I run Parity: parity --chain parity.json --network-id 23422 --reserved-peers myPrivateNetwork.txt --jsonrpc-apis web3,...
1
vote
0answers
332 views

Mining in geth Panic:Ethash_full_new IO or memory error

i have already created my own private network and created my own account, i wanted to try to mine but when i do mining suddenly stops and i do not know what are the error that causes it i just see ...
1
vote
0answers
75 views

Javascript client generates transaction that is not found on etherchain

I'm having a tough time. I am trying to do a simple sendTransaction from the javascript console. I get a transaction id but it is invalid (or not found) on etherchain.org. I've already tried re-...
0
votes
1answer
65 views

“gas required exceeds allowance” with eth.sendTransaction on geth CLI

I am trying to follow these instructions. I do not want to sync so I run ./geth-1.9.0 --maxpeers 0 console` and do this: FROM="0x..." TO="0x..." ETH_AMOUNT=0.1 NONCE=1 VALUE=web3.toWei(ETH_AMOUNT,...
0
votes
1answer
27 views

Viewing transaction events by using web3 on geth console

According to https://web3py.readthedocs.io/en/stable/contracts.html#web3.contract.ContractEvents.myEvent web3 allows to extract the pertinent logs from a transaction receipt: tx_hash = contract....
0
votes
1answer
23 views

Deploy.js script is inifinite, does not show any errors

This is the deploy.js file: const assert = require('assert'); const HDWalletProvider = require('truffle-hdwallet-provider'); const Web3 = require('web3'); const cF =...
0
votes
1answer
57 views

How to prevent to change coinbase address for geth?

I am trying to get test ether on ropsten testnet, so I set coinbase address like miner.setEtherbase("0xxxxxxxxxxxxxx") and started to mine from my node, miner.start(4); But someone changed the ...
0
votes
2answers
118 views

eth.sign() method giving error

I am using eth.sign from Ethereum wallet developer terminal and getting following error rejection Error: Returned Error: The method eth_sign does not exist/is not available Please advise whats the ...
0
votes
0answers
74 views

geth exec interpreter persistence

Running geth --exec starts an interpreter. It allows to run geth console commands. I want to load a javascript function that runs continuously in background in geth. It basically continuously looks ...
0
votes
0answers
13 views

Eth on unlocking auto transfers

Facing a weird issue on geth console on my private network. So, I was trying to unlock an account so that my web3 can access it. As soon as I unlocked, all my ethers just vanished in seconds.. I could ...
0
votes
0answers
41 views

Does the solC compiler work in the geth Javascript console anymore

does the solC compiler work in the javascript console anymore, and if it does how can I install it. I have tried using the compiler methods in the javascript console api however they do not work and ...
0
votes
0answers
157 views

Executing custom script through non-interactive is different from executing through console

I have a private ethereum blockchain with a script, filename.js. miner.stop(); debug.verbosity(4) loadScript("path to FileStorage.js"); var DataStorageContract = web3.eth.contract(JSON.parse(...