Skip to content

bdehri/nulink-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Nulink Guide

Ön Koşullar

30GB kullanılabilir depolama 4GB RAM x86 mimarisi Sabit IP adresi Kullanılmayan TCP portu 9151, dolu olmadığından emin olun python3.9

Kurulum

Root kullanıcısı olarak çalışıyorum, isterseniz sudo kullanabilirsiniz.

  1. Python3.9 ve Pip Kurulumu
apt update
apt install software-properties-common
add-apt-repository ppa:deadsnakes/ppa
apt update
apt install python3.9
apt install python3.9-dev
apt install python3.9-venv
wget https://bootstrap.pypa.io/get-pip.py
apt install python3.9-distutils
python3.9 get-pip.py
apt-get install build-essential autoconf libtool pkg-config
  1. Keystore oluşturmak için geth'i kurun
cd /root
wget https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.10.23-d901d853.tar.gz
tar -xvzf geth-linux-amd64-1.10.23-d901d853.tar.gz
cd geth-linux-amd64-1.10.23-d901d853/
./geth account new --keystore ./keystore
  1. Nulink Yürütülebilir Dosyasını Kurun
cd ~
mkdir nulink
cd nulink
python3.9 -m pip install virtualenv
python3.9 -m virtualenv nulink-venv
source /root/nulink/nulink-venv/bin/activate
pip install bitarray && pip install cytoolz && pip install lru-dict && pip install pyethash && pip install pysha3
wget https://download.nulink.org/release/core/nulink-0.5.0-py3-none-any.whl
pip install nulink-0.5.0-py3-none-any.whl
  1. Testnet BNB'sini geth tarafından ilk adımda oluşturulan adrese almak için faucet'ten alın

  2. Nulink Yapılandırmasını Başlatın

mkdir keystore && cp /root/geth-linux-amd64-1.10.23-d901d853/keystore/* /root/nulink/keystore/
chmod -R 777 /root/nulink
nulink ursula init \
--signer keystore:///root/nulink/keystore \
--eth-provider https://data-seed-prebsc-2-s2.binance.org:8545 \
--network horus \
--payment-provider https://data-seed-prebsc-2-s2.binance.org:8545 \
--payment-network bsc_testnet \
--operator-address <GETH İLE ÖNCEKİ OLARAK OLUŞTURULAN ADRESINIZ> \
--max-gas-price 10000000000
  1. Nulink Düğümünü Başlatın
screen -S nulink
nulink ursula run --no-block-until-ready
  1. Bu adrese gidin: https://dashboard.testnet.nulink.org/

Worker cüzdanınızdan farklı bir cüzdana testnet tokenlarını alın ve nulink stake edin.

  1. Aynı sayfada worker cüzdan adresini kullanarak bond worker işlemini tamamlayın.(Worker cüzdanı daha önceki adımlarda Geth ile oluşturduğunuz cüzdandır. ) Worker'ınız bir süre sonra online olacaktır. Aşağıdaki komutları kullanarak node'unuzu yeniden başlatabilirsiniz.
screen -r -d nulink
ctrl + c

Node'un kapanması biraz vakit alacaktır. Terminal satırı tekrar geldiğinde aşağıdaki komutları çalıştırarak node'unuzu yeniden başlatabilirsiniz.

nulink ursula run --no-block-until-ready
  1. Node'unuzun online duruma geçmesi 30 ile 60 dakika arasında sürebilir. Eğer node'unuz online olmazsa tekrar başlatın

Prerequisites

  • 30GB available storage
  • 4GB RAM
  • x86 architecture
  • Static IP address
  • Exposed TCP port 9151, make sure it's not occupied
  • python3.9

Installation

I am running as root user, you can use sudo if you want.

  1. Install Python3.9 and Pip
apt update
apt install software-properties-common
add-apt-repository ppa:deadsnakes/ppa
apt update
apt install python3.9
apt install python3.9-dev
apt install python3.9-venv
wget https://bootstrap.pypa.io/get-pip.py
apt install python3.9-distutils
python3.9 get-pip.py
apt-get install build-essential autoconf libtool pkg-config
  1. Install geth to create keystore
cd /root
wget https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.10.23-d901d853.tar.gz
tar -xvzf geth-linux-amd64-1.10.23-d901d853.tar.gz
cd geth-linux-amd64-1.10.23-d901d853/
./geth account new --keystore ./keystore
  1. Install Nulink Executable
cd ~
mkdir nulink
cd nulink
python3.9 -m pip install virtualenv
python3.9 -m virtualenv nulink-venv
source /root/nulink/nulink-venv/bin/activate
pip install bitarray && pip install cytoolz && pip install lru-dict && pip install pyethash && pip install pysha3
wget https://download.nulink.org/release/core/nulink-0.5.0-py3-none-any.whl
pip install nulink-0.5.0-py3-none-any.whl
  1. Get testnet BNB from faucet to to the address generated by geth in the first step

  2. Initialize Nulink Config

mkdir keystore && cp /root/geth-linux-amd64-1.10.23-d901d853/keystore/* /root/nulink/keystore/
chmod -R 777 /root/nulink
nulink ursula init \
--signer keystore:///root/nulink/keystore \
--eth-provider https://data-seed-prebsc-2-s2.binance.org:8545 \
--network horus \
--payment-provider https://data-seed-prebsc-2-s2.binance.org:8545 \
--payment-network bsc_testnet \
--operator-address <YOUR_ADDRES_PREVIOUSLY_GENERATED_VIA_GETH> \
--max-gas-price 10000000000
  1. Start Nulink Node
screen -S nulink
nulink ursula run --no-block-until-ready
  1. Go to this address: https://dashboard.testnet.nulink.org/

Get testnet tokens to any other wallet than your worker wallet.

  1. At the same page, stake your tokens and bound your worker(Worker wallet is the wallet generated via geth in the previous steps.). Worker will come online in a while. You can use the commands below to restart your node.
screen -r -d nulink
ctrl + c

It might take a while to node to stop. After it stopped, you can use the command below to start it again.

nulink ursula run --no-block-until-ready

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published