Most Popular
1500 questions
29
votes
1 answer
What are the valuable benefits of having a node?
Supposedly I'd like to help Ethereum to expand (in terms of the World Computer), so I'd like to setup a Linux machine which can run smart contracts.
What kind of benefits I can get from doing that?
Do I earn anything particular?
If so, what I can…
kenorb
- 1,171
- 1
- 12
- 28
29
votes
5 answers
What is the real price of deploying a contract on the Mainnet?
I'm trying to deploy a contract on the mainnet, but I've been getting some issues deploying with Truffle.
➜ ballot git:(master) ✗ truffle migrate --network mainnet --dry-run
Using network 'mainnet' (dry run).
Running migration:…
V. Kartoplya
- 291
- 1
- 3
- 3
29
votes
4 answers
How can I expose Geth's RPC server to external connections?
I want to set up a private network of applications which can connect to a single Geth node. What options do I have for exposing the RPC server?
I'm running this: geth --rpc --testnet (sometimes I use --dev)
How can I achieve the following:
Permit…
Karl Floersch
- 1,691
- 3
- 19
- 24
29
votes
2 answers
What is the merit of creating new smart contract languages like Solidity instead of using other languages?
What is the pros and cons of creating new languages like Solidity for smart contracts instead of using other computer languages like Golang or Python?
Satoshi Nakanishi
- 5,749
- 7
- 38
- 57
29
votes
6 answers
What are common pitfalls or limitations when coding in Solidity?
What would be on your list to warn other developers about?
What works in most other languages that does not work, or behave as expected, in Solidity?
For example only: what parameters can be passed to functions, what can be returned from functions?
eth
- 85,679
- 53
- 285
- 406
29
votes
3 answers
How does Solidity's sha3 / keccak256 hash uints?
This is not a question about the issue with Ethereum using a non-standard sha3. I have found the right JS hashing library, and am able to get matching hashes in JS and Solidity on byte strings. What I am wondering is how to represent a uint when…
Jehan
- 783
- 1
- 7
- 11
29
votes
4 answers
How do I decrease the difficulty on a private testnet?
I've created a private test network. On the genesis.json file, I've changed the difficulty to 1. Yet, mining a block still takes hours on my CPU. I suspect that is due to some configuration related to the network adaptation.
What is the correct…
MaiaVictor
- 3,177
- 2
- 17
- 37
29
votes
6 answers
How to send ERC20 token using Web3 API?
I created some custom token in Ropsten testnet using this guide:
https://steemit.com/ethereum/@maxnachamkin/how-to-create-your-own-ethereum-token-in-an-hour-erc20-verified
I can send it to other accounts using MetaMask, but can't figure out how to…
Tomas Navickas
- 641
- 1
- 5
- 10
29
votes
5 answers
How do I send an arbitary message to an Ethereum address?
How can I send a message to another Ethereum address? And how would that user receiving know that its a message? Is there an Ethereum wallet that will show that I sent a message to that address? And what is the max size I can send?
Patoshi パトシ
- 4,800
- 7
- 45
- 93
29
votes
2 answers
Get a peer list for my geth node
How can I use Geth (or any other client) to get a list of my peer nodes on the Ethereum network. I see there's a function to get the number of nodes using the web3 api, but I need a list of node IDs or IPs.
firescar96
- 582
- 1
- 4
- 10
29
votes
3 answers
Can a contract listen to events of another contract?
I read that to listen to events you need to use web3.js. Are there other ways of doing it? Can a contract even somehow listen to events of another contract? Thanks!
uberlaufer
- 955
- 1
- 9
- 9
29
votes
4 answers
what does `deploy.link` exactly do in `truffle`
Please explain use cases for deploy.link() function in migrations in truffle framework.
How would you use it and for what.
rstormsf
- 4,337
- 2
- 25
- 42
29
votes
3 answers
What does "intrinsic gas too low" mean?
I'm running the Mist wallet, and I've deployed this contract to testnet (from https://ethereum.stackexchange.com/a/179/520) :
contract Notary{
struct Document {
uint timestamp;
bytes ipfs_hash;
address[] signatures;
…
Fernando Tiberti
- 2,299
- 1
- 15
- 28
29
votes
3 answers
How to add new Sealer in Geth 1.6 Proof of Authority?
I'm trying out Proof-of-Authority in Geth 1.6 for my private network and got it to work on a few nodes using Puppeth.
Now, I have two questions about maintain the private network as the network grows larger over time.
How do I add more sealer…
Pii
- 580
- 1
- 5
- 11
29
votes
3 answers
How can I make new account by JSON-RPC?
I'd like to make new account by JSON-RPC.I've checked the wiki of Ethereum, however I could not find out how to do that.
I've found call existed accounts, but it isn't what I want.
eth_accounts
Could you tell me how to do this?
Toshi
- 2,357
- 8
- 23
- 34