Please or Register to create posts and topics.

BuildYourOwnBank.Online

Please check it out and let me know what you all think? Buildyourownbank.online  explains the Resilience Protocol and it is a revolutionary decentralized banking system that enables peer-to-peer financial transactions without traditional intermediaries.  This system utilizes swarm redistribution for a guaranteed basic income. Scales infinitely. Very clean implementation. 

If you are interested in starting your own resilience server?  Here are installation instructions for your vps!

mkdir resilience
git clone https://gitlab.com/bipedaljoe/proxy-py.git
cd proxy-py
gcc -o /usr/local/bin/resilience resilience.c
cp proxy.py ../
cp routes.py ../
cp federation.py ../

mkdir /var/www/resilience
cp index.html /var/www/resilience
cp background.png /var/www/resilience

cd ..
pip install flask
DOMAIN=example.net python proxy.py

To install and run (may need to also install Python)

Then systemd daemon

[Unit]
Description=Resilience Proxy Server
After=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/root
Environment=”DOMAIN= example.net”
ExecStart=/usr/bin/python3 /root/proxy.py
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

Then the server is running. Need to setup the Nginx also. Something similar to:

server {
    listen 80;
    server_name example.net;
    root /var/www/resilience;
    index index.html;
   
    location / {
        try_files $uri $uri/ /index.html;
    }
   
    location /api/ {
        proxy_pass http://127.0.0.1:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

And then integrate with your SSL certificates. If you use letsencrypt and certbot:

sudo certbot –nginx -d  example.net

and you may need to install something like

sudo apt install certbot python3-certbot-nginx first