All Projects → UlordChain → Ulord Sidechain

UlordChain / Ulord Sidechain

Licence: lgpl-3.0
Ulord-Sidechain is a Secondary chain for Ulord implemented in Java, uses USC protocol

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Ulord Sidechain

Go
Stellar's public monorepo of go code
Stars: ✭ 979 (+2230.95%)
Mutual labels:  blockchain
Cryptobeauty
Crypto Beauty 密碼女孩 - 你專屬的區塊鏈少女卡片創作交易平台. Live on the TRON Blockchain.
Stars: ✭ 37 (-11.9%)
Mutual labels:  blockchain
Dawn
global hosting, financial automation, server-less web components
Stars: ✭ 40 (-4.76%)
Mutual labels:  blockchain
Toy Block Explorer
A blockchain explorer written in Go to learn about building server-side applications that work with the Ethereum blockchain.
Stars: ✭ 36 (-14.29%)
Mutual labels:  blockchain
Blockchain Explorer
Stars: ✭ 984 (+2242.86%)
Mutual labels:  blockchain
Smart Contracts Example
Simple example of token market. Based on blockchain technology using Ethereum platform.
Stars: ✭ 37 (-11.9%)
Mutual labels:  blockchain
Iotregistry
The IOT Registry chaincode Hyperledger Fabric 0.6. This is compatible with the Chronicled.org Open Registry
Stars: ✭ 35 (-16.67%)
Mutual labels:  blockchain
Chainspace Prototype
Chainspace is a distributed ledger platform for high-integrity and transparent processing of transactions within a decentralized system.
Stars: ✭ 41 (-2.38%)
Mutual labels:  blockchain
Ette
EVM-based Blockchain Indexer, with historical data query & real-time notification support 😎
Stars: ✭ 37 (-11.9%)
Mutual labels:  blockchain
Holochain Rust
DEPRECATED. The Holochain framework implemented in rust with a redux style internal state-model.
Stars: ✭ 992 (+2261.9%)
Mutual labels:  blockchain
Etherkit
Stars: ✭ 36 (-14.29%)
Mutual labels:  blockchain
Stellar Contracts
Stellar contract examples and components
Stars: ✭ 36 (-14.29%)
Mutual labels:  blockchain
Crypto Dht
Blockchain over DHT in GO
Stars: ✭ 38 (-9.52%)
Mutual labels:  blockchain
Loyalty Points Evm Fabric
Sample use of Ethereum smart contract in Hyperledger Fabric
Stars: ✭ 35 (-16.67%)
Mutual labels:  blockchain
Ether sql
A python library to push ethereum blockchain data into an sql database.
Stars: ✭ 41 (-2.38%)
Mutual labels:  blockchain
Fabric Sdk Java
Stars: ✭ 982 (+2238.1%)
Mutual labels:  blockchain
Blockchain
区块链、交易所、币种、自媒体、高频交易策略
Stars: ✭ 37 (-11.9%)
Mutual labels:  blockchain
Cryptoinaction
CIA - CryptoInAction
Stars: ✭ 42 (+0%)
Mutual labels:  blockchain
Microstellar
An easy-to-use Go Library for the Stellar payment network
Stars: ✭ 41 (-2.38%)
Mutual labels:  blockchain
Bitcoinml
Bitcoin data-structures library for OCaml
Stars: ✭ 38 (-9.52%)
Mutual labels:  blockchain

Welcome to Ulord-Sidechain

About

Ulord-Sidechain a.k.a USC is a secondary chain for Ulord implemented in java. USC's goal is providing the value and functionality to the Ulord ecosystem by enabling smart-contracts, near instant payment confirmations and higher-scalability. USC smart contract platform supports 2-way peg with Ulord that also rewards Ulord miners via merge-mining, allowing them to actively participate in the Smart Contract revolution.

Sidechain techonology

