Counterparty web wallet
Online Webwallet for Counterparty.
Originally based off of Carbonwallet (however virtually all the original code has been removed or rewritten).
Notably, Internet Explorer is not supported, due to its lack of full Content-Security-Policy support (even with IE 11).
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
.transifexand put your Transifex username and password into it in this format:
grunt buildto download translations
AVAILABLE_LANGUAGESin 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
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:
cdinto result folder
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - sudo apt-get install -y nodejs
npm run build. The application will be stored in the
serversparameter in JSON file. It's responsible for API endpoint(s). By default it's
npm run serve
--dontcheckdepsspeeds up the process and avoids having to do
grunt freezeeverytime you make a change to a dependency during development
npm installtriggers a
prepublishwhich is configured to do
grunt buildand will bork if you haven't done a
grunt freezeafter making changes to dependencies. You can use
npm updateto 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
serve -p 3001(different port) - visit
To work on counterwallet without running a full node and supporting services locally, please see the scripts located in the local development folder.