Online Webwallet for Unoparty.
Originally based off of Carbonwallet (however virtually all the original code has been removed or rewritten).
- Main page: unowallet.io
- Primary server -- Mainnet: wallet.unowallet.io
- Primary server -- Testnet: testnet.unowallet.io
- Deterministic wallet addresses (BIP 32-based)
- Supports the majority of Unoparty functionality
- Fully-AJAX driven
- Anonymous
- Runs in the browser, with keys created in memory
- Multi-sig
Desktop
- Chrome 23+ (preferred browser)
- Firefox 25+
- Safari 7+
- Opera 15+
Notably, Internet Explorer is not supported, due to its lack of full Content-Security-Policy support (even with IE 11).
Mobile
- IOS Safari 7+
- Android Browser 4.4+
- Chrome for Android 33+
- Chrome for iOS 35+
- Firefox for Android 26+
sudo npm install -g grunt-cli bower browserify
cd src
bower install
cd vendors/bitcoinjs-lib
npm install
browserify --standalone bitcoinjs src/index.js | uglifyjs -c --mangle reserved=['BigInteger','ECPair','Point'] -o bitcoinjs.min.js
cd ../../../
npm install
grunt build
grunt freeze
- Create an account on Transifex
- In your home directory, create a file named
.transifex
and put your Transifex username and password into it in this format:user:password
- Run
grunt build
to download translations - Add the languages you want to support to
AVAILABLE_LANGUAGES
in unowallet.conf.json - you can use unowallet.conf.json.example as a template. The template file contains only the setting relevant to languages and does not replace the rest of variables required in that file (refer to Federeated Node documentation for additional details aboutunowallet.conf
).
See this link for more info.
The easiest way to develop locally is to install Federated Node in Docker environment. If you already have Unobtanium Core addrindex, Unoparty Server and Unoblock, then Unowallet can be manually installed using either of these approaches:
- Stand-alone Docker environment: refer to docker\start.sh in the Unowallet source code.
- Manually: example based on the Docker template for Unowallet on Ubuntu 16.04 is provided below.
- Clone repository and
cd
into result folder - NodeJS 9.x + NPM installation (if you don't have it):
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs
- Dowload dependencies in the root folder:
npm install
- Build:
npm run build
. The application will be stored in the./build
subdirectory. - Configure: Copy
unowallet.conf.json.example
to ./build/unowallet.conf.json
.
- Notice the
servers
parameter in JSON file. It's responsible for API endpoint(s). By default it'shttps://wallet.unowallet.io
- Run:
npm run serve
- Use: Visit
http://localhost:3000
- the
--dontcheckdeps
speeds up the process and avoids having to dogrunt freeze
everytime you make a change to a dependency during development - If you want to test your local version on another device (or let another person test something) use https://ngrok.com to setup a tunnel to your local environment
- If you want to use HTTPS, refer to additional steps required in the Unowallet Docker start script
npm install
triggers a prepublish
which is configured to do grunt build
and will bork if you haven't done a grunt freeze
after making changes to dependencies.
You can use npm update
to circumvent this during development.
You can run tests in your browser by doing the above steps and;
- open a seperate terminal and [from the root of the project, not from
build/
runserve -p 3001
(different port) - visit
http://localhost:3001/test/test.html
npm test
To work on unowallet without running a full node and supporting services locally, please see the scripts located in the local development folder.