This is a public blockchain, the main feature of which is full decentralization through the use of pow consensus and serverless dapps, as well as very fast operation speed (peak performance of 1000 tps without sharding and more than 1 million with its use).
- To learn more about this project, we recommend reading the review article: Decentralized applications on TERA platform
- The current Tera 2.0 Protocol is based on the new JINN library
- The following describes how to install it on your device
- Starting from version 2450 you can use sharding, see more details in the discord on the #sharding channel https://discord.gg/Jm9TgkXHTU
- Note: the light wallet has a decentralized core - i.e. it works with all available nodes in the network
Attention:
- After the installation shown below, enter the address your server in the browser. Example: 12.34.56.78:8080
- 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.
- We recommend not storing private keys on remote servers.
- If you do not specify the http password for full-node, you can only access from the local address 127.0.0.1:8080 and only within 10 minutes after the launch of the node
- For remote access to the node only from the specified computer (white IP) 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)
- If you have the auto-update constant enabled ("USE_AUTO_UPDATE": 1), the update is performed automatically. If off, then you need to load it manually and restart the node (see section below).
- Download and install Nodejs https://nodejs.org
- Download and install git https://git-scm.com/download/win
- Then run the commands (in program: cmd or PowerShell):
cd ..\..\..\
git clone https://gitlab.com/terafoundation/tera2.git wallet
npm install --global --production windows-build-tools
npm install -g node-gyp
cd wallet/Source
npm install
node set httpport:8080 password:password_no_spaces
run-node.bat
Before starting the node, we recommend downloading a backup of the blockchain (zip file) at the link https://terawallet.org/files/jinn-db.zip Unpack the archive and put the DB folder in the wallet's DATA folder (with full replacement). Launch the node with the command:
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
netsh advfirewall firewall add rule name="Open 30000 port" protocol=TCP localport=30000 action=allow dir=IN
sudo apt-get update
apt-get install unzip
apt-get install -y git
apt-get install -y nodejs
apt-get install -y npm
npm install pm2 -g
git clone https://gitlab.com/terafoundation/tera2.git wallet
apt -y install build-essential
apt group install "Development Tools"
cd ~/wallet/Source
npm install
node set httpport:8080 password:password_no_spaces
sudo ufw allow 30000/tcp
sudo ufw allow 8080/tcp
sudo ufw allow 80/tcp
Before starting the node, we recommend downloading and installing a backup of the blockchain (zip file), run it:
cd ~/wallet/DATA
wget https://terawallet.org/files/jinn-db.zip
rm -r DB
unzip -o jinn-db.zip
Then launch the node with the command:
cd ~/wallet/Source
pm2 start run-node.js
yum install install unzip
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/tera2.git wallet
cd ~/wallet/Source
npm install
node set httpport:8080 password:password_no_spaces
systemctl stop firewalld
systemctl disable firewalld
Before starting the node, we recommend downloading and installing a backup of the blockchain (zip file), run it:
cd ~/wallet/DATA
wget https://terawallet.org/files/jinn-db.zip
unzip -o jinn-db.zip
Then launch the node with the command:
cd ~/wallet/Source
pm2 start run-node.js
cd ~/wallet/Source
node update.js
Default values:
port:30000
httpport:8080
Default values:
port:33000
httpport:8800
Launch:
cd ~/wallet
cp -a Source SourceJinn
cd SourceJinn
node set-jinn httpport:8800 password:password_no_spaces
pm2 start run-jinn.js
- Name: TERA
- Consensus: PoW
- Algorithm: Terahash (sha3 + Optimize RAM hashing)
- Total suplay: 1 Bln
- Reward for block: about 3 TERA (one billionth of the remainder of undistributed amount of coins (account 0) multiplied by 9)
- Block size 350 KB
- Premine: 5%
- Development fund: 1% of the mining amount
- Block generation time: 3 second
- Block confirmation time: 10 seconds
- Speed: 1000 transactions per second
- Commission: free of charge
- Cryptography: sha3, secp256k1
- Platform: Node.JS
- A public ip address is recommended for starting a node
- Check the firewall (port must open on the computer)
- Web: https://terafoundation.org
- Btt: https://bitcointalk.org/index.php?topic=4573801.0
- Telegram
- Discord
- Youtube
- White Paper
- DApp Paper
- New futures1
- New futures2
- API
- API-2 for Exchanges
- CONSTANTS
- DApps repo
- Nodes map
- Sharding-spec-RUS
- Network model
- Mining guide (chinese PDF)
- Tera White Paper (chinese PDF)
- Decentralized applications on TERA platform - Chinese
Кажется точка обращения записи чтения это jinn/tera/db/tera-db-file.js, Более высокоуровнево - это модули в папке jinn/src/db