Run the wallet on your own computer
The normal and easiest way to use our wallet is to go to blockchain.info/wallet. However if you like more control over the exact code that runs in your browser, you can download the source code and run the wallet from a simple server on your own machine. Here's how:
- Install Node.js
git clone firstname.lastname@example.org:blockchain/My-Wallet-V3-Frontend.git -b v1.7.32 --single-branch --depth 1
Login to your existing wallet or create a new one at
You can replace
v1.7.32 with any tagged version you like, but we recommend always using the latest release. The versions marked as pre-release have not gone through extensive internal testing yet.
Note that the wallet itself is still stored on Blockchain.info servers. It is encrypted with your password. The wallet also uses the Blockchain.info servers to show you your balance, notify you of new payments, submit transactions, etc.
The frontend code in this repository uses AngularJS. The Bitcoin specific tasks are handled by My-Wallet-V3, which is included via Bower.
Make sure you have Node.js installed.
You also need Sass (use
sudo if you're not using a Ruby version manager):
gem install sass
Create a file called
.env in the root of the project. Put the following in it:
Optionally you can add:
AUTO_RELOAD=1 WEB_SOCKET_URL=wss://ws.blockchain.info/inv API_DOMAIN=https://api.blockchain.info
Grunt watches and compiles the Jade view templates and CSS. Keep it running:
To run test and monitor for changes:
A coverage report is generated after you run the test for the first time. Just open
coverage/index.html in your browser.
Run local http server:
If you are making changes to My-Wallet-V3 that you want to try out in the frontend, create a symlink:
rm My-Wallet-V3-Frontend/bower_components/blockchain-wallet/dist/my-wallet.js ln -s ../../../../My-Wallet-V3/dist/my-wallet.js My-Wallet-V3-Frontend/bower_components/blockchain-wallet/dist/my-wallet.js
To automatically login and go back to where you last were in the app after every page refresh, create a file
.env and add
AUTO_RELOAD=1 to it.
If you enable "handle bitcoin links" in your wallet settings, you can open bitcoin URI's like this one:
Bug fixes and feedback on our code is always appreciated.
Security issues can be reported to us in the following venues: