The Mist browser is the tool of choice to browse and use Ðapps.
For the Mist API see the MISTAPI.md.
If you want install the app from a pre-built version on the release page, you can simply run the executeable after download.
For updating simply download the new version and copy it over the old one (keep a backup of the old one if you want to be sure). The data folder for Mist is stored in other places:
- Windows
%APPDATA%\Mist - MacOSX
~/Library/Application Support/Mist - Linux
~/.config/Mist
For development, a Meteor server will to be started to assist with live reload and CSS injection. Once a Mist version is released the Meteor frontend part is bundled using meteor-build-client npm package to create pure static files.
Requirements:
- Electron v1.2.2
- Node v4.3.0 or above
To run mist in development you need Node.js NPM and Meteor and electron installed:
$ curl https://install.meteor.com/ | sh $ npm install -g electron-prebuilt@1.2.2 $ npm install -g gulp Now you're ready to install Mist:
$ git clone https://github.com/ethereum/mist.git $ cd mist $ git submodule update --init $ npm install $ gulp update-nodes To update Mist in the future, run:
$ cd mist $ git pull && git submodule update $ npm install $ gulp update-nodes For development we start the interface with a Meteor server for autoreload etc. Start the interface in a separate terminal window:
$ cd mist/interface && meteor In the original window you can then start Mist with:
$ cd mist $ electron . Start the wallet app for development, in a separate terminal window:
$ cd mist/interface && meteor // and in another terminal $ cd my/path/meteor-dapp-wallet/app && meteor --port 3050 In the original window you can then start Mist using wallet mode:
$ cd mist $ electron . --mode wallet You can pass command-line options directly to Geth by placing them after -- in the command-line invocation:
$ electron . --mode mist -- --rpcport 19343 --networkid 2 To run a private network you will need to set the networkdid, ipcpath and datadir flags:
$ electron . -- --networkid 1234 --ipcpath ~/Library/Ethereum/geth.ipc --datadir ~/Library/Ethereum/privatenetYou can also run geth separately yourself with the same options prior to start Mist normally.
To create a binaries you need to install the following tools:
// tools for the windows binaries $ brew install Caskroom/cask/xquartz $ brew install wine // install meteor-build-client $ npm install -g meteor-build-client // install gulp $ npm install -g gulp To generate the binaries simply run:
$ cd mist $ gulp update-nodes // to generate mist $ gulp mist // Or to generate the wallet (using the https://github.com/ethereum/meteor-dapp-wallet -> master) $ gulp wallet This will generate the binaries inside the dist_mist or dist_wallet folder.
Additional you can only build the windows, linux or mac binary by using the platform option:
$ gulp mist --platform darwin // Or $ gulp mist --platform "darwin win32" Options are:
darwin(Mac OSX)win32(Windows)linux(Linux)
With the walletSource you can specify the branch to use, default ist master:
$ gulp mist --walletSource develop Options are:
masterdeveloplocalWill try to build the wallet from [mist/]../meteor-dapp-wallet/app
Spits out the SHA256 checksums of zip files. The zip files need to be generated manually for now! It expects zip files to be named as the generated folders e.g. dist_wallet/Ethereum-Wallet-macosx-0-5-0.zip
$ gulp mist-checksums > SHA256 Ethereum-Wallet-linux32-0-5-0.zip: 983dc9f1bc14a17a46f1e34d46f1bfdc01dc0868 > SHA256 Ethereum-Wallet-win32-0-5-0.zip: 1f8e56c198545c235d47921888e5ede76ce42dcf > SHA256 Ethereum-Wallet-macosx-0-5-0.zip: dba5a13d6114b2abf1d4beca8bde25f1869feb45 > SHA256 Ethereum-Wallet-linux64-0-5-0.zip: 2104b0fe75109681a70f9bf4e844d83a38796311 > SHA256 Ethereum-Wallet-win64-0-5-0.zip: fc20b746eb37686edb04aee3e442492956adb546 After the bundle run:
$ codesign --deep --force --verbose --sign "5F515C07CEB5A1EC3EEB39C100C06A8C5ACAE5F4" Ethereum-Wallet.app Verify
$ codesign --verify -vvvv Ethereum-Wallet.app $ spctl -a -vvvv Ethereum-Wallet.app