Questions tagged [console]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
89 views

External Javascript isn't updating account balance

I have a simple smart contract that is supposed to record input strings on the blockchain using events: pragma solidity 0.4.19; contract Recorder{ event Record( address _from, string ...
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
72 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
335 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
2answers
557 views

Get array values in Truffle console

Is there a way to print the values of an array in my contract to a console (using truffle or geth for example)? Suppose this is my contract: contract MetaCoin { uint256[] public someNumbers; ...
0
votes
3answers
1k views

How to see deployed “StandardToken” contract owner with truffle console

I have deployed on testrpc contract with ERC20 token which has following constructor: pragma solidity ^0.4.4; import 'zeppelin-solidity/contracts/token/StandardToken.sol'; contract TutorialToken is ...
0
votes
1answer
20 views

Which interface for GETH is the most ideal to learn? How do they differ?

In trying to learn Ethereum and its inner working, i came a crossed https://www.ethereum.org/cli . It states... "Geth and Eth are multipurpose command line tools that run a full Ethereum node. They ...
0
votes
1answer
226 views

Using a Linux Socket to Connect to the JavaScript Console

I'm trying to programmatically connect to a JavaScript console (just like you get with geth attach) using the geth.ipc file that gets created in the chaindata folder. On Linux, it's a socket file, so ...
0
votes
1answer
138 views

ENS Registrar Initializing …

I am trying to bid on a domain. However it says "Initializing ENS Registrar" ... So ... I check the JavaScript Console (as recommended) and here is what it says: However I don't know what to do now.....
0
votes
2answers
464 views

How to read values of Struct in Solidity contract?

I have developed the following smart contract and try to test it via the truffle js console: pragma solidity ^0.4.2; contract AddressRatings { struct Rating { mapping ( address => uint8 ) ...
0
votes
1answer
336 views

Can't see deployed contract in truffle console

As seen in the screenshot, I deploy a contract named TulkerSale using Ganache. Then in truffle console, TulkerSale.deployed() returns an error... How can I access the deployed contract in the console?...
0
votes
1answer
2k views

Truffle Console not working, opens truffle.js instead. [duplicate]

Am currently trying to learn Dapps, and trying to initiate Truffle. But, when I use the command "truffle console" in the Git CMD window, rather than opening the console, it opens up the 'truffle.js' ...
0
votes
1answer
906 views

Please confirm units in this sendTransaction are reasonable

Can you please double-check this command for me and tell me if I screwed up the units? eth.sendTransaction({ from: "blah", to: "blah", value:20000000000000000, nonce:5, gas:120000, gasPrice:...
0
votes
1answer
94 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
35 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
58 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
128 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
1answer
85 views

How to SSH Quorum running on Azure VMs?

I have deployed a Quorum Network on Azure and now I would like to have ssh access. In the creation process I had to set a VM-user and a VM-password. But if I use them like this: ssh VM-user@Public-IP-...
0
votes
0answers
79 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
43 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
1answer
126 views

cpp-ethereum Current block number is 0

I have using eth --private "customChain" --genesis-json genesis.json --db-path data" to create a private chain. and when I into ethconsole it shows: Connecting to node at \\.\pipe\geth.ipc Connection ...
0
votes
1answer
181 views

Interacting with Contract Abstraction from file

In the official Truffle Docs over here, it is demonstrated how to interact with a deployed contract. So far, I've come across only the Truffle Console, which is everything but intuitive for larger ...
0
votes
0answers
160 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(...
0
votes
1answer
269 views

Cannot call function and send write-Transaction from geth-console

I have a contract which has this function: function registerSensor(bytes32 name, bytes32 unit, bytes32 location) returns (bool success) { sensors[msg.sender].exists = true; sensors[msg.sender]...