Sidechain is not specifically referring to a certain chain, but refers to any chain that obeys the rules of the sidechain. The Ulord sidechain rule means that the Ulord sidechain can verify the data from the Ulord main chain, and through the Two-way Peg (2WP), the UlordToken is safely transferred between the mainchains and sidechains at a fixed exchange rate to achieve assets transfer between the chains.

The Two-way Peg is roughly divided into the following stages:

  • Send a 2WP transaction to lock the UlordToken in the main chain;
  • Wait for a confirmation period, making the transaction confirmed by enough blocks;
  • Transfer the UlordToken to the sidechain and provide proof of SPV or miner's vote;
  • Wait for a reorganization period to prevent double spending;
  • Unlock the UlordToken for normal use on the sidechain;

After a period of time, if the user wants to redeem the UlordToken to the main chain, the reverse action can be performed. The redemption operation provides a sidechain user with an exit mechanism to prevent users from being forced to bind assets to unwanted sidechain applications.
The Two-way Peg between Ulord main chain and sidechain

Each sidechain can operate in different networks, with independent economic patterns and corresponding DAPPs. Developers can construct a sidechain and then dock it to the Ulord main chain. While inheriting and reusing the Ulord main chain technology, they also share the pressure of the Ulord main chain.

Each DAPP deployed on the sidechain is allowed to have a unique set of ledgers. According to different application scenarios of the DAPP, the sidechain's consensus mechanism and block parameters are allowed to be reformed. And because the sidechain is an independent system, the serious problem of DAPP on the sidechain will only affect the sidechain itself and will not affect the Ulord main chain.

Ulord supports multiple sidechains, each of which can support one or more DAPPs. Sidechains can have their own virtual machines, publish smart contracts, and remain compatible with Ethereum virtual machines.

Installation

Ulord-Sidechain has a dependency of ulordj-thin, which contains the proof of work algorithm. In order to install Ulord-Sidechain we first need to download ulordj-thin and run 'make' from /hello directory contained inside src directory. The 'make' command will generate a lib file in the /usr/lib directory. NOTE: Currently Ulord-Sidechain is only supported in Linux and will be available for windows soon.

Next we need to download Pre-requisites

  1. Java 8 JDK Follow the steps to install Java. To check if installation went correctly, check the version with command: java-version. Then, as admin, modify /etc/enviroment adding JAVA_HOME="/usr/lib/jvm/java-8-oracle"
  2. IntelliJ IDEA Community Install this Java IDE

Get external dependencies

Before you can launch IntelliJ IDEA, there is an important step. Browse in your Ulord-Sidechain cloned directory and then launch configure.sh with the following terminal command: ./configure.sh. This will download and set important components (e.g. Gradle Wrapper).

When IntelliJ IDEA is launched you should have a window with different choices.

  1. Choose Import project.
  2. Browse in the USC downloaded code the file usc\build.gradle and select it. Click NEXT.
  3. Within the dialog select Use default gradle wrapper and then click Finish. Keep IntelliJ IDEA opened.

EA Build/Run configuration We need to create a new configuration profile to run the node from IDEA. Part of the configuration information that needs to be provided is related to the node itself, you can find a sample configuration file on: Ulord-Sidechain/ulord-testnet.conf. Some settings need to be initialized.

Next step is to create a new configuration profile on IDEA, that can be done by clicking on Run -> Edit Configurations. We need to set the following fields Main Class: co.usc.Start VM Options: -Dusc.conf.file=/path-to-usc-conf/ulord-testnet.conf Working directory: /path-to-code/Ulord-Sidechain Use classpath of module: uscj-core_main

Congratulations! Now you are ready to build and run the node... JRE need to be set as: Default (1.8 - SDK of 'usc-core_main' module)

Getting Started

Information about compiling and running an USC node can be found in the wiki.

License

USC is licensed under the GNU Lesser General Public License v3.0, also included in our repository in the COPYING.LESSER file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].