Hosting Web Wallet

The Qwertycoin web wallet does everything client-side to give the best privacy to users. The API servers are currently only used to optimize the communication with the daemon and compress the blockchain.

Install prerequisites

  • You will need to install node.js and NPM (node's package manager) to compile the web wallet. For Linux (Ubuntu) enter the code below:

Compilation

  • Clone the repository:

  • Enter webwallet-js and run the following commands:

The first line installs the required dependancies (typescript) and the second compiles the typescript code.

Deployment

You can host the web wallet using Apache or Nginx. For this tutorial I will be using Apache.

  • Install Apache

  • Copy everything in the src directory to the html directory.

Edit configuration

You will have to edit the file src/config.ts in order to change the API endpoint (point it to your daemon). Once that is complete you should now see the web wallet at your address like so:

Last updated

Was this helpful?