Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.
/ MyNanoNinja Public archive

The perfect tool for Nano representatives lists and network statistics

License

Notifications You must be signed in to change notification settings

BitDesert/MyNanoNinja

Repository files navigation


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

  • Webserver like nginx as a reverse proxy
  • MongoDB
  • Nano Node with RPC enabled
  • Node.js
  • PM2 npm install pm2 -g

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.