Most Popular
1500 questions
19
votes
3 answers
How to attach geth to a local Parity RPC port 8545?
I'm running parity with the --jsonrpc flag which listens on port 8545 by default.
I'm trying to attach a geth instance, like described in the the docs:
Attach a console to a running geth instance. By default this happens over IPC on the default IPC…
q9f
- 32,913
- 47
- 156
- 395
19
votes
2 answers
What is http://localhost:8545?
Why do some ethereum related websites (for example regis.nu, there are many others) tell me they cannot find a node running at http://localhost:8545 and what can I do about that?
Regis.nu allowed me to create a "light-wallet" and then I had to put…
Thomas Jay Rush
- 9,943
- 4
- 31
- 72
19
votes
1 answer
How to handle dates in Solidity and web3
Let's say I want to store a birth date in in a solidity contract. Which data type do I have to use in the solidity contract? How do I write the date with web3 to the contract and how do I retrieve it from the contract in a human readable format?
Bumblebee
- 1,751
- 3
- 14
- 23
19
votes
2 answers
What's the order of execution for multiple function modifiers?
I don't know why nobody is asking this question (I've done my homework and did tons of Googling for an answer) but I am having hard time understanding how function modifiers actually work.
Sure it's trivial when you just use one modifier, or if you…
Vlad
- 501
- 1
- 5
- 8
19
votes
2 answers
how to estimate gas cost?
I have a function that iterate through an array, which could cost a lot of gas. But I still want to test out the estimate gas cost, then decide if I should maintain the design or not.
function giveAwayDividend(uint amount) onlyOwner payable…
dome some
- 319
- 1
- 2
- 6
19
votes
1 answer
How Can I Add My Name Next To Address On Etherscan?
I'm wanting to set up a charity and want to use a public wallet for accepting donations with on Etherscan where I can have a displayed name next to the wallet like this:
How Can I Add My Name Next To Address On Etherscan?
Donavan Theodor
- 1,943
- 3
- 20
- 28
19
votes
6 answers
How to set a different datadir in Mist?
With bitcoin and others, you can use --datadir option to specific where blockchain, keystore, etc are saved. But doesn't work with Mist.
From the offical wiki:
To configure the location of the data directory, the --datadir parameter can be…
Clovis
- 881
- 4
- 12
- 20
19
votes
6 answers
what is a standard .gitignore for truffle?
I'm using the latest Truffle. Very nice, after having to roll my own dev environment in early 2016! But there is no obvious documentation as to what parts of the project need to be checked into Github.
For example, I'm unsure if the build directory…
Paul S
- 4,271
- 1
- 22
- 48
19
votes
1 answer
Usage of memory, storage and stack areas in EVM
In solidity contracts, I can understand that based on variable usage and expensiveness, I can determine that which one should use (memory, storage or stack). But I faced some situations where only memory can be used and like that.
So my question…
Abhishek
- 800
- 4
- 15
19
votes
4 answers
how to connect "Kovan" or "Rinkeby" from geth
As far as I know, the default test network is "Ropsten" and you can connect to ropsten with following command.Since it is default, when you connect to testnet its "Ropsten".
geth --testnet
I would like to connect "Kovan" / "Rinkeby" test networks.…
karfkars
- 450
- 2
- 6
- 9
19
votes
2 answers
Geth - How to clear queued transactions?
When typing txpool on Geth I get:
{
status: {
pending: 15,
queued: 714
},
getStatus: function()
}
I don't even know why there are 714 queued transactions when there should be none. I guess I messed something up.
More importantly, my…
Opossum
- 388
- 1
- 2
- 7
19
votes
4 answers
I want to know how to quit the truffle console?
just like the question!! I always kill the progress by kill the main shell. I want to change this way.
bingyu
- 441
- 1
- 4
- 6
19
votes
6 answers
How can I get the data of the latest 10 blocks via web3.js?
How can I get latest 10 block data by using web3.js like most block explorer does?
Satoshi Nakanishi
- 5,749
- 7
- 38
- 57
19
votes
2 answers
What is casper?
I see that Vitalik and Vlad are working on Casper. As far as I understand, casper is the new POS mining algorithm. Why is it better than bitcoin's POW? I understand it's environmentally friendly, but isn't just vulnerable to ownership bias and…
high110
- 4,756
- 1
- 21
- 43
19
votes
2 answers
What advantages and disadvantages does Open Blockchain / Hyperledger / Fabric have over Ethereum?
Similar to this question about Ethereum and Bitcoin:
What advantages and disadvantages does Open Blockchain (OBC) have over Ethereum? What can you do with OBC that you simply cannot with Ethereum? What price do you pay for these additional…
eth
- 85,679
- 53
- 285
- 406