-
-
Notifications
You must be signed in to change notification settings - Fork 29
Hosting Web Wallet
blockinator edited this page May 3, 2019
·
2 revisions
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.
- 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:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
- Clone the repository:
git clone https://github.com/qwertycoin-org/webwallet-js.git
- Enter
webwallet-js
and run the following commands:
npm install
nodejs ./node_modules/typescript/bin/tsc --project tsconfig.json
nodejs build.js
The first line installs the required dependancies (typescript) and the second compiles the typescript code.
You can host the web wallet using Apache or Nginx. For this tutorial I will be using Apache.
- Install Apache
sudo apt-get update
sudo apt-get install apache2
sudo ufw allow 'Apache Full'
- Copy everything in the
src
directory to the html directory.
sudo cp -rf api.html config.ts lib/ service-worker-raw.js api.js d/ manifest.json service-worker-raw.ts api.ts index.html model/ translations/ assets/ index.js pages/ utils/ config.js index.ts providers/ workers/ /var/www/html
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:
- A01. | Contributing
- A02. | Getting Started
- A03. | Qwertycoin Community
- A04. | Qwertycoin Voting
- A05. | Qwertycoin API
- B01. | Generating a Wallet
- B02. | Making a Paper Wallet
- B03. | Wallet Backup
- B04. | Wallet Recovery
- B05. | Wallet Update
- B06. | Using CLI Wallet
- B07. | Using RPC Wallet
- B08. | Using GUI Wallet
- B09. | Using Zero Wallet
- B10. | Using Web Wallet
- B11. | Using Mobile Wallet
- B12. | RPC Wallet API
- B13. | Sign and verify messages
- C01. | Start Masternode
- C02. | Fix Sync Issues
- C03. | Load Checkpoints
- C04. | JSON RPC API
- C05. | HTTP RPC API
- D01. | XMR Stak Guide
- D02. | XMR Stak Linux Guide
- D03. | XMRIG Guide
- D04. | Mining with SBC
- D05. | Cloud Mining
- D06. | Mobile Mining
- D07. | Using a Mining Pool
- D08. | Creating a Mining Pool
- E01. | How to trade QWC on Crex24
- E02. | How to trade QWC on Bitexlive
- E03. | How to trade QWC on Bisq
- G01. | Hosting Block Explorer
- G02. | Hosting Faucet
- G03. | Hosting Web Wallet
- G04. | How to use the QWC Faucet