napoliblockchain / napay

Sistema integrato per commercianti e utenti per l'utilizzo delle cryptovalute.
https://napay.napoliblockchain.it
GNU General Public License v3.0
0 stars 1 forks source link
desktop pos pwa tts wallet

Napay

Screenshot of NaPay PWA app

Napay è un'applicazione web nata per gestire facilmente i pagamenti in bitcoin e in TTS, il Token del Comune di Napoli.

Napay è stata sviluppata in quattro distinte applicazioni:

- Napay             -> Il nucleo dell'applicazioni
- Napay Pos         -> Il Punto di vendita per richiedere i pagamenti in bitcoin e TTS
- Napay Wallet      -> Il Wallet del commerciante per gestire i Token TTS
- Bolt              -> Il Wallet del cittadino per i Token TTS

Il nucleo dell'applicazione è stato ideato per lavorare al meglio su un desktop. Tuttavia, basta anche solo uno smartphone per iniziare a guadagnare bitcoin.

Screenshot of NaPay apps

Authors

Made with ❤️ by Sergio Casizzone

Features

Dashboard

Dashboard for administrators

PWA

License: MIT

how to install webapp

prerequisites

apt-get install php7.2-imap
apt-get install php7.2-bcmath // Per far funzionare correttamente il pairing
apt-get install php-gmp // Per far funzionare correttamente il pairing
apt install php-imagick php-gd
apt install tmux

DON'T FORGET TO RELOAD APACHE

sudo systemctl restart apache2

Install yii framework

cd /var/www
wget https://github.com/yiisoft/yii/releases/download/1.1.22/yii-1.1.22.bf1d26.tar.gz
tar -zxvf yii-1.1.22.bf1d26.tar.gz
mv yii-1.1.20.bf1d26 yii-1.1.22

Install Napay

cd /var/www
git clone https://github.com/napoliblockchain/napay.git
cd napay
./update.sh

Install package libraries

This repository contains all packages used by Napay applications.

cd /var/www
git clone https://github.com/jambtc/packages.git

Install Wallet-tts

cd /var/www
git clone https://github.com/napoliblockchain/wallet-tts.git
cd wallet-tts
./update.sh

Install POS

cd /var/www
git clone https://github.com/napoliblockchain/pos.git
cd pos
./update.sh

Install BOLT

cd /var/www
git clone https://github.com/napoliblockchain/bolt.git
cd bolt
./update.sh

Install a new and fresh mysql database

mysql -u root -p (password)
create database npay;
use npay;
source npay-vuoto.sql;

how to install docker electrum wallet daemon

Docker Electrum Wallet v. 3.3.3

git clone https://github.com/osminogin/docker-electrum-daemon.git
cd docker-electrum-daemon

Modificare Dockerfile con questo contenuto ENV ELECTRUM_VERSION 3.3.3

nano Dockerfile

quindi eseguire

docker-compose build
docker tag 638a2b976ddc napay/electrum:latest
docker rmi docker-electrum-daemon_electrum

how to install geth (for POA testing)

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum