Uni Docs

Uni Docs

  • Docs
  • API
  • Help

›Get Started

Learn About UniChain

  • Welcome
  • The ecosystem

UniChain Protocol

  • Overview
  • Key Concept
  • Account and Address
  • Witness Node
  • Reward Mechanism

Get Started

  • Setup environment
  • Run Local Network

UNW and Token

  • UNW
  • UniChain Token

Smart Contract

  • Your first smart contract
  • Deploy smart contract

Community

  • UniChain Open Source
  • Contribution Guide
  • Reporting Vulnerabilities

Example & Demo

  • Example & Demo

Archive Package

  • Util packages

Setup environment

Run UniChain Mainet Node

Download UniChain node

wget https://github.com/uniworld-io/unichain-core/releases/download/v1.0.1/unichain-core.jar

or click on this link

Please note that the binary above is build for Linux (Ubuntu) only. If you have another different OS, please rebuild the source code.

Download Relay node

wget https://github.com/uniworld-io/unichain-core/releases/download/v1.0.1/relay-node.jar

or click on this link

Build UniChain Node

Prepare dependencies

  • JDK 1.8 (JDK 1.9+ are not supported yet)
  • On Linux Ubuntu system (e.g. Ubuntu 16.04.4 LTS), ensure that the machine has Oracle JDK 8, instead of having Open JDK 8 in the system. If you are building the source code by using Open JDK 8, you may get fails

Build UniChain node

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.

Run unichain node

cd build/libs
java -jar unichain-core.jar
     _   _ _ __ (_) ___| |__   __ _(_)_ __  
    | | | | '_ \| |/ __| '_ \ / _` | | '_ \ 
    | |_| | | | | | (__| | | | (_| | | | | |
     \__,_|_| |_|_|\___|_| |_|\__,_|_|_| |_|

Run unichain node with customized config

cd build/libs
java -jar unichain-core.jar -c ./your_localtion/of_config_file.conf

If you are witness, run unichain node with --witness and -p options (-p: witness private key)

java -jar unichain-core.jar --witness -p your_witness_private_key
java -jar unichain-core.jar --witness -p f06f6fbea136162c1bfac04869ff94331ca2a9861f737e4b05b56527b0b8bf46
← Reward MechanismRun Local Network →
  • Run UniChain Mainet Node
    • Download UniChain node
    • Download Relay node
    • Build UniChain Node
    • Run unichain node
Uni Docs
Uni Platforms Services
UniChain PlatformUniBot Platform
Uni Applications Services
UniMe HubUniBot Offline
Work inquiries
Interested in working with us?[email protected][email protected][email protected][email protected]
Telegram Official
UniWorld EcosystemGroup DiscussionUniMe ChannelUniBot ChannelUniChain Channel
Copyright © 2021 UniWorld