Questions tagged [console]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
2k views

How to import account form geth console to metamask (private blockchain)

I want to import accounts from geth console(private network) but I can't. I have UTC file when I create account with geth but when I open file and copy mac and paste to metamask (private key) account ...
5
votes
2answers
1k views

Is it possible to unlock a geth wallet through JSON RPC? [duplicate]

I'm currently developing an application on top of Ethereum's JSON RPC. I would like to be able to unlock and lock the wallet as needed, similar to how Bitcoin does it. However, it seems that at the ...
4
votes
6answers
2k views

Is there any software apart from Geth and Mist that offers the Javascript console? I want to use the console but I don't want to do all that syncing

Is there any software apart from Geth and Mist that offers the Javascript console? I want to use the console but I don't want to do all that syncing. Parity does not have a console as far as I know ...
21
votes
3answers
21k views

What's the Solidity statement to print data to the console?

Sometimes it would be really helpful to be able to see string representations of variable values in the Geth console, like of argument values in functions. Can I somehow print them to the Geth console?...
11
votes
4answers
5k views

How to open the JavaScript console on Parity?

There is nothing like parity console. How to open the JavaScript console on Parity?
7
votes
2answers
4k views

How can I run scripted geth commands with specified command line parameters?

I have a contract running on the testnet, and every time I need to call a function, after opening Geth I have to type (or paste): primary = eth.accounts[0]; personal.unlockAccount(primary, '...
8
votes
3answers
3k views

JavaScript console on Parity: unable to unlock account. Error: Method not found

How to open the JavaScript console on Parity? guide us to open a console for communicate with Parity. Inside the console I was not able to unlock my eth.account using personal.unlockAccount(). I ...
10
votes
5answers
3k views

Geth Console - Sleep after mining a block?

I am running a local testnet with a low mining difficulty to test my contracts, and I am conscious that when I start another mining geth instance the total computation will hog my CPU. My question ...
7
votes
1answer
3k views

Executing custom JavaScript Snippets through Non-Interactive console (geth --exec)

I have a JavaScript snippet to get the latest transaction to/from an account. After starting the geth instance, I did this in the interactive JS console: jsFunction is a function in filename.js &...
7
votes
1answer
9k views

How to get string from hex on Smart Contracts results [duplicate]

On a Smart Contract called "mem" there is a function called "get()" that returns a bytes32 that is supposed to be a string. How can I decode the string? The result is an hex value. I have tried ...
9
votes
4answers
3k views

Does parity include a console?

I can run geth console to get a command line interface spawned after launching geth. Similar also works for eth. I tried parity console but that didn't work out. ~ $ parity console Invalid ...
7
votes
1answer
807 views

Buy Gnosis tokens with geth

How to participate to Gnosis pre-sale using geth javascript console? In gnosis official blog is described how to do it using parity but there's no information on how to do it using geth.
4
votes
1answer
123 views

int256 range on geth command line

When I do the following on the geth command line: 20000000000000000000-19999999999999999989 it returns 0 I'm guessing this is because of a 64 bit limit on ints. Is there a way to get it to return ...
3
votes
3answers
1k views

How to run multiple commands in single line in geth console?

Can I run multiple commands at once in geth's JavaScript console? Can I do something like > api1.command1() && api2.command2("arg2") && api1.command3()?
2
votes
1answer
639 views

What to do after running geth?

I'm new to ethereum, I followed the installation guide and chose to go with the Geth Go-implementation. The first command i run was geth --console that downloaded all the blocks, one issue though is ...
2
votes
2answers
649 views

Can't enter any commands after starting eth on Windows

I'm running the eth client (0.9.41) on Windows 10 using the following command: eth --frontier -b -i as stated here. The program hangs and I'm not able to enter any commands. The last produced ...