daemonxcx-explorer

1.1.5 • Public • Published

Installation :

  1. Running with yarn
yarn && yarn serve
  1. Building for web servers, like nginx, apache
yarn && yarn build
cp -r ./dist/* <ROOT_OF_WEB_SERVER>

Enable LCD for Ping.pub (do this on the config for your chain)

  1. Set enable = true in ./config/app.toml
###############################################################################
###                           API Configuration                             ###
###############################################################################

[api]

# Enable defines if the API server should be enabled.
enable = true

# Swagger defines if swagger documentation should automatically be registered.
swagger = false

# Address defines the API server to listen on.
address = "tcp://0.0.0.0:1317"

# MaxOpenConnections defines the number of maximum open connections.
max-open-connections = 1000
  1. add proxy server and enable CORS. NOTE: You must enable https as well.
server {
    server_name juno.api.ping.pub;
    listen 443;
    location / {
        add_header Access-Control-Allow-Origin *;
        add_header Access-Control-Max-Age 3600;
        add_header Access-Control-Expose-Headers Content-Length;

        proxy_pass http://<HOST>:1317;

    }
}
  1. config your blockchain in ./src/chains

Readme

Keywords

none

Package Sidebar

Install

npm i daemonxcx-explorer

Weekly Downloads

0

Version

1.1.5

License

GPL-2.0

Unpacked Size

11.7 MB

Total Files

501

Last publish

Collaborators

  • daemonxcx