ar-abed / sample

MIT License
0 stars 0 forks source link

Unichain

UINICHAIN CORE

UniChain is a high secure and scalable blockchain platform for Smart Society 5.0. This repos implements the core components of UniChain blockchain including unichain-core node, database and key management tools. For more information, please check out UniChain website and UniWolrd ecosystem.

Build application

Prepare dependencies

Build application 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.

Run application

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 --witness -p your_witness_private_key
java -jar unichain-core --witness -p d06f6fbea126162c1bfac04869cf94331ca2a98610737e4b05b56527b0b8bf45

Contributing

unichain-core is an open source project. It is the work of contributors. We appreciate your help! Thank you for all of our contributors. This project wouldn’t be what it is without you!

If you'd like to contribute to unichain-core, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base.

Pull requests

First of all, unichain-core follows gitflow workflow. Please open pull requests to the develop branch. Once approved, we will close the pull request and merge into master branch.

We are always happy to receive pull requests, and do our best to review them as fast as possible. Not sure if that typo is worth a pull request? Do it! We would appreciate it.

If your pull request is not accepted on the first try, don't be discouraged as it can be a possible oversight. Please explain your code as detailed as possible to make it easier for us to understand.

Create issues

Any significant improvement should be documented as a GitHub issue before anyone starts working on it.

When filing an issue, make sure to answer these three questions:

License