Installation
Prepare the server
# Add superuser
adduser lgtn# Add user to sudo group
usermod -aG sudo lgtn
# Switch to the new user by using the command:
su lgtn
cd /home/lgtnAutomatic Installation
source <(curl -s https://raw.githubusercontent.com/NodersUA/Scripts/main/fleek-lightning)After staking, start the node:
sudo systemctl daemon-reload && \
sudo systemctl enable lightning
sudo mkdir -p /var/log/lightning
sudo touch /var/log/lightning/output.log
sudo touch /var/log/lightning/diagnostic.log
sudo systemctl restart lightning.serviceManual Installation
Open ports:
Update, upgrade and install requirements:
Clone repository and build:
Key generator
Backup your keys from `/home/lgtn/.lightning/keystore/`
Config.toml
Create a service:
Set up the Metamask browser extension and Stake
Open the Metamask settings, located in the drop-down (top-right menu options). Set the following property values:
Network Name:
Fleek Network TestnetRPC URL:
https://rpc.testnet.fleek.network/rpc/v0Chain ID:
59330Currency symbol:
tFLK
Before proceeding, make sure to have the Fleek Network selected as the metamask network. Once confirmed, visit the Faucet website
In the Faucet website, you have to click the Connect Wallet
Once Connect Wallet is ready, proceed to Mint tFLK and wait until the balance of the account in your Metamask increases. You need to have tFLK before proceeding. Be patient.
Once tFLK balance is available, click in the Stake button. You'll be required to provided the following details from your node:
Node Public Key
Consensus Public Key
Server IP Address
You can get the details quickly by running the node details script in the terminal connected to your machine or server where the node is set up and running, as follows:
Restart the service:
Last updated
Was this helpful?