Go to file
2019-07-19 12:26:00 +08:00
Source Fri Jul 19 12:26:00 CST 2019 Source Update... 2019-07-19 12:26:00 +08:00
LICENSE update code 2019-07-12 20:45:46 +08:00
README.md update code 2019-07-12 20:45:46 +08:00
run-node.bat update code 2019-07-12 20:45:46 +08:00
run-nw.bat update code 2019-07-12 20:45:46 +08:00

TERA PLATFORM

Light-wallet (web-version)

https://terafoundation.org/web-wallet.html

  • Note: the light wallet has a decentralized core - i.e. it works with all available nodes in the network

Installing light wallet from setup on Windows:

Installing full node from setup on Windows:

https://gitlab.com/terafoundation/tera/raw/master/Bin/Full/tera_full_setup.exe

Installing full node from source code by steps:

Attention:

  • After the installation shown below, enter the address your server in the browser. Example: 12.34.56.78:8080
  • For mining You must have a static (public) IP address and an open port.
  • We recommend not storing private keys on remote servers.
  • We recommend putting an additional password on the private key ("Set password" button) - in this case the private key will be stored in file in encrypted form.
  • If you do not set http-password, you can access only from the local address: 127.0.0.1:8080
  • For remote access to the node only from the specified computer set the HTTP_IP_CONNECT constant (for example: "HTTP_IP_CONNECT": "122.22.33.11")
  • When installing, pay attention to the secp256k1 cryptographic library. There should be no errors when compiling it (with command: npm install)

Installing on Windows:

  1. Download and install Nodejs https://nodejs.org
  2. Download and install git https://git-scm.com/download/win
  3. Then run the commands (in program: cmd or PowerShell):
cd ..\..\..\
git clone https://gitlab.com/terafoundation/tera.git wallet
npm install --global --production windows-build-tools
npm install -g node-gyp
cd wallet/Source
npm install
node set httpport:8080 password:<secret word (no spaces)>
run-node.bat

If you want to run the wallet as a background process, then instead of the last command (run-node.bat), do the following:

npm install pm2 -g
pm2 start run-node.js

Opening ports:

netsh advfirewall firewall add rule name="Open 30000 port" protocol=TCP localport=30000 action=allow dir=IN

Updates

cd wallet
git reset --hard 
git clean -f
git pull 

Installation on Linux

CentOS 7:

yum install -y git
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
yum  install -y nodejs
yum install gcc gcc-c++
npm install pm2 -g
git clone https://gitlab.com/terafoundation/tera.git wallet
cd wallet/Source
npm install
node set httpport:8080 password:<secret word (no spaces)>
pm2 start run-node.js

open ports (all):

systemctl stop firewalld 
systemctl disable firewalld

Updates

cd wallet
sudo git reset --hard 
sudo git clean -f
sudo git pull 

UBUNTU 18.4:

apt-get install -y git
apt-get install -y nodejs
apt-get install -y npm
npm install pm2 -g
clone https://gitlab.com/terafoundation/tera.git wallet
apt install build-essential
apt group install "Development Tools"
cd wallet/Source
npm install
node set httpport:8080 password:<secret word (no spaces)>
pm2 start run-node.js

open ports:

sudo ufw allow 30000/tcp
sudo ufw allow 8080/tcp
sudo ufw allow 80/tcp

Updates

cd wallet
git reset --hard 
git pull 

MAIN NETWORK

Default values:

port:30000
httpport:8080

TEST NETWORK

Default values:

port:40000
httpport:8080

Launch:

cp -a Source SourceTest
cd SourceTest
node set-test httpport:8080 password:SecretWord
pm2 start run-test.js

Specification

  • Name: TERA
  • Consensus: PoW
  • Algorithm:  Terahash (sha3 + Optimize RAM hashing)
  • Total suplay: 1 Bln
  • Reward for block (befor 43 mln blocks): 1-20 coins, depends on network power (one billionth of the remainder of undistributed amount of coins and multiplied by the hundredth part of the square of the logarithm of the network power). With a block of 22.5 million, the power for the reward is limited to a constant of 43.
  • Block size 130 KB
  • Premine: 5%
  • Development fund: 1% of the mining amount
  • Block generation time: 1 second
  • Block confirmation time: 8 seconds
  • Speed: from 1000 transactions per second
  • Commission: free of charge
  • Cryptography: sha3, secp256k1
  • Protection against DDoS: PoW (hash calculation)
  • Platform: Node.JS

FAQs

Mining is possible only on a public IP

  • Check the presence of a direct ip-address (order from the provider)
  • Check if the port is routed from the router to your computer
  • Check the firewall (port must open on the computer)

Refs:

Articles:

Chinese

RUS

Эта же страница на русском