Sharders / sharder-chain

A blockchain-based multi-chain notary and storage network

Home Page:http://scan.sharder.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sharder

Sharder is a blockchain-based multi-chain storage network.

Project Structure

Java project,the UI uses the vue.

sharder-chain           // project root 
    |- classes/         // compiled class files 
    |- conf/            // configuration files 
    |- lib/             // 3rd party or required library 
    |- html/            // compiled UI html file
    |- logs/            // logs 
    |- sharder_*_db/    // sharder-chain database
    |- src/             // sharder-chain source code 
    |- ui/              // UI source code 
    |- run.sh           // shell for linux and osx 
    |- run.bat          // bat for windows 
    |- 3RD-PARTY-LICENSES  
    |- LICENSE 
    |- README.md 

NOTE:If you manually specify the compiled directory, you must then set the compiled directory to the above classes folder. Otherwise, the run.sh and run.bat files will not run normally.

Running the Sharder Client

You can use the following methods to run the client:

  • Method one

      1. Download the client from [official site](https://sharder.org) according to your OS.
      2. Install the client on your computer.
      3. Run the client program.
    
  • Method two

      1. Clone this project to your local disk.
      2. Modify the conf/sharder.properties to set the network attribute to `sharder.network=$NETWORK`. The values of $NETWORK are: `Testnet` or `Mainnet`, the default value is `Testnet`.
      3. Enter the UI folder and run `npm run build` to compile UI files, the location of compiled files is at `html` folder。
      4. Set the `src` as the source code folder, add the `conf` into project as the resource folder, finish the project compilation.
      5. Run the `Main` method of `org.conch.Conch` or execute the `run.sh/run.bat` to start the Sharder Client.
    

Open the ports

Client can join the network after open the follow ports:

Testnet
TCP/UDP: 7217,7218,4001,8088
HTTP:  7215,9001

Mainnet
TCP/UDP: 3217,3218,4001,8088
HTTP:  3215,9001

Start Mining

Please read the MINER-GUIDE.md

Follow Us


豆匣

豆匣是多链架构区块链存储网络。

工程说明

Java工程,UI使用vue。

sharder-chain           // 工程根目录 
    |- classes/         // 编译后的源文件 
    |- conf/            // 配置文件
    |- lib/             // 第三方或则依赖的代码库
    |- html/            // 编译后的UI文件
    |- logs/            // 日志 
    |- sharder_*_db/    // 数据库
    |- src/             // 源代码
    |- ui/              // UI源代码
    |- run.sh           // linux和osx操作系统的启动脚本 
    |- run.bat          // windows操作系统的启动脚本
    |- 3RD-PARTY-LICENSES  
    |- LICENSE 
    |- README.md 

注意:如果你手动指定编译目录的话,需要将编译目录设置到上面的classes文件夹,否则run.sh和run.bat无法正常运行。

运行豆匣客户端

你可以采用下面两种方式运行豆匣客户端:

  • 方式一

      1. 在[官网](https://sharder.org)下载对应操作系统的客户端
      2. 安装豆匣客户端
      3. 运行豆匣客户端
    
  • 方式二

      1. 将本工程克隆到本地磁盘
      2. 在conf/sharder.properties设置连入的网络`sharder.network=$NETWORK`。$NETWORK可以设置为`Testnet`或`Mainnet`,默认值为`Testnet`。
      3. 进入ui目录,运行`npm run build`编译ui文件。编译出的ui文件位于`html`文件夹。
      4. 将`src`设置为源文件目录,将`conf`加入工程作为资源目录,完成工程的编译。
      5. 运行org.conch.Conch中的main方法,或则运行`run.sh/run.bat`以启动客户端。
    

Open the ports

需要开放如下端口,节点才能连入网络:

测试网
TCP/UDP: 7217,7218,4001,8088
HTTP:  7215,9001

主网
TCP/UDP: 3217,3218,4001,8088
HTTP:  3215,9001

开始挖矿

请阅读MINER-GUIDE.md

关注我们

About

A blockchain-based multi-chain notary and storage network

http://scan.sharder.io

License:Other


Languages

Language:Java 69.4%Language:JavaScript 18.6%Language:Vue 10.5%Language:SCSS 1.1%Language:CSS 0.3%Language:Batchfile 0.0%Language:HTML 0.0%Language:Shell 0.0%