Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.52 KB

porting.md

File metadata and controls

28 lines (20 loc) · 1.52 KB

Porting WalletShell for Other Currency

Note that this is only valid/possible for BLOC-service compatible currency (e.g. a TurtleCoin fork).

You can modify WalletShell to be used for your own BLOC-service compatible currency with few simple steps (assuming you already grab the source code by cloning our repo):

1. Update package.json

This step is important in order to avoid conflict with the original WalletShell (or other fork), when user happen to install both wallet version.

Edit package.json file, change the values of the following keys:

  • name
  • productName
  • appId

2. Update ws_config.js

Edit src/js/ws_config.js file, update config values to match your currency configuration/requirements.
Each config item are pretty much self explanatory and are commented for clarity.

3. Re-skining (Optional)

If you want your version of WalletShell looks different than what provided by default, you can do a few tweaks to re-skin/updating the appearance:

  • Edit src/css/common.css to modify general appearance (layout, sizing, color, etc)
  • Replace src/assets/image/* with your own images.

4. Rebuild/package your wallet for distribution

Please refer to the build guide on the repository main page.

Final Note

You are free to use, modify, redistribute, or do whatever you want to the WalletShell's code, as long as you comply with the license coming with WalletShell.