An open source RPC Blockchain Explorer using Typescript and TypeORM.
- Reverse Proxy for security & SSL
- Node.js
- Postgress (default)
- Redis
- coin daemon with RPC
sudo -u postgres psql
postgres=# create database gbcexplorer;
postgres=# create user myuser with encrypted password 'password';
postgres=# grant all privileges on database gbcexplorer to myuser;
git clone https://github.com/Calvario/gbc-explorer.git gbc-explorer
cd gbc-explorer
npm install
npm run build
Copy the ".env.example" to ".env" and edit it according your environment.
npm install -g pm2
pm2 start packages/frontend/dist/cluster.js --name "GBC-Explorer Frontend"
pm2 start packages/api/dist/cluster.js --name "GBC-Explorer API"
pm2 start packages/backend/dist/server.js --name "GBC-Explorer Backend"
The wallet daemon need to be running with RPC & txindex
coind --daemon
Configuration example
whitelist=127.0.0.1
txindex=1
server=1
rpcport=33987
rpcallowip=127.0.0.1
rpcbind=127.0.0.1
rpcuser=user
rpcpassword=password
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See LICENSE.txt for a copy of the GNU General Public License, or visit https://www.gnu.org/licenses/.