Online Webwallet for Monaparty.
Originally based off of Carbonwallet (however virtually all the original code has been removed or rewritten) and of Counterparty.
Desktop
Notably, Internet Explorer is not supported, due to its lack of full Content-Security-Policy support (even with IE 11).
Mobile
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
src/.bowerhashes):grunt freeze
.transifex and put your Transifex username and password into it in this format: user:passwordgrunt build to download translationsAVAILABLE_LANGUAGES in counterwallet.conf.json - you can use counterwallet.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 about counterwallet.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 Bitcoin Core addrindex, Counterparty Server and Counterblock, then Counterwallet can be manually installed using either of these approaches:
cd into result foldercurl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs
npm installnpm run build. The application will be stored in the ./build subdirectory.counterwallet.conf.json.example to ./build/counterwallet.conf.json.servers parameter in JSON file. It's responsible for API endpoint(s). By default it's https://wallet.counterwallet.ionpm run servehttp://localhost:3000--dontcheckdeps speeds up the process and avoids having to do grunt freeze everytime you make a change to a dependency during developmentnpm installnpm 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;
build/ run serve -p 3001 (different port)http://localhost:3001/test/test.htmlnpm testTo work on counterwallet without running a full node and supporting services locally, please see the scripts located in the local development folder.
Content type
Image
Digest
Size
521.5 MB
Last updated
about 4 years ago
docker pull monaparty/counterwallet