-
-
Notifications
You must be signed in to change notification settings - Fork 29
Hosting Block Explorer
blockinator edited this page May 3, 2019
·
1 revision
You can install the Qwertycoin daemon from precompiled sources or compile it yourself. Guides for both are below.
- You can download the precompiled binaries here. Enter your downloaded file through your terminal and run
qwertycoind
with an open port like so:
./qwertycoind --restricted-rpc --enable-cors=* --enable-blockchain-indexes --rpc-bind-ip=0.0.0.0 --rpc-bind-port=8197
- This is a guide for compiling on Linux (Ubuntu). For other operating systems you can find a guide here.
sudo apt-get install build-essential cmake git
- You will need Cmake version 3.10 to compile Qwertycoin. You can find a guide on installing that here.
- After installing the dependencies you can run this simple script:
git clone --recurse-submodules https://github.com/qwertycoin-org/qwertycoin
cd ./qwertycoin
mkdir ./build
cd ./build
cmake -DBUILD_ALL:BOOL=TRUE ..
cmake --build . --config Release
-
If all went well, it will complete successfully, and you will find all your binaries in the
./build/src
directory. -
Finally run
qwertycoind
with an open port like so:
./qwertycoind --restricted-rpc --enable-cors=* --enable-blockchain-indexes --rpc-bind-ip=0.0.0.0 --rpc-bind-port=8197
You can host the block explorer with Apache or Nginx. For this guide I will be using Apache.
- Install Apache
sudo apt-get update
sudo apt-get install apache2
sudo ufw allow 'Apache Full'
- Next download the block explorer code
git clone https://github.com/qwertycoin-org/qwertycoin-blockchain-explorer.git
-
Change the 'api' variable in config.js to point to your daemon. Also change the '$apiNode=' variable in /api/index.php to point the API urls to your daemon.
-
Once that is done copy all the files to the html directory.
sudo cp -rf api/ config.js css/ favicon.ico index.html js/ LICENSE pages/ q/ README.md /var/www/html/
- Your block explorer can now be seen at your servers address.
Extra:
- You can change the look of your block explorer by playing around with the
css
files.
- 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