Hot answers tagged

62

Mist DApp Browser Mist is the browser for decentralized web apps. What Mozilla Firefox or Google Chrome are for the Web 2.0, the Mist Browser will be for the Web 3.0 (which will be decentralized). Mist is still in heavy development (for instance it's not recommended to visit untrusted DApps until the full security audit is done). You can find the releases ...


50

I am using Windows 10, Mist Wallet 0.7.2 which includes geth v1.3.6, a non-SSD hard drive and ethernet connection to 16Mbs modem. I had incredibly slow syncing of the blockchain, even with 25 peers and was actually having to to quit and restart Mist just to download another few blocks. I had installed the Mist Wallet for Win64 from here, which also includes ...


40

Use --fast and don't forget --cache with Geth Everyone mentions --fast but you probably also need --cache=1024 (and --jitvm may also help). Without it, you are running with the default which is --cache=16. --fast is important to help sync past computationally intensive blocks. If you are starting from the beginning, use: geth --fast --cache=1024 If you ...


38

Accounts are the most basic way to store Ether. They are simple public/private keypairs, which you use to sign transactions. You don't need to do anything to "register" an account with the network, just generate one and send some ether to it. Wallets are smart-contracts that allow for advanced features such as transaction logging, multisig, withdrawal ...


26

geth (used in the Ethereum Wallet) saves its internal states for the main network in the chaindata directory. You can find it in the: ~/.ethereum on Linux ~/Library/Ethereum on OS X ~/AppData/Roaming/Ethereum on Windows In these directories, there are: chaindata: production blockchain testnet: test blockchain keystore: your keys


26

You raise a topic that can be confusing for newcomers to the space. In summary, Ethereum can be accessed by a browser, or by a server; anything that can speak the protocol. The Mist browser is more tightly integrated as one might expect, but others can work as well if the right requirements are loaded. To help put this into perspective, it's possible to ...


25

Thats not so easy, if they are created on the testnet we gray them out. So you can't click on it and then on the trash can next to the name, on the contract page. You would need to open the console (CMD/CTRL + ALT + i) and type: CustomContracts.find().fetch() Then look at the contract you want to remove and copy its _id. Then type: CustomContracts.remove('...


22

You can use MyEtherWallet or MyCrypto(fork of MyEtherWallet) offline only wallet "view wallet details" function to extract private key from wallet json file. Feel free to use its offline version on an air gapped computer to secure your private key. Edit: MyCrypto only provides this function in the offline version of the wallet now for obvious security ...


21

There is no general solution for this because the solidity code is not published on the blockchain. On the blockchain only the resulting byte code is published. There are different block explorers like ether.camp that offer the option to upload the solidity code. They can use the solidity code to verify that it indeed matches with the byte code on the ...


21

The default subdirectory where your Ethereum data files are stored on a Mac is ~/Library/Ethereum . Within this subdirectory, your blockchain data is stored in the subdirectory chaindata, i.e., ~/Library/Ethereum/chaindata . Let's assume that your new drive is mounted on ~/Volumes/Drive2 for this example. Here are 3 alternatives, the first being the ...


20

The intrinsic gas for a transaction is the amount of gas that the transaction uses before any code runs. It is a constant “transaction fee” (currently 21000 gas) plus a fee for every byte of data supplied with the transaction (4 gas for a zero byte, 68 gas for non-zeros). These constants are all currently defined for geth in params/protocol_params.go. ...


20

You'll need to create a symbolic link from the folder where Mist is looking for the chaindata to the folder where you are storing the chaindata (e.g., on an external drive). You can make a symbolic link with the MKLINK command in Windows, there's a good primer on the matter here: http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-...


19

Well, I'm answering my own question, here's a solution: 1) Add endpoints to your Azure VM (tutorial) In this case you need to add port 8545 to Inbound security group. Don't forget to add port 22 too, otherwise you can't connect via SSH. 2) Connect to VM and run geth --dev --rpc --rpcaddr "0.0.0.0". Last flag means that your RPC will accept requests from ...


17

Web3 is designed to work both server-side and client side. The client side must be a preprocessed JS bundle, because browsers can't handle advanced JavaScript. You can grab a bundle distribution or create one yourself. Web3 communicates using XMLHTTPRequest when run in a browser. If you do not have your own node to communicate with the situation is grim at ...


16

Can I set the gas price to what ever I want? Yes, you can. But miners have a default strategy for determining gas price to charge and if the amount you're willing to pay is below that, your transaction will be rejected. (Try setting the slider all the way to the left in Mist and try to send a transaction.) What are these limits actually? Completely ...


15

