LAPO NETWORK PROTOCOLS - V 1.0

The core of the LAPO ecosystem.

Introduction

In 2008 Satoshi Nakamoto presented the first concept of the Blockchain in a White Paper. In 2009 from this idea he created the Bitcoin and the Blockchain officially was born.

Since then many new coins have been created, new technologies developed and the blockchain evolved providing a range of useful features and services. LAPO continues this evolution redesigning and improving those already tried and tested technologies to deliver an integrated, fast, privacy-centric, decentralized cryptographic payment ecosystem. At the core the LAPO Coin (LAX) is based on Bitcoin, DASH and PIVX.

LAX is the native token of the LAPO Network Protocol, all the transactions running on the network are expressed in LAX and the cost of the transaction is paid directly in LAX. The services offered in the LAPO ecosystem (ePlatform and eFinance) have a cost expressed in LAX and might require a locked minimal amount of LAX in order to work.

2 TIER BLOCKCHAIN MODEL

The classic Bitcoin approach is essentially a way to synchronize a distributed system through common transaction logs. It requires that each network node store the full copy of the transaction history. Obviously, this does not scale well, since eventually not every node will be able to store the full history.

LAPO Network Protocol works in a “2 Tier” Model where each tier has a specific function

The First Tier is used by the miner to secure the Blockchain using Lyra2zz Proof-of-Work algorithm until the 15th of March 2019. After that date the First Tier will work only on Proof-of-Stake mode inherited from PIVX.

The Second Tier is the “Masternode” level: Masternodes are used to process the transactions and the Blockchain. This approach produces the best performance possible using a robust and highly serviceable network in the most critical part of the Blockchain. The Masternode process all the Proof-of-Service algorithm.

MASTERNODE

Unlike Bitcoin's single-tier network, where all jobs on the network are performed by miners, LAPO Network Protocol utilizes a two-tier network. Certain network functions, such as creating new blocks, are handled by the miners. The second tier of the network consists of "Masternodes" which perform more critical tasks like: Lightning Payment Confirmation and governance functions. Masternodes require 1’000’000 LAX as collateral to prevent sybil attacks. That collateral can be spent or removed at any time, but doing so removes the associated Masternode from the network.

For running a Masternode we recommend: 2GB of RAM, 2GHZ of Processor, 40GB of HD, Ubuntu 18.04 and a dedicated IP.

Technical details

PoW Phase

LAPO Network Protocol implements a block reward method recognizing and rewarding the investment of the miners. LAPO Network Protocol gives to Miners 65% of the block reward, 35% will be collected from the Masternode.

Algorithm Lyra2zz PoW / See-Saw PoS
PoW Mining From block 1 to block 814'359
Initial block reward 2’500 LAX
Block generation 30 seconds
Transaction confirmation 6 blocks
Default P2P Port 31714
Default RPC Port 31718

PoS Phase

Starting from 16th of March 2019 LAPO Network Protocol will implement a new block reward method recognizing and rewarding the investment of the Masternode. LAPO Network Protocol rewards 25% of the block reward to Stakers with the remaining 75% being awarded to the Masternode.

Algorithm See-Saw PoS
PoS Mining From block 814'360 to the latest block
Initial block reward 2’000 LAX
Block reward adjustment Halving
Block generation 60 seconds
Transaction confirmation 6 blocks
Min. staking capital 200'000 LAX
Default P2P Port 31714
Default RPC Port 31718

Masternode

Setup a masternode

The LAPO Masternodes are necessary to execute the LAPO transactionS and to help KEEP the LAPO network stable. To run a Masternode you must have 1'000'000 (1 Million) LAX in your wallet and block them as a Masternode guarantee.

FIRST OF ALL, BUY YOUR VPS SERVER

To run a LAPO Masternode you must have a server (at home or a more stable Virtual Private Server) with at least the following requirements:

  • 1 Static IPv4 or IPv6
  • 1 vCore, 2 GB RAM
  • at least 40 GB of disk space
  • Ubuntu Server 18.04 LTS installed

We suggest to buy the VPS here: OVH or you can buy a VPS secured and with already installed the Masternode directly from: masternode@lapo.io (cost: 120 USD / Year).

STEP 1 - SECURE YOUR SERVER

Securing your machine is the most important and delicate part of the process.
Once you have logged in to your machine with root user, you must type the following commands:

apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot

If asked always says "Y" / "YES" to the upgrades.

Then wait for 2 to 5 minutes and log back in to your server to continue with the setup. Once the server is back online and you are inside with your root user, type:

useradd -d /home/lapomn -m lapomn
sudo passwd lapomn

When the console will ask you "Enter new UNIX password:" just type the password that you want to use. It is recommended to use a difficult password with at least some numbers, special characters and uppercase.

adduser lapomn admin
pico /etc/ssh/sshd_config

Go to the end of the file and in the line "PermitRootLogin yes" change it to "PermitRootLogin no"
Then press CTRL + X and when prompted to save type Y and ENTER.

service sshd restart
exit

STEP 2 - SETUP THE DESKTOP WALLET

Now we need to setup the wallet. First check that you have the most up to date version of the wallet at build.lapo.io. Open it and wait until it is synchronised. REMEMBER TO DO A BACKUP OF YOUR WALLET, a tutorial is available here: How to backup the wallet.

Thank's to our "Masternode wizard setup" you just need to follow the wizard!

Go to "Masternode" tab and click on "Wizard" button on the bottom right

Click on "continue", if necessary unlock you wallet by inserting your password. The wizard will automatically create the 1M collateral transaction, just wait and the "TxHash" and "Idx" fields will be filled.

Now give a reference to your Masternode (you can call it whatever you prefer) and put your VPS IP (ex: 211.45.1.23)
You will now receive the "Shared key" (ex: gd67G8gGzuggd543uiu3z36733zGTZftsdt), copy it to your notepad, you need it later!
Click on "Done" to restart the wallet.

STEP 3 - INSTALL THE MASTERNODE

Now that the wallet is restarting and the server is secured, you must log in to your server using the "lapomn" user (or any other username you have chosen). Once inside the server, type:

wget https://lapo.io/files/masternode.sh
chmod +x masternode.sh
./masternode.sh

When prompted just write the password of your "lapomn" user.
The script will ask you if you want to paste the "Lapo Masternode Private Key" or to leave it blank to generate a new one. For that reason go to your notepad where you pasted the "Shared key" from the desktop and paste it there.

STEP 4 - START THE MASTERNODE

We're almost done! When the wallet has restarted and finished synchronising go on "Masternodes" tab and you will see a list like:
Just click on "Start all" button and your MASTERNODE will start running! If you have more than one Masternode then hover the mouse over the Masternode entry you wish to start and "right click" then press "start alias".

Congratulations, you just started your first LAPO Masternode!