How to upgrade to UniChain version 2

Henry
Uni World
Published in
2 min readOct 16, 2021

UniChain will perform the hard fork to version 2 between October 20, 2021 and October 25, 2021 through the voting mechanism. UniChain has already contacted most of the current witnesses, the hard fork proposal will be broadcasted to the network on around October 20, 2021. If the proposal is accepted by most of the witnesses (⅔ witness agrees on the proposal), the network will switch to version 2. It is obligatory to all other nodes to update to a new version in order to keep the same chain. Nodes that run the old version will be separated from the network and may not sync from other nodes.

How to update nodes to version 2

  • Download full node and relay node packages from official repository: Full node, relay node
  • Move new packages to unichain version 1 folder. (replace old package if the same name)
  • Stop the unichain version 1
  • Start unichain version 2 (same command, ex: javar -jar unichain-core.jar)

If building from source code:

git clone https://github.com/uniworld-io/unichain-core.git

# checkout to stable version

cd unichain-core

./gradlew build

Binary files located in build/libs folder, Follow steps above to upgrade to new version

How to update wallet cli to version 2

For more information such as setup environment, API specs, new features …, please check the github and developer page or drop an email to developer team at dev@uniworld.io

--

--