Mist / Ethereum Wallet now has a built in compiler that is not very well document beyond screenshots in the tutorials in order to create, compile, and deploy contracts. However, the version of Mist's compiler and whether or not it is optimized is...hard to figure out. Go to the Mist releases page. Click on the release you are using. ie: 0.5.2 Click "CODE" ...


14

When you change the datadir using the --datadir flag you also change the IPC path that the Ethereum Wallet uses to communicate with Geth. When the wallet doesn't detect the socket it assumes Geth is not running and launches the build in one. You can fix this by using the --ipcpath to specify where the IPC socket should be created. If you run Geth with geth -...


13

Ethereum-Wallet comes packaged with geth.exe which is the Ethereum blockchain node software. Here is the listing from the Ethereum-Wallet-win64-0-5-2.zip file downloaded from https://github.com/ethereum/mist/releases : $ unzip -tv Ethereum-Wallet-win64-0-5-2.zip | grep geth testing: Ethereum-Wallet-win64-0-5-2/resources/node/geth/ OK testing: Ethereum-...


13

If you have node.js, you can do this in node var keyth=require('keythereum') //install keythereum by runing "npm install keythereum" var keyobj=keyth.importFromFile('0x...your..ether..address..','./Appdata/roaming/ethereum') './Appdata/roaming/ethereum' is the folder contains 'keystore'. importFile looks for 'keystore' in that folder. var privateKey=...


13

Trashcan Click on the contract you want to delete. On the contract page, hover over the name. You see a trashcan. Click on this to remove the contract. EDIT: As noted by @Vesa, you may not be able to access the contract as Mist freezes. What OS and version of Mist are you using. I have had some problems with Ethereum Wallet 0.7.2 that are not present in 0....


13

The Ethereum protocol defines how the Ethereum network works, how clients should generally operate, and rules everyone must follow to be a valid part of the network. This protocol is written generally such that anyone could go and implement their own version of the protocol into a custom Ethereum client. Go-Ethereum (GETH, written in GO), Parity-Ethereum (...


12

Using Mist (Update 27th of February 2016) It is now possible to import your pre-sale wallet in the official Mist wallet, version 0.4.0 and up. No more command line interface required. To import your presale via Mist / Ethereum Wallet, start it up, let it sync (takes a day or so), go to "Accounts" -> "Import Pre-Sale Accounts". That's it. In some versions ~...


12

They use a customized version of the blockies library, namely this one: https://github.com/alexvandesande/blockies. Our port has a few graphical fixes as well as a significant fix to avoid duplicate icons in the original version caused by a bad random number generator. The upstream author doesn't want to accept the good PR since it breaks existing icons for ...


11

As far as I know Mist can only connect to a local instance, and even then only via IPC. The reason is that is uses a few APIs that are not exposed by default over HTTP and would probably be unsafe to do so (e.g. account management).


11

This feature is available since version 0.8.2 (Pull-Request). You will need to start the node with RPC enabled: geth --rpc Connect Mist via: Mist --rpc http://localhost:8545 Please mind the security implications: This is less secure than using local IPC - your passwords will be sent over the wire as plaintext. Only do this if you have secured ...


11

Thanks for asking, this is a common question but did not have a good public answer. I've updated the MetaMask user FAQ to include a response, and am copying that answer here: MetaMask does not currently display your token balances, but that doesn't mean you can't manage your tokens with MetaMask! Since MetaMask allows any website to interact with the ...


11

Install https://metamask.io/ and Navigate to https://remix.ethereum.org/ Click on settings -> choose your compiler (e.g. 0.4.19+commit.c4cbbb05). Note that optimization is unchecked. Login to metmask and choose your network (i would suggest first testing using ropsten test network and using the buy button to get ETH from a free faucet) Go back to the compile ...


10

Smart contracts expose multiple functions as a public API. In general, to interact with any contract, its ABI (different from API) must be used to properly encode/decode messages to/from a contract. This is true regardless of function or event. The Mist multisig wallet is based on the code at https://raw.githubusercontent.com/ethereum/dapp-bin/master/wallet/...


10

It depends on what you want to do with the ethers held in your presale wallet account. Keys Just to clarify what keys you have, here is a example of a set of keys: Unencrypted private key: 79d4c2a3bb457add08a4eb3a1c222235899a93d77a5a2e67704994212861e222 Private key encrypted with the password testtest: U2FsdGVkX1+...


9

Geth is a CLI Ethereum client that helps the Mist Wallet application connect to the Ethereum network (you also have the option to use the C++ client, but Mist defaults to using Geth currently). If loading Mist (or Geth) is taking a long time to download/load the blockchain, try this: Download geth Run geth with the --fast option. Example: geth --fast After ...


Only top voted, non community-wiki answers of a minimum length are eligible