BitDesert / MyNanoNinja

The perfect tool for Nano representatives lists and network statistics
https://mynano.ninja
GNU General Public License v3.0
37 stars 22 forks source link
cryptocurrency nano nanocurrency network-statistics nodejs statistics

Logo

My Nano Ninja

The perfect tool for Nano representatives lists and network statistics.

What is Nano?

Nano's goal is to become "a global currency with instantaneous transactions and zero fees over a secure, decentralized network." More information is available over on the official Nano repository.

Prerequisites

Installation

Clone the repository to your server and install the dependencies with npm i.

After that copy the ecosystem.config.sample.js as ecosystem.config.js and edit the environment variables accordingly.

To start up the application execute pm2 start ecosystem.config.js.

It is recommended to put the application behind a proper webserver like nginx, a configuration for that could look like this:

server {
        listen 80;
        listen [::]:80;

        server_name mynano.ninja;

        // location to your MyNanoNinja
        location / {
                proxy_pass http://127.0.0.1:4000;
        }

        // location to your accept-nano instance
        location /payment/ {
                rewrite ^/payment(/.*)$ $1 break;
                proxy_pass         http://127.0.0.1:5000;
        }
}

Open Source Licenses

This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.